yumapro  21.10T-9
YumaPro SDK
Initialization and Cleanup

Initialize and cleanup the NCX Library. More...

Collaboration diagram for Initialization and Cleanup:


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...

Detailed Description

Initialize and cleanup the NCX Library.

Mandatory to use.

Function Documentation

◆ ncx_cleanup()

void ncx_cleanup ( void  )

Cleanup the NCX library.

Must be called once after ncx_init has been called

Cleanup the NCX library.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ncx_init()

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

netconfdTRUE if this is netconfd-pro process calling FALSE if some other process
savestrTRUE 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
dleveldesired debug output level
logtstampsTRUE if log should use timestamps FALSE if not; not used unless 'log' is present
collapse_submodsTRUE if OK to move submod defs to main mod FALSE if not
xpath_backptrsTRUE if XPath backptr caching needed; FALSE if not; used only by the server
startmsglog_debug2 message to print before starting; NULL if not used;
argcCLI argument count for bootstrap CLI
argvarray of CLI parms for bootstrap CLI
status of the initialization procedure
Here is the caller graph for this function: