![]() |
yumapro
23.10T-2
YumaPro SDK
|
Initialize and cleanup the NCX Library. More...
Functions | |
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 NCX Library.
Mandatory to use.
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 |