From the version 0.10.111 (currently only in the devel branch) the function ly_ctx_get_node2() was removed. The same functionality is now provided by the function lys_find_xpath(), so please use that one instead. Also, lyd_get_node() was renamed to lyd_find_xpath() and lyd_get_node2() to lyd_find_instance().
From the version 0.10.111 (currently only in the devel branch) the function ly_ctx_get_node2() was removed. The same functionality is now provided by the function lys_find_xpath(), so please use that one instead. Also, lyd_get_node() was renamed to lyd_find_xpath() and lyd_get_node2() to lyd_find_instance().