CESNET / libyang-cpp

C++ bindings for the libyang library
https://gerrit.cesnet.cz/q/project:CzechLight/libyang-cpp
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Wrapper missing for lys_find_xpath_atoms #9

Closed irfanHaslanded closed 1 year ago

irfanHaslanded commented 1 year ago

I was wondering if there is a plan to add wrappers for the remaining libyang api such as lys_find_xpath_atoms

jktjkt commented 1 year ago

We are not actively working on adding C++ bindings for all functions that are exported by libyang. We're happy to review patches which implement the missing functionality. If you need some help getting your first patch merged, just ask.

Looking at the docs, this function seems pretty low-level, so I'm curious: what do you need it for, btw?

irfanHaslanded commented 1 year ago

I am trying to do something similar to what sysrepo sr_modinfo_collect_xpath does, in cpp for sysrepo-gnxi