yumapro  24.10-1
YumaPro SDK
Loading...
Searching...
No Matches

YANG deviation statement handling. More...

Collaboration diagram for YANG Deviation:

Functions

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

Detailed Description

YANG deviation statement handling.

Special module parsing is done so the deviations are loaded before the modules being deviated.

Function Documentation

◆ ncx_find_save_deviations()

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

Parameters
devinamedeviation module name with no path prefix or file extension
deviationQaddress of Q of ncx_save_deviations_t structs to find the entry
Returns
pointer to deviation or NULL if not found
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ncx_ok_skip_deviation_module()

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.

Parameters
modnamemodule to check
save_deviationsQQ of ncx_save_deviations_t to check
Returns
TRUE if OK to skip this module for deviations processing; FALSE not OK
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ncx_save_deviation_module()

void ncx_save_deviation_module ( ncx_module_t mod)

Save the deviations for the YANG module.

Parameters
modmodule to save in deviation_moduleQ
Here is the call graph for this function:
Here is the caller graph for this function: