Skip to content

Questions about transtion 2.x -> 3.x #2465

Open

Description

@w00931306

Dear Michal,

We are going to move from libyang 2.x to 3.x. There are several intertface change that we cannot find enough docs to support coding. For example, this time in log.h,
ly_errapptag ( struct ly_ctx const* ctx )
ly_errcode ( struct ly_ctx const* ctx )
ly_errmsg ( struct ly_ctx const* ctx )
ly_errpath ( struct ly_ctx const* ctx )
ly_last_errmsg ( )
ly_strerrcode ( )
ly_vecode ( struct ly_ctx const* ctx )
have been deleted, and added ly_last_logmsg ( ), ly_strerr ( ).

how should we find the replace function for the deleted functions?

Best wishes,

Ciao

Activity

  1. michalvasko commented on Jan 9, 2026

    @michalvasko
    Member

    I think there are docs mentioning all these changes, just look at the transition manual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:questionIssue is actually a question.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions