summaryrefslogtreecommitdiff
path: root/lib/openbsd-queue.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-02-04 22:56:50 +0100
committerDavid Lamparter <equinox@diac24.net>2019-02-19 21:41:39 +0100
commit591f57cff3e035439dff7c39a9bd688892fa5363 (patch)
treee52873cf2ad95b7cf029809244991dac48ad8e82 /lib/openbsd-queue.h
parent3ec9556728c7fe17bb1c47e62abf75bbff29502f (diff)
lib: yang: use common yang_ctx_new_setup()
After creating a libyang context, we need to hook up our callback to use embedded built-in modules. I hadn't added this to the yang translator code. Also, ly_ctx_new fails if the search directory doesn't exist. Since that's not a hard error for us, work around that and ignore inaccessible YANG_MODELS_DIR. (This is needed for snap packages.) Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/openbsd-queue.h')
0 files changed, 0 insertions, 0 deletions