yumapro
24.10-2
YumaPro SDK
|
Initialize and cleanup the Global Callbacks. More...
Functions | |
void | glob_init (void) |
Init the global callback handler. More... | |
void | glob_cleanup (void) |
Cleanup the global callback handler. More... | |
void | glob_set_edit_enabled (boolean val) |
Set the Global EDIT callbacks enabled flag. More... | |
boolean | glob_get_edit_enabled (void) |
Get the Global EDIT callbacks enabled flag. More... | |
void | glob_set_get2cb (getcb_fn2_t get2_cbfn) |
Set the current Global GET2 callback function. More... | |
getcb_fn2_t | glob_get_get2cb (void) |
Get the current Global GET2 callback function. More... | |
void | glob_set_get_enabled (boolean val) |
Set the Global EDIT callbacks enabled flag. More... | |
boolean | glob_get_get2_enabled (void) |
Get the Global EDIT callbacks enabled flag. More... | |
void | glob_set_rpc_enabled (boolean val) |
Set the Global RPC callbacks enabled flag. More... | |
boolean | glob_get_rpc_enabled (void) |
Get the Global RPC callbacks enabled flag. More... | |
void | glob_set_action_enabled (boolean val) |
Set the Global Action callbacks enabled flag. More... | |
boolean | glob_get_action_enabled (void) |
Get the Global Action callbacks enabled flag. More... | |
void | glob_set_remote_get_enabled (boolean val) |
Set the Global SIL-SA GET2 callbacks enabled flag. More... | |
boolean | glob_get_remote_get2_enabled (void) |
Get the Global SIL-SA GET2 callbacks enabled flag. More... | |
void | glob_set_remote_get2cb (getcb_fn2_t get2_cbfn) |
Set remote GET2 wrapper handler. More... | |
getcb_fn2_t | glob_get_remote_get2cb (void) |
Get the remote Global GET2 callback handler. More... | |
void | glob_set_remote_edit_enabled (boolean val) |
Set the Remote Global EDIT callbacks enabled flag. More... | |
boolean | glob_get_remote_edit_enabled (void) |
Get the Remote Global EDIT callbacks enabled flag. More... | |
status_t | ncx_init (boolean netconfd, boolean savestr, log_debug_t dlevel, boolean logtstamps, boolean collapse_submods, boolean xpath_backptrs, const char *startmsg, int argc, char *argv[]) |
Initialize the NCX library. More... | |
void | ncx_cleanup (void) |
Cleanup the NCX library. More... | |
Initialize and cleanup the Global Callbacks.
Initialize and cleanup the NCX Library.
Mandatory to use.
void glob_cleanup | ( | void | ) |
Cleanup the global callback handler.
INTERNAL API
boolean glob_get_action_enabled | ( | void | ) |
Get the Global Action callbacks enabled flag.
INTERNAL API
boolean glob_get_edit_enabled | ( | void | ) |
Get the Global EDIT callbacks enabled flag.
INTERNAL API
boolean glob_get_get2_enabled | ( | void | ) |
Get the Global EDIT callbacks enabled flag.
INTERNAL API
getcb_fn2_t glob_get_get2cb | ( | void | ) |
Get the current Global GET2 callback function.
INTERNAL API
Get the current Global GET2 callback function value
boolean glob_get_remote_edit_enabled | ( | void | ) |
Get the Remote Global EDIT callbacks enabled flag.
INTERNAL API
boolean glob_get_remote_get2_enabled | ( | void | ) |
Get the Global SIL-SA GET2 callbacks enabled flag.
INTERNAL API: Needed to setup remote GET2 Global callbacks
getcb_fn2_t glob_get_remote_get2cb | ( | void | ) |
Get the remote Global GET2 callback handler.
INTERNAL API: Needed to setup remote GET2 Global callbacks Used by getcb to get the getcb_fn2_t function
boolean glob_get_rpc_enabled | ( | void | ) |
Get the Global RPC callbacks enabled flag.
INTERNAL API
void glob_init | ( | void | ) |
Init the global callback handler.
INTERNAL API
void glob_set_action_enabled | ( | boolean | val | ) |
Set the Global Action callbacks enabled flag.
INTERNAL API
val | TRUE if Global Action callbacks is enabled |
void glob_set_edit_enabled | ( | boolean | val | ) |
Set the Global EDIT callbacks enabled flag.
INTERNAL API
val | TRUE if Global EDIT callbacks is enabled |
void glob_set_get2cb | ( | getcb_fn2_t | get2_cbfn | ) |
Set the current Global GET2 callback function.
INTERNAL API
Set the current Global GET2 callback function value
get2_cbfn | Global GET callbacks function |
void glob_set_get_enabled | ( | boolean | val | ) |
Set the Global EDIT callbacks enabled flag.
INTERNAL API
val | TRUE if Global EDIT callbacks is enabled |
void glob_set_remote_edit_enabled | ( | boolean | val | ) |
Set the Remote Global EDIT callbacks enabled flag.
INTERNAL API
val | TRUE if Remote Global EDIT callbacks is enabled |
void glob_set_remote_get2cb | ( | getcb_fn2_t | get2_cbfn | ) |
Set remote GET2 wrapper handler.
INTERNAL API: Needed to setup remote GET2 Global callbacks Used by agt_sil to setup Remote GET2 wrapper
get2_cbfn | remote wrapper for GET2 callbacks function |
void glob_set_remote_get_enabled | ( | boolean | val | ) |
Set the Global SIL-SA GET2 callbacks enabled flag.
INTERNAL API: Needed to setup remote GET2 Global callbacks
val | TRUE if Global SIL-SA GET2 callbacks is enabled |
void glob_set_rpc_enabled | ( | boolean | val | ) |
Set the Global RPC callbacks enabled flag.
INTERNAL API
val | TRUE if Global RPC callbacks is enabled |
void ncx_cleanup | ( | void | ) |
Cleanup the NCX library.
Must be called once after ncx_init has been called
status_t ncx_init | ( | boolean | netconfd, |
boolean | savestr, | ||
log_debug_t | dlevel, | ||
boolean | logtstamps, | ||
boolean | collapse_submods, | ||
boolean | xpath_backptrs, | ||
const char * | startmsg, | ||
int | argc, | ||
char * | argv[] | ||
) |
Initialize the NCX library.
Must be called once before any other NCX library functions are used
netconfd | TRUE if this is netconfd-pro process calling FALSE if some other process |
savestr | TRUE if parsed description strings that are not needed by the agent at runtime should be saved anyway. Converters should use this value. FALSE if uneeded strings should not be saved. Embedded agents should use this value |
dlevel | desired debug output level |
logtstamps | TRUE if log should use timestamps FALSE if not; not used unless 'log' is present |
collapse_submods | TRUE if OK to move submod defs to main mod FALSE if not |
xpath_backptrs | TRUE if XPath backptr caching needed; FALSE if not; used only by the server |
startmsg | log_debug2 message to print before starting; NULL if not used; |
argc | CLI argument count for bootstrap CLI |
argv | array of CLI parms for bootstrap CLI |