63#define SID_DICT_SERVER 1
65#define SID_DICT_FIRST 2
113 const xmlChar *identifier,
430 boolean external_only,
status_t
global error return code
Definition: status_enum.h:219
status_t sid_dict_walk_tree(uint32 id, sid_dict_walk_cbfn_t cbfn, void *cookie)
Walk the specified tree to generate item entries.
Definition: sid_dict.c:1810
boolean sid_dict_remove_feature(uint32 id, ncx_feature_t *feat)
Remove a feature identity object from the SID item dict.
Definition: sid_dict.c:1405
status_t sid_dict_init(void)
Initialize the YANG SID dictionary.
Definition: sid_dict.c:767
void sid_dict_cleanup(void)
Cleanup the YANG SID dictionary.
Definition: sid_dict.c:820
status_t sid_dict_find_identity(uint32 id, ncx_sid_t sid, ncx_identity_t **ident)
Find an identity item in the SID item dictionary.
Definition: sid_dict.c:1297
void sid_dict_write_dump(void)
Print the sorted dictionary contents WRITE TREE.
Definition: sid_dict.c:1881
status_t sid_dict_new(uint32 *id)
Allocate a new SID tree for a session.
Definition: sid_dict.c:2154
void sid_dict_cleanup_write(void)
Cleanup the YANG SID dictionary for writing a SID DICT file.
Definition: sid_dict.c:853
uint32 sid_dict_count(void)
Get the current count of SID numbers.
Definition: sid_dict.c:2136
status_t sid_dict_add_data(uint32 id, obj_template_t *obj, boolean internal)
Store a data item in the SID item dict.
Definition: sid_dict.c:877
boolean sid_dict_remove_module(uint32 id, ncx_module_t *mod)
Remove a module object from the SID item dict.
Definition: sid_dict.c:1097
boolean sid_dict_remove_data(uint32 id, obj_template_t *obj)
Remove a data object from the SID item dict.
Definition: sid_dict.c:941
status_t sid_dict_find_feature(uint32 id, ncx_sid_t sid, ncx_feature_t **feat)
Find a feature item in the SID item dictionary.
Definition: sid_dict.c:1450
status_t sid_dict_init_write(void)
Initialize the YANG SID dictionary for writing a SID DICT file.
Definition: sid_dict.c:796
status_t sid_dict_find_data(uint32 id, ncx_sid_t sid, obj_template_t **obj)
Find a data item in the SID item dictionary.
Definition: sid_dict.c:991
status_t sid_dict_add_module_write(ncx_module_t *mod, uint32 *retcnt)
Store all the entries for a module for writing.
Definition: sid_dict.c:1674
ncx_sid_t sid_dict_highest(void)
Get the highest SID number.
Definition: sid_dict.c:2121
status_t sid_dict_add_identity(uint32 id, ncx_identity_t *ident, boolean internal)
Store an identity item in the SID item dict.
Definition: sid_dict.c:1188
status_t sid_dict_add_feature(uint32 id, ncx_feature_t *feat, boolean internal)
Store a feature item in the SID item dict.
Definition: sid_dict.c:1341
status_t sid_dict_add_module(uint32 id, ncx_module_t *mod, boolean internal)
Store a module item in the SID item dict.
Definition: sid_dict.c:1034
void sid_dict_free(uint32 id)
Free a SID tree previously allocated with sid_dict_new.
Definition: sid_dict.c:2191
boolean sid_dict_remove_identity(uint32 id, ncx_identity_t *ident)
Remove an identity object from the SID item dict.
Definition: sid_dict.c:1252
void sid_dict_dump(uint32 id)
Print the sorted dictionary contents.
Definition: sid_dict.c:1838
void sid_dict_xml_wr(ses_cb_t *scb, xml_msg_hdr_t *mhdr, obj_template_t *obj, boolean external_only, xmlns_id_t parent_nsid, ncx_sid_t start_sid, ncx_sid_t stop_sid, int32 indent)
Print the sorted dictionary contents for the yumaworks-yang-cbor get-yang-sid-info RPC operation.
Definition: sid_dict.c:2068
status_t sid_dict_find_module(uint32 id, ncx_sid_t sid, ncx_module_t **mod)
Find a module item in the SID item dictionary.
Definition: sid_dict.c:1143
status_t sid_dict_walk_module_write(sid_dict_walk_cbfn_t cbfn, void *cookie)
Walk the SID WRITE tree to generate item entries.
Definition: sid_dict.c:1779
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
ncx_sid_ns_t
enumeration for YANG SID namespace identifiers
Definition: ncxtypes.h:1821
NETCONF Session Common definitions module.
boolean(* sid_dict_walk_cbfn_t)(ncx_sid_t sid, ncx_sid_ns_t sid_ns, const xmlChar *identifier, boolean is_obsolete, uint8 sid_flags, void *cookie)
SIDGEN function callback.
Definition: sid_dict.h:111
YANG feature entry.
Definition: ncxtypes.h:1057
YANG identity entry.
Definition: ncxtypes.h:1143
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1180
One YANG data-def-stmt.
Definition: obj.h:1284
Session Control Block.
Definition: ses.h:759
Common Encoding Message Header No longer XML specific!! Used by JSON and CBOR parsing as well!...
Definition: xml_msg.h:476
XML and JSON Message send and receive support.