yumapro
24.10-3
YumaPro SDK
|
YANG deviation statement handling. More...
Functions | |
ncx_save_deviations_t * | ncx_find_save_deviations (const xmlChar *deviname, dlq_hdr_t *deviationQ) |
Find the specified deviname in the deviationQ . More... | |
void | ncx_save_deviation_module (ncx_module_t *mod) |
Save the deviations for the YANG module. More... | |
boolean | ncx_ok_skip_deviation_module (const xmlChar *modname, dlq_hdr_t *save_deviationsQ) |
Check if it is OK to skip this YANG module for deviations. More... | |
YANG deviation statement handling.
Special module parsing is done so the deviations are loaded before the modules being deviated.
ncx_save_deviations_t * ncx_find_save_deviations | ( | const xmlChar * | deviname, |
dlq_hdr_t * | deviationQ | ||
) |
Find the specified deviname
in the deviationQ
.
Used by YANG compiler only
deviname | deviation module name with no path prefix or file extension |
deviationQ | address of Q of ncx_save_deviations_t structs to find the entry |
boolean ncx_ok_skip_deviation_module | ( | const xmlChar * | modname, |
dlq_hdr_t * | save_deviationsQ | ||
) |
Check if it is OK to skip this YANG module for deviations.
modname | module to check |
save_deviationsQ | Q of ncx_save_deviations_t to check |
void ncx_save_deviation_module | ( | ncx_module_t * | mod | ) |
Save the deviations for the YANG module.
mod | module to save in deviation_moduleQ |