yumapro
24.10-3
YumaPro SDK
|
Support YANG to CBOR SID File. More...
Functions | |
status_t | sid_file_init (void) |
Initialize the SID FIle Parser Module. More... | |
void | sid_file_cleanup (void) |
Cleanup the SID FIle Parser Module. More... | |
val_value_t * | sid_file_load (ncx_module_t *mod, status_t *res) |
| |
status_t | sid_file_apply (uint32 sid_tree_id, val_value_t *sidfile, ncx_module_t *mod) |
Apply the SID file contents to specified YANG module. More... | |
Support YANG to CBOR SID File.
Implement obj_template_t schema to val_value conversion of SID files.
status_t sid_file_apply | ( | uint32 | sid_tree_id, |
val_value_t * | sidfile, | ||
ncx_module_t * | mod | ||
) |
Apply the SID file contents to specified YANG module.
For augments, the expanded nodes in the augmented tree will be updated. The sid_dict registry will be updated for each schema item.
sid_tree_id | YANG SID Tree ID to use (from sid_dict) | |
sidfile | value tree representing a SID file to apply. value treated as const. | |
[out] | mod | module to load SID file for
|
void sid_file_cleanup | ( | void | ) |
Cleanup the SID FIle Parser Module.
status_t sid_file_init | ( | void | ) |
Initialize the SID FIle Parser Module.
val_value_t * sid_file_load | ( | ncx_module_t * | mod, |
status_t * | res | ||
) |
Just creates a val_value_t representing the JSON contents Does not apply the SIDs to the module
mod | module to load SID file for | |
[out] | res | address of return status
|