yumapro
24.10-1
YumaPro SDK
|
YANG include statement processing. More...
Functions | |
ncx_include_t * | ncx_new_include (void) |
Malloc and initialize the fields in a ncx_include_t. More... | |
void | ncx_free_include (ncx_include_t *inc) |
Free a ncx_include_t. More... | |
ncx_include_t * | ncx_find_include (const ncx_module_t *mod, const xmlChar *submodule) |
Search the includeQ for a specified submodule name. More... | |
YANG include statement processing.
Load include module when include-stmt consumed. Also resolve submodule.
ncx_include_t * ncx_find_include | ( | const ncx_module_t * | mod, |
const xmlChar * | submodule | ||
) |
Search the includeQ for a specified submodule name.
mod | module to search (mod->includeQ) |
submodule | submodule name to find |
void ncx_free_include | ( | ncx_include_t * | inc | ) |
Free a ncx_include_t.
Scrub the memory in a ncx_include_t by freeing all the sub-fields and then freeing the entire struct itself The struct must be removed from any queue it is in before this function is called.
inc | ncx_include_t data structure to free |
ncx_include_t * ncx_new_include | ( | void | ) |
Malloc and initialize the fields in a ncx_include_t.