63#define SID_DICT_SERVER 1
65#define SID_DICT_FIRST 2
92 const xmlChar *identifier,
392 boolean external_only,
status_t
global error return code
Definition: status_enum.h:219
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:1379
status_t sid_dict_init(void)
Initialize the YANG SID dictionary.
Definition: sid_dict.c:741
void sid_dict_cleanup(void)
Cleanup the YANG SID dictionary.
Definition: sid_dict.c:794
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:1271
void sid_dict_write_dump(void)
Print the sorted dictionary contents WRITE TREE.
Definition: sid_dict.c:1795
status_t sid_dict_new(uint32 *id)
Allocate a new SID tree for a session.
Definition: sid_dict.c:2068
void sid_dict_cleanup_write(void)
Cleanup the YANG SID dictionary for writing a SID DICT file.
Definition: sid_dict.c:827
uint32 sid_dict_count(void)
Get the current count of SID numbers.
Definition: sid_dict.c:2050
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:851
boolean sid_dict_remove_module(uint32 id, ncx_module_t *mod)
Remove a module object from the SID item dict.
Definition: sid_dict.c:1071
boolean sid_dict_remove_data(uint32 id, obj_template_t *obj)
Remove a data object from the SID item dict.
Definition: sid_dict.c:915
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:1424
status_t sid_dict_init_write(void)
Initialize the YANG SID dictionary for writing a SID DICT file.
Definition: sid_dict.c:770
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:965
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:1648
ncx_sid_t sid_dict_highest(void)
Get the highest SID number.
Definition: sid_dict.c:2035
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:1162
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:1315
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:1008
void sid_dict_free(uint32 id)
Free a SID tree previously allocated with sid_dict_new.
Definition: sid_dict.c:2105
boolean sid_dict_remove_identity(uint32 id, ncx_identity_t *ident)
Remove an identity object from the SID item dict.
Definition: sid_dict.c:1226
void sid_dict_dump(uint32 id)
Print the sorted dictionary contents.
Definition: sid_dict.c:1752
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:1982
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:1117
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:1709
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:1748
NETCONF Session Common definitions module.
boolean(* sid_dict_walk_cbfn_t)(ncx_sid_ns_t sid_ns, const xmlChar *identifier, boolean is_obsolete, void *cookie)
SIDGEN function callback.
Definition: sid_dict.h:91
YANG feature entry.
Definition: ncxtypes.h:1001
YANG identity entry.
Definition: ncxtypes.h:1084
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1118
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:417
XML and JSON Message send and receive support.