Added configure option CLICON_PLUGIN_DLOPEN_GLOBAL for config of dlopen()

This commit is contained in:
Olof hagsand 2023-07-06 15:50:36 +02:00
parent ad61570a3d
commit 90b7a550b2
5 changed files with 44 additions and 18 deletions

View file

@ -53,7 +53,8 @@ module clixon-config {
description
"Added options:
CLICON_CONFIG_EXTEND
Moved datastore-format datastype to clixon-lib
CLICON_PLUGIN_DLOPEN_GLOBAL
Moved datastore-format datatype to clixon-lib
Released in Clixon 6.3";
}
revision 2023-03-01 {
@ -1003,6 +1004,18 @@ module clixon-config {
as well as the CLIgen callbacks.
See https://clixon-docs.readthedocs.io/en/latest/backend.html#plugin-callback-guidelines";
}
leaf CLICON_PLUGIN_DLOPEN_GLOBAL {
type boolean;
default false;
description
"Local/global flag for dlopen as described in the man page.
This applies to the opening of all clixon plugins (backend/cli/netconf/restconf)
when loading the shared .so file with dlopen.
If false: Symbols defined in this shared object are not made available to resolve
references in subsequently loaded shared objects (default).
If true: The symbols defined by this shared object will be made available for symbol res
olution of subsequently loaded shared objects.";
}
leaf CLICON_YANG_AUGMENT_ACCEPT_BROKEN {
type boolean;
default false;