yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
YANG Library Status

Check if any module errors occurred when loading the library Check for module errors after modules are loaded. More...

Collaboration diagram for YANG Library Status:

Functions

boolean ncx_any_mod_errors (void)
 Check if any of the loaded modules are loaded with non-fatal errors. More...
 
boolean ncx_save_descr (void)
 Get the value of the save description strings variable. More...
 
uint32 ncx_mod_revision_count (xml_msg_hdr_t *msg, const xmlChar *modname)
 Find all the ncx_module_t structs in the ncx_modQ that have the same module name. More...
 
uint32 ncx_mod_revision_count_que (xml_msg_hdr_t *msg, dlq_hdr_t *modQ, const xmlChar *modname)
 Find all the ncx_module_t structs in the specified queue that have the same module name. More...
 
void dump_modQ (dlq_hdr_t *modQ)
 dump module Q contents [name, revision] for debugging More...
 

Detailed Description

Check if any module errors occurred when loading the library Check for module errors after modules are loaded.

Function Documentation

◆ dump_modQ()

void dump_modQ ( dlq_hdr_t *  modQ)

dump module Q contents [name, revision] for debugging

Parameters
modQQ of ncx_module_t to use

◆ ncx_any_mod_errors()

boolean ncx_any_mod_errors ( void  )

Check if any of the loaded modules are loaded with non-fatal errors.

Returns
TRUE if any modules are loaded with non-fatal errors; FALSE if all modules present have a status of NO_ERR
Here is the caller graph for this function:

◆ ncx_mod_revision_count()

uint32 ncx_mod_revision_count ( xml_msg_hdr_t msg,
const xmlChar *  modname 
)

Find all the ncx_module_t structs in the ncx_modQ that have the same module name.

Check all the submodules as well!!!

Parameters
msgxml_msg_hdr_t to use
modnamemodule name
Returns
count of modules that have this name (exact match)
Here is the call graph for this function:

◆ ncx_mod_revision_count_que()

uint32 ncx_mod_revision_count_que ( xml_msg_hdr_t msg,
dlq_hdr_t *  modQ,
const xmlChar *  modname 
)

Find all the ncx_module_t structs in the specified queue that have the same module name.

Parameters
msgxml_msg_hdr_t to use
modQqueue of ncx_module_t structs to check
modnamemodule name to find
Returns
count of modules that have this name (exact match)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ncx_save_descr()

boolean ncx_save_descr ( void  )

Get the value of the save description strings variable.

Returns
TRUE descriptive strings should be save
FALSE descriptive strings should not be saved
Here is the caller graph for this function: