65#define OBJ_KEYOBJ(KO) (KO)->keyobj
68#define OBJ_DEF_CONFIG TRUE
71#define OBJ_DEF_MANDATORY FALSE
75#define OBJ_NUM_XPATH_BACKPTRS 2
78#define OBJ_DEF_SIL_PRIORITY 255
79#define OBJ_MIN_SIL_PRIORITY 1
80#define OBJ_MAX_SIL_PRIORITY 255
86#define OBJ_FL_CLONE bit0
89#define OBJ_FL_CLI_TEXT_BLOCK bit1
95#define OBJ_FL_AUGCLONE bit2
98#define OBJ_FL_DELETED bit3
101#define OBJ_FL_CDIRTY bit4
104#define OBJ_FL_TOP bit5
109#define OBJ_FL_EMPTY bit6
112#define OBJ_FL_SEEN bit7
118#define OBJ_FL_RDIRTY bit7
121#define OBJ_FL_DIFF bit8
124#define OBJ_FL_HIDDEN bit9
127#define OBJ_FL_ROOT bit10
130#define OBJ_FL_PASSWD bit11
133#define OBJ_FL_CLI bit12
136#define OBJ_FL_XSDLIST bit13
139#define OBJ_FL_KEY bit14
142#define OBJ_FL_ABSTRACT bit15
145#define OBJ_FL_CONFSET bit16
148#define OBJ_FL_CONFIG bit17
151#define OBJ_FL_MANDSET bit18
154#define OBJ_FL_MANDATORY bit19
157#define OBJ_FL_UNIQUE bit20
160#define OBJ_FL_XPATH bit21
163#define OBJ_FL_QNAME bit22
166#define OBJ_FL_SCHEMAINST bit23
169#define OBJ_FL_SECURE bit24
172#define OBJ_FL_VERY_SECURE bit25
175#define OBJ_FL_CLI_EQUALS_OK bit26
178#define OBJ_FL_SIL_DELETE_CHILDREN_FIRST bit27
181#define OBJ_FL_BLOCK_CREATE bit28
184#define OBJ_FL_BLOCK_UPDATE bit29
187#define OBJ_FL_BLOCK_DELETE bit30
190#define OBJ_FL_RPC_ROOT bit31
196#define OBJ_FL_DEF_NPCON bit0
202#define OBJ_FL_ENABLED_CHK bit1
207#define OBJ_FL_ENABLED bit2
212#define OBJ_FL_DUP_LOCAL bit3
218#define OBJ_FL_EXCLUSIVE_RPC bit4
223#define OBJ_FL_SIL_FORCE_REPLAY bit5
228#define OBJ_FL_SIL_FORCE_REPLACE_REPLAY bit6
235#define OBJ_FL_DATAPATH bit7
241#define OBJ_FL_REMOTE_GET2 bit8
246#define OBJ_FL_FREE_UNITS bit9
251#define OBJ_FL_FREE_TYPDEF bit10
255#define OBJ_FL_EDIT2_MODE bit11
261#define OBJ_FL_SKIP_LEAFREF bit12
267#define OBJ_FL_YANG_HASH bit13
272#define OBJ_FL_YANG_REHASH bit14
277#define OBJ_FL_CBSET_MALLOCED bit15
280#define OBJ_FL_GENERIC bit16
284#define OBJ_FL_DEF_DONE bit17
288#define OBJ_FL_DEF bit18
291#define OBJ_FL_LIBMODE bit19
294#define OBJ_FL_SMIV2_OID bit20
297#define OBJ_FL_NO_NVSTORE bit21
300#define OBJ_FL_NO_SIL_DELETE_CHILDREN_FIRST bit22
303#define OBJ_FL_YANGMAP_SOURCE bit23
306#define OBJ_FL_YANGMAP_TARGET bit24
309#define OBJ_FL_YANGMAP_CHILD bit25
312#define OBJ_FL_YANGMAP_KEY bit26
315#define OBJ_FL_DUP_LOCAL_DONE bit27
322#define OBJ_FL_TRANS_HOOK_SET bit29
328#define OBJ_FL_GET_WHEN_SET bit30
334#define OBJ_FL_GET_WHEN bit31
343#define OBJ_FL_AIO_GET2 bit0
352#define OBJ_FL_AIO_PARENT bit1
358#define OBJ_FL_AIO_GET2_XML bit2
364#define OBJ_FL_AIO_GET2_JSON bit3
370#define OBJ_FL_DEF_HOOK bit4
376#define OBJ_FL_OC_HASHED_VALUE bit5
382#define OBJ_FL_BAN_NOLOCK_GET bit6
388#define OBJ_FL_MOUNT_POINT bit7
395#define OBJ_FL_DESC_MOUNT_POINT bit8
412#define OBJ_FL_SIL_BUSY bit0
414#define OBJ_TYPE(OBJ) (OBJ)->objtype
416#define OBJ_INDEX(OBJ) (OBJ)->index
421#define OBJ_SET_TOP(OBJ) (OBJ)->flags |= OBJ_FL_TOP
423#define OBJ_SET_SIL_BUSY(OBJ) (OBJ)->silflags |= OBJ_FL_SIL_BUSY
425#define OBJ_CLEAR_SIL_BUSY(OBJ) (OBJ)->silflags &= ~OBJ_FL_SIL_BUSY
427#define OBJ_IS_SIL_BUSY(OBJ) ((OBJ)->silflags & OBJ_FL_SIL_BUSY)
429#define OBJ_GET_CBSET(OBJ) (OBJ)->cbset
433#define OBJ_SET_REMOTE_GET2(OBJ) (OBJ)->xflags |= OBJ_FL_REMOTE_GET2
435#define OBJ_CLEAR_REMOTE_GET2(OBJ) (OBJ)->xflags &= ~OBJ_FL_REMOTE_GET2
437#define OBJ_HAS_REMOTE_GET2(OBJ) ((OBJ)->xflags & OBJ_FL_REMOTE_GET2)
439#define OBJ_SET_GET2CB(OBJ, CB) (OBJ)->get2cb = CB
441#define OBJ_GET_GET2CB(OBJ) (getcb_fn2_t)(OBJ)->get2cb
443#define OBJ_SET_EDIT2_MODE(OBJ) (OBJ)->xflags |= OBJ_FL_EDIT2_MODE
445#define OBJ_IS_EDIT2_MODE(OBJ) ((OBJ)->xflags & OBJ_FL_EDIT2_MODE)
449#define OBJ_SET_SKIP_LEAFREF(OBJ) (OBJ)->xflags |= OBJ_FL_SKIP_LEAFREF
451#define OBJ_IS_SKIP_LEAFREF(OBJ) ((OBJ)->xflags & OBJ_FL_SKIP_LEAFREF)
456#define OBJ_SET_YANG_HASH(OBJ) (OBJ)->xflags |= OBJ_FL_YANG_HASH
458#define OBJ_IS_YANG_HASH(OBJ) ((OBJ)->xflags & OBJ_FL_YANG_HASH)
462#define OBJ_SET_YANG_REHASH(OBJ) (OBJ)->xflags |= OBJ_FL_YANG_REHASH
464#define OBJ_IS_YANG_REHASH(OBJ) ((OBJ)->xflags & OBJ_FL_YANG_REHASH)
468#define OBJ_SET_CBSET_MALLOCED(OBJ) (OBJ)->xflags |= OBJ_FL_CBSET_MALLOCED
470#define OBJ_IS_CBSET_MALLOCED(OBJ) ((OBJ)->xflags & OBJ_FL_CBSET_MALLOCED)
472#define OBJ_CLEAR_CBSET_MALLOCED(OBJ) (OBJ)->xflags &= ~OBJ_FL_CBSET_MALLOCED
475#define OBJ_SET_GENERIC(OBJ) (OBJ)->xflags |= OBJ_FL_GENERIC
477#define OBJ_IS_GENERIC(OBJ) ((OBJ)->xflags & OBJ_FL_GENERIC)
482#define OBJ_SET_DEF_DONE(OBJ) (OBJ)->xflags |= OBJ_FL_DEF_DONE
485#define OBJ_IS_DEF_DONE(OBJ) ((OBJ)->xflags & OBJ_FL_DEF_DONE)
488#define OBJ_SET_DEF(OBJ) (OBJ)->xflags |= OBJ_FL_DEF
491#define OBJ_IS_DEF(OBJ) ((OBJ)->xflags & OBJ_FL_DEF)
494#define OBJ_SET_LIBMODE(OBJ) (OBJ)->xflags |= OBJ_FL_LIBMODE
496#define OBJ_IS_LIBMODE(OBJ) ((OBJ)->xflags & OBJ_FL_LIBMODE)
498#define OBJ_USER_FLAGS(OBJ) (OBJ)->uflags
501#define OBJ_KEY_OBJ(K) (K)->keyobj
506#define OBJ_EDIT_TXID(OBJ) (OBJ)->edit_txid
508#define OBJ_EXTR_MUST_TXID(OBJ) (OBJ)->must_txid
509#define OBJ_EXTR_WHEN_TXID(OBJ) (OBJ)->when_txid
510#define OBJ_EXTR_LEAFREF_TXID(OBJ) (OBJ)->leafref_txid
514#define OBJ_SET_NO_NVSTORE(OBJ) (OBJ)->xflags |= OBJ_FL_NO_NVSTORE
516#define OBJ_IS_NO_NVSTORE(OBJ) ((OBJ)->xflags & OBJ_FL_NO_NVSTORE)
520#define OBJ_SET_YANGMAP_SOURCE(OBJ) \
521 (OBJ)->xflags |= OBJ_FL_YANGMAP_SOURCE
523#define OBJ_IS_YANGMAP_SOURCE(OBJ) \
524 ((OBJ)->xflags & OBJ_FL_YANGMAP_SOURCE)
528#define OBJ_SET_YANGMAP_TARGET(OBJ) \
529 (OBJ)->xflags |= OBJ_FL_YANGMAP_TARGET
531#define OBJ_IS_YANGMAP_TARGET(OBJ) \
532 ((OBJ)->xflags & OBJ_FL_YANGMAP_TARGET)
535#define OBJ_SET_YANGMAP_CHILD(OBJ) \
536 (OBJ)->xflags |= OBJ_FL_YANGMAP_CHILD
538#define OBJ_IS_YANGMAP_CHILD(OBJ) \
539 ((OBJ)->xflags & OBJ_FL_YANGMAP_CHILD)
542#define OBJ_SET_YANGMAP_KEY(OBJ) \
543 (OBJ)->xflags |= OBJ_FL_YANGMAP_KEY
545#define OBJ_IS_YANGMAP_KEY(OBJ) \
546 ((OBJ)->xflags & OBJ_FL_YANGMAP_KEY)
553#define OBJ_YANGMAP_CB(OBJ) (OBJ)->yangmap_cb
556#define OBJ_SET_DUP_LOCAL_DONE(OBJ) \
557 (OBJ)->xflags |= OBJ_FL_DUP_LOCAL_DONE
559#define OBJ_IS_DUP_LOCAL_DONE(OBJ) \
560 ((OBJ)->xflags & OBJ_FL_DUP_LOCAL_DONE)
563#define OBJ_RPC_SUPPORTED(OBJ) (OBJ)->def.rpc->supported
567#define OBJ_SET_TRANS_HOOK_SET(OBJ) (OBJ)->xflags |= OBJ_FL_TRANS_HOOK_SET
568#define OBJ_IS_TRANS_HOOK_SET(OBJ) ((OBJ)->xflags & OBJ_FL_TRANS_HOOK_SET)
569#define OBJ_CLEAR_TRANS_HOOK_SET(OBJ) (OBJ)->xflags &= ~OBJ_FL_TRANS_HOOK_SET
573#define OBJ_SET_AIO_GET2(OBJ) (OBJ)->xflags2 |= OBJ_FL_AIO_GET2
574#define OBJ_IS_AIO_GET2(OBJ) ((OBJ)->xflags2 & OBJ_FL_AIO_GET2)
575#define OBJ_CLEAR_AIO_GET2(OBJ) (OBJ)->xflags2 &= ~ OBJ_FL_AIO_GET2
578#define OBJ_SET_AIO_PARENT(OBJ) (OBJ)->xflags2 |= OBJ_FL_AIO_PARENT
579#define OBJ_IS_AIO_PARENT(OBJ) ((OBJ)->xflags2 & OBJ_FL_AIO_PARENT)
580#define OBJ_CLEAR_AIO_PARENT(OBJ) (OBJ)->xflags2 &= ~ OBJ_FL_AIO_PARENT
583#define OBJ_SET_AIO_GET2_XML(OBJ) (OBJ)->xflags2 |= OBJ_FL_AIO_GET2_XML
584#define OBJ_IS_AIO_GET2_XML(OBJ) ((OBJ)->xflags2 & OBJ_FL_AIO_GET2_XML)
586#define OBJ_SET_AIO_GET2_JSON(OBJ) (OBJ)->xflags2 |= OBJ_FL_AIO_GET2_JSON
587#define OBJ_IS_AIO_GET2_JSON(OBJ) ((OBJ)->xflags2 & OBJ_FL_AIO_GET2_JSON)
590#define OBJ_SET_DEF_HOOK(OBJ) (OBJ)->xflags2 |= OBJ_FL_DEF_HOOK
591#define OBJ_IS_DEF_HOOK(OBJ) ((OBJ)->xflags2 & OBJ_FL_DEF_HOOK)
592#define OBJ_CLEAR_DEF_HOOK(OBJ) (OBJ)->xflags2 &= ~OBJ_FL_DEF_HOOK
593#define OBJ_GET_DEF_HOOK_CB(OBJ) (ncx_def_hook_cbfn_t)(OBJ)->def_hook_cb
596#define OBJ_SET_OC_HASHED_VALUE(OBJ) (OBJ)->xflags2 |= OBJ_FL_OC_HASHED_VALUE
597#define OBJ_IS_OC_HASHED_VALUE(OBJ) ((OBJ)->xflags2 & OBJ_FL_OC_HASHED_VALUE)
600#define OBJ_SET_BAN_NOLOCK_GET(OBJ) (OBJ)->xflags2 |= OBJ_FL_BAN_NOLOCK_GET
601#define OBJ_IS_BAN_NOLOCK_GET(OBJ) ((OBJ)->xflags2 & OBJ_FL_BAN_NOLOCK_GET)
605#define OBJ_SET_MOUNT_POINT(OBJ) (OBJ)->xflags2 |= OBJ_FL_MOUNT_POINT
606#define OBJ_IS_MOUNT_POINT(OBJ) ((OBJ)->xflags2 & OBJ_FL_MOUNT_POINT)
609#define OBJ_SET_ROOTCB(OBJ, ROOTCB) (OBJ)->rootcb = ROOTCB
610#define OBJ_GET_ROOTCB(OBJ) (OBJ)->rootcb
613#define OBJ_SET_DESC_MOUNT_POINT(OBJ) (OBJ)->xflags2 |= OBJ_FL_DESC_MOUNT_POINT
614#define OBJ_IS_DESC_MOUNT_POINT(OBJ) ((OBJ)->xflags2 & OBJ_FL_DESC_MOUNT_POINT)
646typedef enum obj_type_t_ {
746#define OBJ_TYP_LAST OBJ_TYP_ACTION
757typedef enum obj_augtype_t_ {
767typedef struct obj_key_t_ {
775typedef struct obj_defval_tk_t_ {
783typedef struct obj_unique_comp_t_ {
792typedef struct obj_unique_t_ {
803typedef struct obj_container_t_ {
826typedef struct obj_leaf_t_ {
862typedef struct obj_leaflist_t_ {
896typedef struct obj_list_t_ {
930typedef struct obj_choice_t_ {
946typedef struct obj_case_t_ {
965typedef struct obj_uses_t_ {
982typedef struct obj_refine_t_ {
1028typedef struct obj_rpcio_t_ {
1048typedef struct obj_rpc_t_ {
1071typedef struct obj_augment_t_ {
1093typedef struct obj_notif_t_ {
1114typedef struct obj_iffeature_ptr_t_ {
1121typedef struct obj_errmsg_filter_t_ {
1129typedef struct obj_errmsg_parm_t_ {
1142typedef struct obj_errmsg_t_ {
1160typedef struct obj_oid_t_ {
1174typedef struct obj_template_t_ {
1239 struct xpath_pcb_t_ *xpath_backptr[OBJ_NUM_XPATH_BACKPTRS];
1308typedef struct obj_metadata_t_ {
1315 boolean typdef_copy;
1320typedef enum obj_deviate_arg_t_ {
1330typedef struct obj_deviate_t_ {
1391typedef struct obj_deviation_t_ {
1428 boolean nonconfig_warn);
1431#define OBJ_SET_TESTFLAGS(OBJ, FL) (OBJ)->testflags = FL
1433#define OBJ_GET_TESTFLAGS(OBJ) (OBJ)->testflags
1435#define OBJ_SET_DESC_TESTFLAGS(OBJ, FL) (OBJ)->desc_testflags = FL
1437#define OBJ_GET_DESC_TESTFLAGS(OBJ) (OBJ)->desc_testflags
1439#define OBJ_UPDATE_DESC_TESTFLAGS(OBJ, FL) (OBJ)->desc_testflags |= FL
1496 const xmlChar *modname,
1497 const xmlChar *objname);
1513 const xmlChar *modname,
1514 const xmlChar *objname );
1530 const xmlChar *modname,
1531 const xmlChar *objname);
1547 const xmlChar *modname,
1548 const xmlChar *objname);
1566 const xmlChar *modname,
1567 const xmlChar *objname);
1587 const xmlChar *modname,
1588 const xmlChar *objname);
1614 const xmlChar *modname,
1615 const xmlChar *objname,
1637 const xmlChar *modname,
1638 const xmlChar *objname);
1659 const xmlChar *modname,
1660 const xmlChar *objname);
1681 const xmlChar *modname,
1682 const xmlChar *objname);
1703 const xmlChar *modname,
1704 const xmlChar *objname);
1724 const xmlChar *objname);
1753 const xmlChar *modname,
1754 const xmlChar *objname,
1773 const xmlChar *modname,
1774 const xmlChar *objname,
1801 const xmlChar *modname,
1802 const xmlChar *objname,
1804 uint32 *matchcount);
2039 const xmlChar *modname,
2040 const xmlChar *childname,
2091 const xmlChar *modname,
2092 const xmlChar *name,
2145 const xmlChar *modname,
2146 const xmlChar *name,
2202 const xmlChar *modname,
2203 const xmlChar *name,
2222 const xmlChar *modname,
2223 const xmlChar *casname);
2239 const xmlChar *name);
2260 const xmlChar *typname);
2282 const xmlChar *grpname);
2313 const xmlChar *typname,
2475 const xmlChar *xpath);
2545 const xmlChar *keycompname);
2706extern const xmlChar *
2935extern const xmlChar *
2948 const xmlChar *objname);
2995extern const xmlChar *
3008extern const xmlChar *
3019extern const xmlChar *
3030extern const xmlChar *
3050extern const xmlChar *
3065#define obj_is_config obj_get_config_flag_deep
3149extern const xmlChar *
3169extern const dlq_hdr_t *
3183extern const xmlChar *
3195extern const xmlChar *
3212extern const xmlChar *
3360extern const xmlChar *
3370extern const xmlChar *
3380extern const xmlChar *
3421extern const xmlChar *
3431extern const xmlChar *
3518extern const xmlChar *
3573extern const xmlChar *
3619 dlq_hdr_t *force_modQ,
3867 boolean config_only);
4532 const xmlChar *name);
4601 dlq_hdr_t *datadefQ,
4612extern const xmlChar *
4631extern const xmlChar *
4664extern const xmlChar *
4846 struct xpath_pcb_t_ *xpath);
4856extern struct xpath_pcb_t_ *
4858 struct xpath_pcb_t_ *xpath);
4867extern struct xpath_pcb_t_ *
4884 struct xpath_pcb_t_ *xpath);
4898 struct xpath_pcb_t_ *xpath);
5276#define obj_next_dev_defval_tk(D) obj_next_defval_tk(D)
5307 const xmlChar *defval);
5319 const xmlChar *find_defval);
5357 const xmlChar *keyname);
5414#if defined(WITH_SNMP) && defined(WITH_RESTCONF)
5421extern const xmlChar *
5450 dlq_hdr_t *keystackQ);
5516 const xmlChar *basestr,
5529 const xmlChar *parmstr);
5542 const xmlChar *parmstr,
5543 boolean is_errortag);
log_debug_t
The debug level enumerations used in util/log.c.
Definition: log.h:386
status_t
global error return code
Definition: status_enum.h:187
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
ncx_leafref_class_t
Classification for the types of leafref path statements wrt/ how they can be cached.
Definition: ncxtypes.h:1552
ncx_status_t
enumeration for different YANG data-def status values
Definition: ncxtypes.h:583
ncx_yang_version_t
enumeration for different YANG language versions
Definition: ncxtypes.h:1000
ncx_cfg_t
hardwire the 3 standard configs
Definition: ncxtypes.h:548
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:724
ncx_iqual_t
The instance qualifier types are borrowed from ABNF and RelaxNG.
Definition: ncxtypes.h:460
ncx_btype_t
enumeration of the built-in NCX types These types cannot be overridden and cannot be imported
Definition: ncxtypes.h:213
ncx_access_t
NCX Access Control 'max-access' enumeration values Note that access control is applied to the session...
Definition: ncxtypes.h:182
ncx_name_match_t
Node name match modes.
Definition: ncxtypes.h:695
uint64 ncx_sid_t
Standard YANG SID is a 63-bit integer defined as uint64.
Definition: ncxtypes.h:744
ncx_xpath_axis_t
XPath expression axis types.
Definition: ncxtypes.h:662
obj_metadata_t * obj_find_metadata(const obj_template_t *obj, const xmlChar *name)
Find the object metadata definition in the object.
Definition: obj.c:15934
uint32 obj_get_child_count(const obj_template_t *obj)
Get the number of child nodes the object has.
Definition: obj.c:13688
void obj_set_abstract(obj_template_t *obj)
Set the abstract flag for the yang-data node.
Definition: obj.c:18557
obj_key_t * obj_last_key(obj_template_t *obj)
Get the last key record.
Definition: obj.c:9999
const dlq_hdr_t * obj_get_cdatadefQ(const obj_template_t *obj)
Get a const pointer to the datadefQ (or caseQ) if this object has one.
Definition: obj.c:12184
boolean obj_is_notif(const obj_template_t *obj)
Check if the object is a notification.
Definition: obj.c:14876
boolean obj_is_external_augment(obj_template_t *obj)
Check if an object is an external augment.
Definition: obj.c:16771
boolean obj_has_rw_children(obj_template_t *obj)
Check if there are any accessible read-write child nodes within the object.
Definition: obj.c:15721
const xmlChar * obj_get_description(const obj_template_t *obj)
Get the description field for this obj.
Definition: obj.c:11464
boolean obj_has_name(const obj_template_t *obj)
Check if the specified object type has a name.
Definition: obj.c:11319
obj_template_t * obj_clone_template_case(ncx_module_t *mod, obj_template_t *srcobj, dlq_hdr_t *mobjQ)
Clone an obj_template_t but make sure it is wrapped in a OBJ_TYP_CASE layer.
Definition: obj.c:9482
const xmlChar * obj_get_next_default(const obj_template_t *obj, ncx_backptr_t *lastdef, ncx_backptr_t **thisdef)
Get the next default value for the specified object.
Definition: obj.c:12359
obj_key_t * obj_new_key(void)
Alloc and Init a obj_key_t struct.
Definition: obj.c:9848
boolean obj_is_top(const obj_template_t *obj)
Check if the object is top-level object within the YANG module that defines it.
Definition: obj.c:15560
boolean obj_is_case(const obj_template_t *obj)
Check if object is a YANG case.
Definition: obj.c:14219
boolean obj_is_hidden(const obj_template_t *obj)
Check if object is marked as a hidden object.
Definition: obj.c:14951
boolean obj_get_max_elements(obj_template_t *obj, uint32 *maxelems)
Get the max-elements clause for this object, if any.
Definition: obj.c:13364
obj_template_t * obj_find_template_test(dlq_hdr_t *que, const xmlChar *modname, const xmlChar *objname)
Find an object with the specified name Test version; do not set 'used' flag.
Definition: obj.c:5934
uint32 obj_get_yang_sid_tree(const obj_template_t *obj)
Get the YANG SID Tree ID for this object.
Definition: obj.c:13179
boolean obj_is_cli(const obj_template_t *obj)
Check if object is marked as a CLI object.
Definition: obj.c:15034
obj_template_t * obj_clone_template_sm(ncx_module_t *mod, obj_template_t *srcobj, dlq_hdr_t *mobjQ, boolean sm_clone)
Clone an obj_template_t Copy the pointers from the srcobj into the new obj.
boolean obj_is_match(const obj_template_t *obj1, const obj_template_t *obj2)
Check if one object is a match in identity with another one.
Definition: obj.c:14926
obj_template_t * obj_find_child_choice_case(obj_template_t *obj, const xmlChar *modname, const xmlChar *objname)
Find a child object with the specified Qname.
Definition: obj.c:6423
boolean obj_is_rpcio(const obj_template_t *obj)
Check if the object is an RPC IO node.
Definition: obj.c:14789
boolean obj_get_leaf_list_defset(const obj_template_t *obj)
Get the defset flag for a leaf-list.
Definition: obj.c:18350
obj_unique_t * obj_first_unique(obj_template_t *listobj)
Get the first unique-stmt for a list.
Definition: obj.c:9740
boolean obj_get_config_flag_check(const obj_template_t *obj, boolean *ingrp)
get config flag during YANG module checking
Definition: obj.c:13875
const void * obj_get_reference_addr(const obj_template_t *obj)
Get the reference field for this obj.
Definition: obj.c:11763
status_t obj_gen_object_id_code(ncx_module_t *mod, const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the object ID for an object node for C code usage.
Definition: obj.c:10889
boolean obj_in_augment(const obj_template_t *obj)
Check if object is an augment or inside an augment CHECK ENTIRE TREE UP TO ROOT.
Definition: obj.c:14490
ncx_module_t * obj_get_mod(obj_template_t *obj)
Get the module pointer for this object.
Definition: obj.c:12959
void obj_delete_all_defvals(obj_template_t *obj)
Delete all the original defaults for a leaf-list default for deviate replace default foo.
Definition: obj.c:18432
boolean obj_npcon_has_defaults_slow(obj_template_t *obj)
Check if the specified NP container has defaults within it Must be a config object!...
Definition: obj.c:12473
obj_iffeature_ptr_t * obj_new_iffeature_ptr(ncx_iffeature_t *iff)
Malloc and initialize a new obj_iffeature_ptr_t struct.
Definition: obj.c:16967
ncx_backptr_t * obj_first_inherit_when_ptr(obj_template_t *obj)
Get first xpath pointer struct.
Definition: obj.c:17039
const xmlChar * obj_get_oid_string(obj_template_t *obj)
Get object OID sting value.
Definition: obj.c:18579
typ_def_t * obj_get_typdef(obj_template_t *obj)
Get the typdef for the leaf or leaf-list.
Definition: obj.c:12732
grp_template_t * obj_first_grouping(obj_template_t *obj)
Get the first local grouping if any.
Definition: obj.c:8923
void obj_delete_obsolete(dlq_hdr_t *objQ)
Delete any obsolete child nodes within the specified object subtree.
Definition: obj.c:16643
boolean obj_is_password(const obj_template_t *obj)
Check if object is marked as a password object.
Definition: obj.c:15007
boolean obj_get_top_config_flag(const obj_template_t *obj)
Get the config flag for the top-level object.
Definition: obj.c:19019
obj_case_t * obj_find_case(obj_choice_t *choic, const xmlChar *modname, const xmlChar *casname)
Find a specified case arm by name.
Definition: obj.c:8551
void obj_free_defval_tk(obj_defval_tk_t *def)
Delete an object default tk record;.
Definition: obj.c:18256
boolean obj_find_defval(obj_template_t *obj, const xmlChar *find_defval)
Find a default.
Definition: obj.c:18401
const xmlChar * obj_get_deviate_arg(obj_deviate_arg_t devarg)
Get the deviate-arg string from its enumeration.
Definition: obj.c:10381
boolean obj_unload_active(const obj_template_t *obj)
Check if the module commit tests are disabled because a module unload is in progress.
Definition: obj.c:17928
void * obj_get_presence_string_field(const obj_template_t *obj)
Get the address ot the presence-stmt value, if any.
Definition: obj.c:13614
boolean obj_is_container(const obj_template_t *obj)
Check if object is a YANG container.
Definition: obj.c:14179
obj_key_t * obj_find_key(dlq_hdr_t *que, const xmlChar *keycompname)
Find a specific key component by key leaf identifier name.
Definition: obj.c:9896
ncx_sm_rootcb_t * obj_find_ancestor_rootcb(obj_template_t *obj)
Find an ancestor node or self that has a rootcb.
Definition: obj.c:19641
boolean obj_is_top_aio_get2(obj_template_t *obj)
Check if this object is a really top level holder of extension sil-aio-get2.
Definition: obj.c:19203
obj_unique_comp_t * obj_new_unique_comp(void)
Alloc and Init a obj_unique_comp_t struct.
Definition: obj.c:9653
boolean obj_is_list(const obj_template_t *obj)
Check if object is a YANG list.
Definition: obj.c:14123
const xmlChar * obj_get_augment_target(obj_template_t *obj)
Get the target path string for an augments object.
Definition: obj.c:16753
boolean obj_is_in_aio_get2(obj_template_t *obj)
Check if this object is a child of a node with sil-aio-get2 extension setup or if this object itself ...
Definition: obj.c:19159
boolean obj_is_anydata(const obj_template_t *obj)
Check if object is an anydata.
Definition: obj.c:14058
const xmlChar * obj_get_altname(const obj_template_t *obj)
Get the alt-name for this object, if any.
Definition: obj.c:16688
uint32 obj_key_count_to_root(obj_template_t *obj)
Check ancestor-or-self nodes until root reached Find all lists; Count the number of keys.
Definition: obj.c:10165
obj_template_t * obj_next_child_deep(obj_template_t *obj)
Get the next child object if the specified object has any children.
Definition: obj.c:7605
const xmlChar * obj_get_default(const obj_template_t *obj)
Get the default value for the specified object.
Definition: obj.c:12267
status_t obj_set_mp_flags(obj_template_t *obj)
set the Schema Mount flags and create a rootcb if needed
Definition: obj.c:19675
boolean obj_is_p_container(const obj_template_t *obj)
Check if the object is an Presence-container.
Definition: obj.c:15319
status_t obj_add_errmsg_filter(obj_errmsg_t *errmsg, const xmlChar *parmstr, boolean is_errortag)
Add an errmsg filter for the object.
boolean obj_is_mandatory_when_ex(obj_template_t *obj, boolean config_only)
Figure out if the obj is YANG mandatory or not Check the when-stmts, not just mandatory-stmt.
Definition: obj.c:14358
void obj_free_metadata(obj_metadata_t *meta)
Scrub the memory in a obj_metadata_t by freeing all the sub-fields and then freeing the entire struct...
Definition: obj.c:15867
obj_template_t * obj_first_terminal_child_nokey(obj_template_t *obj)
Get the first child object if the specified object has any children; MUST BE A TERMINAL NODE!...
Definition: obj.c:7165
status_t obj_copy_object_id_mod(const obj_template_t *obj, xmlChar *buff, uint32 bufflen, uint32 *reallen)
Generate the object ID for an object node and copy to the buffer copy an object ID to a buffer; Use m...
Definition: obj.c:10989
status_t obj_assign_xpath_backptr(obj_template_t *obj, struct xpath_pcb_t_ *xpath)
Set an xpath-expr backptr.
Definition: obj.c:17187
dlq_hdr_t * obj_get_defvalQ(obj_template_t *obj)
Get the leaf-list default Q.
Definition: obj.c:18274
const xmlChar * obj_get_type_name(const obj_template_t *obj)
Get the typename for an object.
Definition: obj.c:13101
void obj_ban_nolock_get(obj_template_t *obj)
Ban nolock-get for the object.
Definition: obj.c:19494
void obj_free_key(obj_key_t *key)
Free a obj_key_t struct.
Definition: obj.c:9871
const xmlChar * obj_get_first_default(const obj_template_t *obj, ncx_backptr_t **thisdef)
Get the first default value for the specified object.
Definition: obj.c:12310
status_t obj_gen_object_id_error(const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the object ID for an object node for errors.
Definition: obj.c:10768
boolean obj_is_enabled(obj_template_t *obj)
Check any if-feature statement that may cause the specified object to be invisible.
Definition: obj.c:15339
const void * obj_get_description_addr(const obj_template_t *obj)
Get the address of the description field for this obj.
Definition: obj.c:11645
obj_template_t * obj_first_child(obj_template_t *obj)
Get the first child object if the specified object has any children.
Definition: obj.c:7068
status_t obj_gen_object_id_prefix(const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the object ID for an object node Use the prefix in every node.
Definition: obj.c:10532
obj_template_t * obj_find_template(dlq_hdr_t *que, const xmlChar *modname, const xmlChar *objname)
Find an object with the specified name.
Definition: obj.c:5828
const obj_template_t * obj_get_cparent(const obj_template_t *obj)
Get the parent of the current object CONST POINTER VERSION.
Definition: obj.c:13480
const ncx_iffeature_t * obj_get_first_iffeature(const obj_template_t *obj)
Get the first if-feature clause (if any) for the specified object.
Definition: obj.c:13995
void obj_init_unique(obj_unique_t *un)
Init a obj_unique_t struct.
Definition: obj.c:9576
boolean obj_is_supported(obj_template_t *obj)
Check an RPC node to check if it is supported or not It could be disabled at run-time without removin...
Definition: obj.c:17616
status_t obj_gen_aughook_id(const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the augment hook element name for the specified object.
Definition: obj.c:11098
void obj_dump_child_list(log_debug_t lvl, dlq_hdr_t *datadefQ, uint32 startindent, uint32 indent)
Dump the object names in a datadefQ – just child level uses log_write_level() for writing ....
Definition: obj.c:16540
obj_template_t * obj_get_real_parent_aug(obj_template_t *obj)
Get the parent of the current object; skip OBJ_TYP_AUGMENT and return the actual parent.
Definition: obj.c:19427
status_t obj_add_errmsg_parm(obj_errmsg_t *errmsg, const xmlChar *parmstr)
Add an errmsg parameter for the object.
void obj_traverse_keys(obj_template_t *obj, void *cookie1, void *cookie2, obj_walker_fn_t walkerfn)
Traverse the list keys with a callback function.
Definition: obj.c:10204
obj_template_t * obj_find_child_fast(obj_template_t *obj, xmlns_id_t nsid, const xmlChar *objname)
Find a child object with the specified Qname.
Definition: obj.c:6497
boolean obj_is_data(const obj_template_t *obj)
Check if the object is defined within data or within a notification or RPC instead.
Definition: obj.c:14529
obj_key_t * obj_next_key(obj_key_t *objkey)
Get the next key record.
Definition: obj.c:10057
boolean obj_is_sil_delete_children_first(const obj_template_t *obj)
Check if object is marked as ncx:sil-delete-children-first.
Definition: obj.c:16842
void obj_clean_datadefQ(dlq_hdr_t *que)
Clean and free all the obj_template_t structs in the specified Q.
Definition: obj.c:8629
typ_def_t * obj_get_base_typdef(obj_template_t *obj)
Get the base typdef for the leaf or leaf-list.
Definition: obj.c:12761
boolean obj_is_xsdlist(const obj_template_t *obj)
Check if object is marked as an XSD list.
Definition: obj.c:15022
void obj_clean_unique(obj_unique_t *un)
Clean a obj_unique_t struct.
Definition: obj.c:9620
obj_key_t * obj_prev_key(obj_key_t *objkey)
Get the previous key record.
Definition: obj.c:10083
boolean obj_in_action(const obj_template_t *obj)
Check if the object is within or is an action method.
Definition: obj.c:14834
void obj_dump_keystackQ(dlq_hdr_t *keystackQ)
Dump a keystackQ with backptrs to obj_template_t for key leafs.
Definition: obj.c:18795
boolean obj_is_single_instance(obj_template_t *obj)
Check if the object is a single instance of if it allows multiple instances; check all of the ancesto...
Definition: obj.c:15481
boolean obj_is_no_sil_delete_children_first(const obj_template_t *obj)
Check if object is marked as ypx:no-sil-delete-children-first OR AN ANCESTOR IS MARKED.
Definition: obj.c:16856
boolean obj_ok_for_nolock(const obj_template_t *obj)
check an object OK for nolock
Definition: obj.c:19048
boolean obj_has_typedefs(const obj_template_t *obj)
Check if the object has any nested typedefs in it.
Definition: obj.c:12649
void obj_add_child(obj_template_t *child, obj_template_t *parent)
Add a child object to the specified complex node.
Definition: obj.c:16879
void obj_set_sil_force_replace_replay(obj_template_t *obj)
Set the object OBJ_FL_SIL_FORCE_REPLAY bit Set the object OBJ_FL_SIL_FORCE_REPLACE_REPLAY bit.
Definition: obj.c:17835
boolean obj_in_rpc(const obj_template_t *obj)
Check if the object is in an rpc/input section.
Definition: obj.c:14650
boolean obj_has_ro_children(obj_template_t *obj)
Check if there are any accessible read-only child nodes within the object.
Definition: obj.c:15662
boolean obj_is_dirty(const obj_template_t *obj, ncx_cfg_t cfgid)
Check if object is marked as dirty (edited) for datastore validation purposes.
Definition: obj.c:15055
boolean obj_is_block_user_delete(const obj_template_t *obj)
Check if object is marked as ncx:user-write with delete access disabled.
Definition: obj.c:16949
boolean obj_is_ancestor(const obj_template_t *ancestor, const obj_template_t *obj)
Check if an object is the ancestor of another.
Definition: obj.c:19460
boolean obj_is_rpcio_input(const obj_template_t *obj)
Check if the object is an RPC IO node.
Definition: obj.c:14802
const xmlChar * obj_get_alt_description(const obj_template_t *obj)
obj_get_alt_description (DEPRECATED)
Definition: obj.c:11525
status_t obj_gen_object_id_datapath(const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the object ID for an object node Use the prefix in every node.
Definition: obj.c:10579
obj_template_t * obj_next_child_augok(obj_template_t *obj)
Get the next child object if the specified object has any children; return augment,...
Definition: obj.c:7428
void obj_set_xpath_oper_ok(obj_template_t *obj)
Set the object XPath oper OK flag.
Definition: obj.c:19381
obj_template_t * obj_first_child_deep(obj_template_t *obj)
Get the first child object if the specified object has any children.
Definition: obj.c:7532
boolean obj_find_all_pfaxis(ncx_module_t *exprmod, obj_walker_fn_t walkerfn, void *cookie1, void *cookie2, obj_template_t *startnode, const xmlChar *modname, const xmlChar *name, boolean configonly, boolean dblslash, boolean textmode, boolean useroot, ncx_xpath_axis_t axis, boolean *fncalled)
Find all occurances of the specified preceding or following node(s).
Definition: obj.c:8363
boolean obj_is_datapath(const obj_template_t *obj)
Check if object is marked as a ywx:datapath object.
Definition: obj.c:15573
obj_defval_tk_t * obj_new_defval_tk(void)
Create a new object default tk record;.
Definition: obj.c:18239
boolean obj_has_when_stmts(obj_template_t *obj)
Check if any when-stmts apply to this object Does not check if they are true, just any when-stmts pre...
Definition: obj.c:15795
void obj_free_unique_comp(obj_unique_comp_t *unc)
Free a obj_unique_comp_t struct.
Definition: obj.c:9676
void obj_delete_mod_children(obj_template_t *obj, ncx_module_t *mod)
Check the childQ for the specified object and remove all the objects from the specified module.
Definition: obj.c:17643
boolean obj_is_crypt_hash(const obj_template_t *obj)
Check if the object is a leaf of type crypt-hash.
Definition: obj.c:18185
boolean obj_rpc_has_input(obj_template_t *obj)
Check if the RPC object has any real input children.
Definition: obj.c:15771
boolean obj_is_refine(const obj_template_t *obj)
Figure out if the obj is a refinement object, within a uses-stmt.
Definition: obj.c:14516
boolean obj_is_abstract(const obj_template_t *obj)
Check if object is being used as an object identifier or error-info.
Definition: obj.c:15103
boolean obj_has_get2cb(obj_template_t *obj)
Check if current object has GET2 callback registered.
Definition: obj.c:18953
boolean obj_match_datarule(obj_template_t *obj, void *rule)
Check if the data-rule back-ptr applies to this node.
Definition: obj.c:18896
const xmlChar * obj_get_mod_prefix(const obj_template_t *obj)
Get the module prefix for this object.
Definition: obj.c:12866
ncx_iqual_t obj_get_iqualval(obj_template_t *obj)
Get the instance qualifier for this object.
Definition: obj.c:13201
obj_iffeature_ptr_t * obj_first_iffeature_ptr(obj_template_t *obj)
Get first if-feature pointer.
Definition: obj.c:17003
boolean obj_in_submodule(obj_template_t *obj)
Check if the object is defined in a submodule.
Definition: obj.c:13000
boolean obj_is_deleted_ex(const obj_template_t *obj)
Check if object has been deleted by a deviate not-supported Or if its parent was deleted by deviation...
Definition: obj.c:15173
boolean obj_is_external_data_augment(obj_template_t *obj)
Check if an object is an external augment of a data node.
Definition: obj.c:16793
obj_template_t * obj_first_child_augok(obj_template_t *obj)
Get the first child object if the specified object has any children.
Definition: obj.c:7375
uint32 obj_get_real_level(const obj_template_t *obj)
Get the nest level for the specified object Top-level is '1' Does not count groupings as a level Does...
Definition: obj.c:12612
boolean obj_get_min_elements(obj_template_t *obj, uint32 *minelems)
Get the min-elements clause for this object, if any.
Definition: obj.c:13319
boolean obj_is_rpc_root(const obj_template_t *obj)
Check if object is marked as an RPC root object.
Definition: obj.c:14994
obj_template_t * obj_clone_template(ncx_module_t *mod, obj_template_t *srcobj, dlq_hdr_t *mobjQ)
Clone an obj_template_t Copy the pointers from the srcobj into the new obj.
Definition: obj.c:9144
status_t obj_set_named_type(void *pcb, tk_chain_t *tkc, ncx_module_t *mod, const xmlChar *typname, typ_def_t *typdef, obj_template_t *parent, grp_template_t *grp)
Resolve type test Called during phase 2 of module parsing.
Definition: obj.c:8998
obj_template_t * obj_match_child_str(obj_template_t *obj, const xmlChar *modname, const xmlChar *objname, uint32 objnamelen, uint32 *matchcount)
Match a child object with the specified Qname Find first command that matches all N chars of objname.
Definition: obj.c:6971
boolean obj_any_notifs(const dlq_hdr_t *datadefQ)
Check if there are any notifications in the datadefQ.
Definition: obj.c:10293
boolean obj_rpc_has_output(obj_template_t *obj)
Check if the RPC object has any real output children.
Definition: obj.c:15782
status_t obj_add_metadata(obj_metadata_t *meta, obj_template_t *obj)
Add the filled out object metadata definition to the object.
Definition: obj.c:15897
void obj_free_deviate(obj_deviate_t *deviate)
Clean and free an object deviate statement.
Definition: obj.c:10350
status_t obj_add_errmsg(obj_template_t *obj, const xmlChar *basestr, obj_errmsg_t **ret_errmsg)
Create a new obj_errmsg struct for the object.
const xmlChar * obj_get_mod_xmlprefix(const obj_template_t *obj)
Get the module prefix for this object.
Definition: obj.c:12897
boolean obj_is_augclone(const obj_template_t *obj)
Figure out if the obj is a cloned object, inserted via an augment statement.
Definition: obj.c:14457
const xmlChar * obj_get_info_description(const obj_template_t *obj)
Get the info description field for this obj Check if a 'info' appinfo node is present.
Definition: obj.c:11610
obj_unique_comp_t * obj_next_unique_comp(obj_unique_comp_t *uncomp)
Get the next unique-stmt component for a list.
Definition: obj.c:9825
xmlns_id_t obj_get_nsid(const obj_template_t *obj)
Get the namespace ID for this object.
Definition: obj.c:13136
obj_key_t * obj_first_key(obj_template_t *obj)
Get the first key record.
Definition: obj.c:9970
ncx_access_t obj_get_max_access(const obj_template_t *obj)
Get the NCX max-access enum for an obj_template_t Return the explicit value or the inherited value.
Definition: obj.c:11892
status_t obj_gen_object_id_unique(const obj_template_t *obj, const obj_template_t *stopobj, xmlChar **buff)
Malloc and Generate the object ID for a unique-stmt test.
Definition: obj.c:10830
obj_template_t * obj_get_leafref_targobj(obj_template_t *obj)
Get the target object for a leafref leaf or leaf-list.
Definition: obj.c:16713
obj_metadata_t * obj_new_metadata(void)
Malloc and initialize the fields in a an obj_metadata_t.
Definition: obj.c:15836
boolean obj_find_all_children(ncx_module_t *exprmod, obj_walker_fn_t walkerfn, void *cookie1, void *cookie2, obj_template_t *startnode, const xmlChar *modname, const xmlChar *childname, boolean configonly, boolean textmode, boolean useroot)
Find all occurances of the specified node(s) within the children of the current node.
Definition: obj.c:7766
typ_template_t * obj_find_type(obj_template_t *obj, const xmlChar *typname)
Check if a typ_template_t in the obj typedefQ hierarchy.
Definition: obj.c:8655
boolean obj_is_rpc(const obj_template_t *obj)
Check if the object is an RPC method.
Definition: obj.c:14757
void obj_flag_xpath_backptrs_dirty(obj_template_t *obj, ncx_cfg_t cfg_id, boolean flag)
Check all the xpath backptr records for this object and set them to dirty or clean,...
Definition: obj.c:17393
boolean obj_is_xpath_string(const obj_template_t *obj)
Check if object is an XPath string.
Definition: obj.c:15206
obj_unique_t * obj_find_unique(dlq_hdr_t *que, const xmlChar *xpath)
Find a specific unique-stmt.
Definition: obj.c:9704
void obj_force_disabled(obj_template_t *obj)
Force an object to be disabled.
Definition: obj.c:18714
obj_template_t * obj_next_child(obj_template_t *obj)
Get the next child object if the specified object has any children.
Definition: obj.c:7258
boolean obj_is_block_user_update(const obj_template_t *obj)
Check if object is marked as ncx:user-write with update access disabled.
Definition: obj.c:16928
obj_key_t * obj_get_key_by_name(obj_template_t *obj, const xmlChar *keyname)
Check the specified list to see if the string is a list key.
Definition: obj.c:18481
boolean obj_is_anyxml(const obj_template_t *obj)
Check if object is an anyxml.
Definition: obj.c:14045
boolean obj_is_terminal(const obj_template_t *obj)
Check if object is a proper leaf or leaflist or anyxml.
Definition: obj.c:14267
void obj_force_root(obj_template_t *obj)
Set the object as an anydata type of root.
Definition: obj.c:14980
status_t obj_gen_object_id_sid(const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the object ID for an object node for SID path usage.
Definition: obj.c:11024
typ_template_t * obj_first_typedef(obj_template_t *obj)
Get the first local typedef for this object, if any.
Definition: obj.c:8756
obj_template_t * obj_new_rpcio(obj_template_t *rpcobj, const xmlChar *name)
Malloc and initialize the fields in a an obj_rpcio_t.
Definition: obj.c:8598
void obj_set_notif_enabled(obj_template_t *obj, boolean enabled)
Set the notification object enabled flag.
Definition: obj.c:17881
uint8 obj_get_sil_priority(obj_template_t *obj)
Get the SIL priority field.
Definition: obj.c:18048
boolean obj_is_sil_force_replace_replay(const obj_template_t *obj)
Check if this object has the OBJ_FL_SIL_FORCE_REPLACE_REPLAY bit set.
Definition: obj.c:17817
status_t obj_set_name(obj_template_t *obj, const xmlChar *objname)
Set the name field for this obj.
Definition: obj.c:11226
const xmlChar * obj_get_presence_string(const obj_template_t *obj)
Get the present-stmt value, if any.
Definition: obj.c:13583
void obj_clean_deviationQ(dlq_hdr_t *deviationQ)
Clean and free an Q of object deviation statements.
Definition: obj.c:10463
obj_template_t * obj_find_template_top_lrcheck(ncx_module_t *mod, const xmlChar *modname, const xmlChar *objname)
Check if an obj_template_t in the mod->datadefQ or any of the include files visible to this module (L...
Definition: obj.c:6148
obj_key_t * obj_find_key2(dlq_hdr_t *que, obj_template_t *keyobj)
Find a specific key component, check for a specific node in case deep keys are supported,...
Definition: obj.c:9934
boolean obj_ok_for_cli(obj_template_t *obj)
Figure out if the obj is OK for current CLI implementation.
Definition: obj.c:15588
boolean obj_in_list(const obj_template_t *obj)
Check if object is nested within a list.
Definition: obj.c:14136
obj_template_t * obj_get_default_case(obj_template_t *obj)
Get the default case for the specified OBJ_TYP_CHOICE object.
Definition: obj.c:12400
boolean obj_find_all_ancestors(ncx_module_t *exprmod, obj_walker_fn_t walkerfn, void *cookie1, void *cookie2, obj_template_t *startnode, const xmlChar *modname, const xmlChar *name, boolean configonly, boolean textmode, boolean useroot, boolean orself, boolean *fncalled)
Find all occurances of the specified node(s) within the ancestors of the current node.
Definition: obj.c:7988
ncx_iqual_t obj_get_iqualval_ex(obj_template_t *obj, boolean required)
Get the instance qualifier for this object.
Definition: obj.c:13231
boolean obj_get_config_flag(const obj_template_t *obj)
Get the config flag for an obj_template_t Return the explicit value or the inherited value Also retur...
Definition: obj.c:11826
boolean obj_is_obsolete(const obj_template_t *obj)
Check if the object has obsolete status.
Definition: obj.c:17948
status_t obj_get_child_node(obj_template_t *obj, obj_template_t *chobj, const xml_node_t *curnode, boolean xmlorder, dlq_hdr_t *force_modQ, obj_template_t **rettop, obj_template_t **retobj)
Get the correct child node for the specified parent and current XML node.
Definition: obj.c:13649
void obj_number_data_object(obj_template_t *obj)
Number the object tree; initial setup.
Definition: obj.c:18220
boolean obj_is_key(const obj_template_t *obj)
Check if object is being used as a key leaf within a list.
Definition: obj.c:15090
void obj_clear_xpath_backptr(obj_template_t *obj, struct xpath_pcb_t_ *xpath)
Clear an xpath-expr backptr.
Definition: obj.c:17272
boolean obj_get_config_flag_deep(const obj_template_t *obj)
get config flag during augment expand
Definition: obj.c:13784
const xmlChar * obj_get_mod_version(const obj_template_t *obj)
Get the module version for this object.
Definition: obj.c:13075
boolean obj_has_xpath_stmts(obj_template_t *obj)
Check if any must or when stmts in node or all children.
Definition: obj.c:19849
uint32 obj_get_level(const obj_template_t *obj)
Get the nest level for the specified object Top-level is '1' Does not count groupings as a level.
Definition: obj.c:12530
obj_template_t * obj_first_terminal_child(obj_template_t *obj)
Get the first child object if the specified object has any children; MUST BE A TERMINAL NODE!...
Definition: obj.c:7125
boolean obj_is_system_ordered(const obj_template_t *obj)
Check if the object is system or user-ordered.
Definition: obj.c:15276
ncx_yang_version_t obj_get_langver(obj_template_t *obj)
Get the YANG version for this object.
Definition: obj.c:18509
boolean obj_is_cli_text_block(const obj_template_t *obj)
Check if object is marked as ywx:cli-text-block.
Definition: obj.c:16829
boolean obj_is_sm_rpc(const obj_template_t *obj)
Check if the object is a schema mounted RPC method.
Definition: obj.c:14770
obj_oid_t * obj_get_oid_struct(obj_template_t *obj, boolean *malloced)
Get malloced object OID structure that contains OID string and OID count.
Definition: obj.c:18637
status_t obj_copy_object_id(const obj_template_t *obj, xmlChar *buff, uint32 bufflen, uint32 *reallen)
Generate the object ID for an object node and copy to the buffer copy an object ID to a buffer.
Definition: obj.c:10951
void obj_set_notif_log_drops(const obj_template_t *obj, boolean enabled)
Set the event drops enabled flag for the notification object.
Definition: obj.c:17904
obj_template_t * obj_get_parent_choice(obj_template_t *obj)
Get the choice parent of the current object;.
Definition: obj.c:19507
ncx_backptr_t * obj_next_inherit_when_ptr(ncx_backptr_t *ptr)
Get the next xpath pointer struct.
Definition: obj.c:17057
boolean obj_is_data_node(const obj_template_t *obj)
Check if the object is a real node type.
Definition: obj.c:14604
boolean obj_is_mp_parent(obj_template_t *child)
Check if the parent of this object is a Mount Pount object.
Definition: obj.c:19582
obj_template_t * obj_find_child_str(obj_template_t *obj, const xmlChar *modname, const xmlChar *objname, uint32 objnamelen)
Find a child object with the specified Qname.
Definition: obj.c:6862
boolean obj_is_sm_notif(const obj_template_t *obj)
Check if the object is a schema-mounted notification.
Definition: obj.c:14889
boolean obj_is_data_db(const obj_template_t *obj)
Check if the object is some sort of data Constrained to only check the config DB objects,...
Definition: obj.c:14562
boolean obj_is_short_case(obj_template_t *obj)
Check if the object is a short case statement.
Definition: obj.c:15510
obj_template_t * obj_find_template_all(ncx_module_t *mod, const xmlChar *modname, const xmlChar *objname)
Check if an obj_template_t in the mod->datadefQ or any of the include files used within the entire ma...
Definition: obj.c:6191
boolean obj_is_mounted(obj_template_t *child)
Check if mounted object.
Definition: obj.c:19537
boolean obj_is_abstract_ex(const obj_template_t *obj)
DUPLICATE FUNCTION OF obj_in_abstract()
Definition: obj.c:18538
boolean obj_any_rpcs(const dlq_hdr_t *datadefQ)
Check if there are any RPC methods in the datadefQ.
Definition: obj.c:10258
obj_template_t * obj_find_template_top_ex(ncx_module_t *mod, const xmlChar *modname, const xmlChar *objname, ncx_name_match_t match_names, boolean alt_names, boolean dataonly, status_t *retres)
Check if an obj_template_t in the mod->datadefQ or any of the include files visible to this module.
Definition: obj.c:6020
boolean obj_maybe_target_template(obj_template_t *obj)
Check a data node and its descendants match the template for NETCONF configuration sources Allow extr...
Definition: obj.c:17557
ncx_status_t obj_get_status(const obj_template_t *obj)
Get the status field for this obj.
Definition: obj.c:11404
boolean obj_is_leaf_list(const obj_template_t *obj)
Check if object is a proper leaf-list.
Definition: obj.c:14110
obj_template_t * obj_get_augment_targobj(obj_template_t *obj)
Get the target object for an augments object.
Definition: obj.c:16734
obj_template_t * obj_find_child_ex(obj_template_t *obj, const xmlChar *modname, const xmlChar *objname, ncx_name_match_t match_names, boolean alt_names, boolean dataonly, status_t *retres)
Find a child object with the specified Qname extended match modes.
Definition: obj.c:6585
obj_template_t * obj_get_default_parm(obj_template_t *obj)
Get the ncx:default-parm object for this object Only supported for OBJ_TYP_CONTAINER and OBJ_TYP_RPCI...
Definition: obj.c:13715
obj_iffeature_ptr_t * obj_next_iffeature_ptr(obj_iffeature_ptr_t *iffptr)
Get the next if-feature pointer.
Definition: obj.c:17021
obj_metadata_t * obj_next_metadata(const obj_metadata_t *meta)
Get the next object metadata definition in the object.
Definition: obj.c:16002
status_t obj_fill_keystackQ(obj_template_t *obj, dlq_hdr_t *keystackQ)
Fill a keystackQ with backptrs to obj_template_t for key leafs.
Definition: obj.c:18755
struct xpath_pcb_t_ * obj_next_xpath_backptr(obj_template_t *obj, struct xpath_pcb_t_ *xpath)
Get the next XPath backptr.
Definition: obj.c:17130
ncx_leafref_class_t obj_get_leafref_class(obj_template_t *obj)
Get the leafref class for a leafref object.
Definition: obj.c:18147
obj_defval_tk_t * obj_first_defval_tk(const obj_refine_t *ref)
Get the first defval_tk entry.
Definition: obj.c:18293
void obj_set_sil_priority(obj_template_t *obj, uint8 prio)
Set the SIL priority field.
Definition: obj.c:18023
void obj_clear_datarule(obj_template_t *obj, const void *rule)
Clear the datarule back-ptr for this node.
Definition: obj.c:18862
uint32 obj_get_level_mp(const obj_template_t *obj)
Get the nest level for the specified object Top-level is '1' Does not count groupings as a level.
Definition: obj.c:12574
obj_template_t * obj_find_child_lrcheck(obj_template_t *obj, const xmlChar *modname, const xmlChar *objname)
Find a child object with the specified Qname LeafRef Check VERSION.
Definition: obj.c:6342
obj_template_t * obj_new_template(obj_type_t objtype)
Malloc and initialize the fields in a an object template.
Definition: obj.c:5538
boolean obj_is_any(const obj_template_t *obj)
Get the config flag for the top-level object Check the specified object all the way to root.
Definition: obj.c:14078
boolean obj_in_notif(const obj_template_t *obj)
Check if the object is in a notification.
Definition: obj.c:14726
boolean obj_find_xpath_backptr(obj_template_t *obj, struct xpath_pcb_t_ *xpath)
Find an xpath-expr backptr.
Definition: obj.c:17078
void obj_enter_xpath_mode(void)
Enter xpath mode and start ignoring obj_is_enabled.
Definition: obj.c:18453
void obj_free_template(obj_template_t *obj)
Scrub the memory in a obj_template_t by freeing all the sub-fields and then freeing the entire struct...
Definition: obj.c:5676
status_t obj_gen_object_id_oid(ncx_module_t *mod, const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the object ID for an object node Used for canonical ID string comparison to gener...
Definition: obj.c:10662
boolean obj_is_mandatory(obj_template_t *obj)
Figure out if the obj is YANG mandatory or not.
Definition: obj.c:14284
boolean obj_has_children(obj_template_t *obj)
Check if there are any accessible nodes within the object.
Definition: obj.c:15643
boolean obj_is_schema_instance_string(const obj_template_t *obj)
Check if object is a schema-instance string.
Definition: obj.c:15232
ncx_sid_t obj_get_yang_sid(const obj_template_t *obj)
Get the YANG SID for this object.
Definition: obj.c:13163
obj_deviation_t * obj_new_deviation(void)
Malloc and initialize the fields in a an object deviation statement.
Definition: obj.c:10411
uint16 obj_get_key_num(obj_template_t *obj)
Get the key number for the object.
Definition: obj.c:17749
boolean obj_in_abstract(const obj_template_t *obj)
Check if object is being used as an object identifier or error-info CHECK ENTIRE TREE UP TO ROOT.
Definition: obj.c:15117
void obj_free_iffeature_ptr(obj_iffeature_ptr_t *iffptr)
Free an obj_iffeature_ptr_t struct.
Definition: obj.c:16987
const xmlChar * obj_get_reference(const obj_template_t *obj)
Get the reference field for this obj.
Definition: obj.c:11704
boolean obj_delete_all_supported(obj_template_t *obj)
Check if the object supports a direct delete-all or remove-all operation.
Definition: obj.c:18170
obj_unique_comp_t * obj_first_unique_comp(obj_unique_t *un)
Get the first identifier in a unique-stmt for a list.
Definition: obj.c:9798
void obj_set_key_leaf(obj_template_t *obj, uint16 keynum)
Set the key data for the object.
Definition: obj.c:17726
boolean obj_is_deleted(const obj_template_t *obj)
Check if object has been deleted by a deviate not-supported.
Definition: obj.c:15151
obj_template_t * obj_find_child(obj_template_t *obj, const xmlChar *modname, const xmlChar *objname)
Find a child object with the specified Qname.
Definition: obj.c:6266
uint8 obj_get_fraction_digits(const obj_template_t *obj)
Get the fraction-digits field from the object typdef.
Definition: obj.c:13961
status_t obj_gen_object_id_xpath(const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the object ID for an object node.
Definition: obj.c:10720
obj_defval_tk_t * obj_first_dev_defval_tk(const obj_deviate_t *dev)
Get the first defval_tk entry.
Definition: obj.c:18331
obj_unique_t * obj_new_unique(void)
Alloc and Init a obj_unique_t struct.
Definition: obj.c:9553
dlq_hdr_t * obj_get_leafrefQ(const obj_template_t *obj)
Get the leafrefQ for this obj.
Definition: obj.c:12010
void obj_find_delete_defval(obj_template_t *obj, const xmlChar *defval)
Find and delete a leaf-list default for deviate delete default foo.
Definition: obj.c:18369
boolean obj_has_iffeature(obj_template_t *obj)
Check any if-feature statements exist for the specified object.
Definition: obj.c:15435
void obj_clr_enable_chk(obj_template_t *obj)
Force an object to re-evaluate the enable check Will call for all children.
Definition: obj.c:18729
const xmlChar * obj_get_units(obj_template_t *obj)
Get the units clause for this object, if any.
Definition: obj.c:13405
boolean obj_is_empty(const obj_template_t *obj)
Check if object was entered in empty fashion:
Definition: obj.c:14911
boolean obj_in_edit2_mode(obj_template_t *obj)
Check if the object is an edit2 container or list or terminal node child in an edit2 container or lis...
Definition: obj.c:18114
boolean obj_in_rpc_reply(const obj_template_t *obj)
Check if the object is in an rpc-reply/output section.
Definition: obj.c:14692
boolean obj_is_action(const obj_template_t *obj)
Check if the object is a YANG 1.1 action.
Definition: obj.c:14821
boolean obj_is_uses(const obj_template_t *obj)
Check if object is a YANG uses-stmt.
Definition: obj.c:14239
obj_template_t * obj_previous_child(obj_template_t *obj)
Get the previous child object if the specified object has any children.
Definition: obj.c:7478
const xmlChar * obj_get_keystr(obj_template_t *obj)
Get the key string for this list object.
Definition: obj.c:16615
boolean obj_has_text_content(const obj_template_t *obj)
Check if the specified object type has a text content for XPath purposes.
Definition: obj.c:11371
boolean obj_get_config_flag2(const obj_template_t *obj, boolean *setflag)
Get the config flag for an obj_template_t Return the explicit value or the inherited value Also retur...
Definition: obj.c:11865
boolean obj_is_leafy(const obj_template_t *obj)
Check if object is a proper leaf or leaflist.
Definition: obj.c:14252
void obj_exit_xpath_mode(void)
Exit xpath mode and stop ignoring obj_is_enabled.
Definition: obj.c:18462
obj_template_t * obj_next_terminal_child_nokey(obj_template_t *obj)
Get the next child object if the specified object has any children; MUST BE TERMINAL NODE!...
Definition: obj.c:7342
const typ_def_t * obj_get_ctypdef(const obj_template_t *obj)
Get the typdef for the leaf or leaf-list : Const version.
Definition: obj.c:12790
boolean obj_has_aio_list(obj_template_t *obj)
Check is AIO object is a list or if its parent is a list object.
Definition: obj.c:19312
boolean obj_is_dup_local(obj_template_t *obj)
Check if this object is one that has a duplicate sibling with the same local-name and different modul...
Definition: obj.c:17708
const ncx_iffeature_t * obj_get_next_iffeature(const ncx_iffeature_t *iffeature)
Get the next if-feature clause (if any)
Definition: obj.c:14024
boolean obj_is_mp_with_rootcb(const obj_template_t *obj)
Check if current object is Mount Point object.
Definition: obj.c:19615
boolean obj_is_target_template(obj_template_t *obj)
Check a data node and its descendants match the template for NETCONF configuration sources.
Definition: obj.c:17500
boolean obj_notif_enabled(const obj_template_t *obj)
Check if the notification object is enabled.
Definition: obj.c:17849
obj_metadata_t * obj_first_metadata(const obj_template_t *obj)
Get the first object metadata definition in the object.
Definition: obj.c:15974
obj_template_t * obj_last_child(obj_template_t *obj)
Get the last child object if the specified object has any children.
Definition: obj.c:7203
const obj_template_t * obj_get_real_cparent(const obj_template_t *obj)
Get the parent of the current object; skip OBJ_TYP_CHOICE and OBJ_TYP_CASE.
Definition: obj.c:13546
boolean obj_is_mandatory_when(obj_template_t *obj)
Figure out if the obj is YANG mandatory or not Check the when-stmts, not just mandatory-stmt.
Definition: obj.c:14430
obj_template_t * obj_next_terminal_child(obj_template_t *obj)
Get the next child object if the specified object has any children; MUST BE TERMINAL NODE!...
Definition: obj.c:7310
dlq_hdr_t * obj_get_mustQ(const obj_template_t *obj)
Get the mustQ for this obj.
Definition: obj.c:11964
dlq_hdr_t * obj_get_datadefQ(obj_template_t *obj)
Get the datadefQ (or caseQ) if this object has one.
Definition: obj.c:12104
const xmlChar * obj_get_mod_name(const obj_template_t *obj)
Get the module name for this object.
Definition: obj.c:12917
boolean obj_notif_log_drops(const obj_template_t *obj)
Check if the event drops for the notification object is enabled.
Definition: obj.c:17865
void obj_set_ncx_flags(obj_template_t *obj)
Check the NCX appinfo extensions and set flags as needed.
Definition: obj.c:16113
boolean obj_use_get_when_check(const obj_template_t *obj)
check an object needs to use a when-check for GET processing
Definition: obj.c:19097
obj_template_t * obj_find_schema_template(dlq_hdr_t *que, const xmlChar *modname, const xmlChar *objname)
Find an object with the specified name For YANG schema-nodeid so NEVER lookdeep.
Definition: obj.c:5867
obj_unique_t * obj_next_unique(obj_unique_t *un)
Get the next unique-stmt for a list.
Definition: obj.c:9772
boolean obj_is_secure(const obj_template_t *obj)
Check if object is tagged ncx:secure.
Definition: obj.c:15250
boolean obj_get_xpath_oper_ok(const obj_template_t *obj)
Get the object XPath oper OK flag.
Definition: obj.c:19359
obj_template_t * obj_next_child_deep_ex(obj_template_t *obj, boolean stopnext)
Get the next child object if the specified object has any children.
Definition: obj.c:7634
boolean obj_is_cloned(const obj_template_t *obj)
Figure out if the obj is a cloned object, inserted via uses or augment statements.
Definition: obj.c:14443
boolean obj_is_final(obj_template_t *obj)
Check if the object template represents a fully expanded template or if it is inside a grouping.
Definition: obj.c:18691
ncx_module_t * obj_get_real_mod(obj_template_t *obj)
Get the module struct for the submodule or main module with this object.
Definition: obj.c:19403
uint32 obj_key_count(const obj_template_t *obj)
Get the number of keys for this object.
Definition: obj.c:10135
ncx_btype_t obj_get_basetype(const obj_template_t *obj)
Get the NCX base type enum for the object type.
Definition: obj.c:12818
const xmlChar * obj_get_typestr(const obj_template_t *obj)
Get the name of the object type.
Definition: obj.c:12044
boolean obj_is_sil_force_replay(const obj_template_t *obj)
Check if this object has the OBJ_FL_SIL_FORCE_REPLAY bit set.
Definition: obj.c:17798
boolean obj_is_choice(const obj_template_t *obj)
Check if object is a YANG choice.
Definition: obj.c:14199
status_t obj_cache_datarule(obj_template_t *obj, void *rule)
Set the data-rule back-ptr for this node.
Definition: obj.c:18827
obj_template_t * obj_get_real_parent(obj_template_t *obj)
Get the parent of the current object; skip OBJ_TYP_CHOICE and OBJ_TYP_CASE.
Definition: obj.c:13507
boolean obj_is_block_user_create(const obj_template_t *obj)
Check if object is marked as ncx:user-write with create access disabled.
Definition: obj.c:16907
struct xpath_pcb_t_ * obj_first_xpath_backptr(obj_template_t *obj)
Get the first xpath backptr.
Definition: obj.c:17110
dlq_hdr_t * obj_get_appinfoQ(obj_template_t *obj)
Get the appinfoQ for this obj.
Definition: obj.c:11938
obj_template_t * obj_get_parent(obj_template_t *obj)
Get the parent of the current object.
Definition: obj.c:13453
grp_template_t * obj_find_grouping(obj_template_t *obj, const xmlChar *grpname)
Check if a grp_template_t in the obj groupingQ hierarchy.
Definition: obj.c:8824
boolean obj_is_cli_equals_ok(const obj_template_t *obj)
Check if object is marked as ncx:default-parm-equals-ok.
Definition: obj.c:16816
obj_defval_tk_t * obj_next_defval_tk(const obj_defval_tk_t *defval_tk)
Get the next defval_tk entry.
Definition: obj.c:18312
const xmlChar * obj_get_name(const obj_template_t *obj)
Get the name field for this obj.
Definition: obj.c:11163
boolean obj_has_rw_children_ex(obj_template_t *obj, boolean term_only)
Check if there are any accessible read-write child nodes within the object.
Definition: obj.c:15739
void obj_free_unique(obj_unique_t *un)
Free a obj_unique_t struct.
Definition: obj.c:9599
boolean obj_has_ro_descendants(obj_template_t *obj)
Check if there are any accessible read-only descendant nodes within the object.
Definition: obj.c:15688
obj_template_t * obj_find_template_top(ncx_module_t *mod, const xmlChar *modname, const xmlChar *objname)
Check if an obj_template_t in the mod->datadefQ or any of the include files visible to this module.
Definition: obj.c:5976
const obj_key_t * obj_next_ckey(const obj_key_t *objkey)
Get the next key record: Const version.
Definition: obj.c:10109
boolean obj_is_np_container(const obj_template_t *obj)
Check if the object is an Non-Presence-container.
Definition: obj.c:15299
void obj_free_deviation(obj_deviation_t *deviation)
Clean and free an object deviation statement.
Definition: obj.c:10435
void obj_sort_children(obj_template_t *obj)
Check all the child nodes of the specified object and rearrange them into alphabetical order,...
Definition: obj.c:16031
boolean obj_is_augment(const obj_template_t *obj)
Check if the obj is an augment statement.
Definition: obj.c:14477
const obj_key_t * obj_first_ckey(const obj_template_t *obj)
Get the first key record: Const version.
Definition: obj.c:10028
status_t obj_gen_object_id(const obj_template_t *obj, xmlChar **buff)
Malloc and Generate the object ID for an object node.
Definition: obj.c:10485
boolean obj_is_leaf(const obj_template_t *obj)
Check if object is a proper leaf.
Definition: obj.c:14097
const xmlChar * obj_get_help_description(const obj_template_t *obj)
Get the help description field for this obj Check if a 'help' appinfo node is present.
Definition: obj.c:11574
boolean obj_is_exclusive_rpc(const obj_template_t *obj)
Check if this object has the OBJ_FL_EXCLUSIVE_WRITE bit set.
Definition: obj.c:17779
boolean obj_is_root(const obj_template_t *obj)
Check if object is marked as a root object.
Definition: obj.c:14964
boolean obj_is_singular(const obj_template_t *obj)
Check if the object can have only one instance or not.
Definition: obj.c:18983
obj_template_t * obj_get_top_aio_get2(obj_template_t *child)
Find the top AIO object.
Definition: obj.c:19269
status_t obj_set_xpath_backptrs(obj_template_t *obj)
Check a top-level data node and all its descendants to see if they have any XPath expressions that ne...
Definition: obj.c:17345
const obj_template_t * obj_find_template_con(dlq_hdr_t *que, const xmlChar *modname, const xmlChar *objname)
Find an object with the specified name Return a const pointer; used by yangdump.
Definition: obj.c:5896
obj_deviate_t * obj_new_deviate(void)
Malloc and initialize the fields in a an object deviate statement.
Definition: obj.c:10325
boolean obj_find_all_descendants(ncx_module_t *exprmod, obj_walker_fn_t walkerfn, void *cookie1, void *cookie2, obj_template_t *startnode, const xmlChar *modname, const xmlChar *name, boolean configonly, boolean textmode, boolean useroot, boolean orself, boolean *fncalled)
Find all occurances of the specified node(s) within the descendants of the current node.
Definition: obj.c:8181
void obj_set_dup_local(obj_template_t *obj)
Flag the object as one that has a duplicate sibling with the same local-name and different module nam...
Definition: obj.c:17687
boolean obj_is_very_secure(const obj_template_t *obj)
Check if object is tagged ncx:very-secure.
Definition: obj.c:15263
uint32 obj_enabled_child_count(obj_template_t *obj)
Get the count of the number of enabled child nodes for the object template.
Definition: obj.c:16492
ncx_module_t * obj_get_mod_for_dump(obj_template_t *obj)
Get the module pointer for this object Use for sub-module !!! Used by yangdump-pro!...
Definition: obj.c:13038
boolean obj_parent_same_module(const obj_template_t *obj)
Check if the object parent object is the same.
Definition: obj.c:17979
boolean obj_npcon_has_defaults(obj_template_t *obj)
Check if the specified NP container has defaults within it Must be a config object!...
Definition: obj.c:12449
boolean obj_has_mandatory_children(obj_template_t *obj)
Check if there are any mandatory children.
Definition: obj.c:19128
uint16 obj_index_t
object index only applies to child nodes; this is assigned at runtime and any augments loaded at run-...
Definition: obj.h:753
obj_augtype_t
enumeration for different YANG augment statement types
Definition: obj.h:757
unsigned long oid_t
data type used in SNMP
Definition: obj.h:1152
uint8 obj_testflags_t
object test flags
Definition: obj.h:1167
obj_deviate_arg_t
type of deviation for each deviate entry
Definition: obj.h:1320
obj_type_t
enumeration for different YANG data def statement types the enum order is significant!...
Definition: obj.h:646
boolean(* obj_walker_fn_t)(obj_template_t *obj, void *cookie1, void *cookie2, boolean nonconfig_warn)
child or descendant node search walker function
Definition: obj.h:1425
@ OBJ_AUGTYP_RPCOUT
rpc output
Definition: obj.h:760
@ OBJ_AUGTYP_NONE
not set
Definition: obj.h:758
@ OBJ_AUGTYP_DATA
within data
Definition: obj.h:762
@ OBJ_AUGTYP_RPCIN
rpc input
Definition: obj.h:759
@ OBJ_AUGTYP_CASE
case
Definition: obj.h:761
@ OBJ_DARG_NONE
not set
Definition: obj.h:1321
@ OBJ_DARG_NOT_SUPPORTED
deviate not-supported
Definition: obj.h:1325
@ OBJ_DARG_DELETE
deviate delete
Definition: obj.h:1323
@ OBJ_DARG_ADD
deviate add
Definition: obj.h:1322
@ OBJ_DARG_REPLACE
deviate replace
Definition: obj.h:1324
@ OBJ_TYP_CASE
This object represents a YANG case schema node.
Definition: obj.h:676
@ OBJ_TYP_ANYXML
This object represents a YANG 1.1 anydata data node.
Definition: obj.h:650
@ OBJ_TYP_CHOICE
This object represents a YANG choice schema node.
Definition: obj.h:671
@ OBJ_TYP_ACTION
This object represents a YANG 1.1 action schema node.
Definition: obj.h:742
@ OBJ_TYP_REFINE
This object represents a YANG refine statement.
Definition: obj.h:695
@ OBJ_TYP_USES
This object represents a YANG uses schema node.
Definition: obj.h:687
@ OBJ_TYP_NOTIF
This object represents a YANG notification statement.
Definition: obj.h:732
@ OBJ_TYP_LEAF_LIST
This object represents a YANG leaf-list data node.
Definition: obj.h:662
@ OBJ_TYP_LEAF
This object represents a YANG leaf data node.
Definition: obj.h:659
@ OBJ_TYP_ANYDATA
This object represents a YANG 1.1 anydata data node.
Definition: obj.h:735
@ OBJ_TYP_NONE
not set
Definition: obj.h:647
@ OBJ_TYP_RPCIO
This object represents a YANG input or output statement.
Definition: obj.h:723
@ OBJ_TYP_RPC
This object represents a YANG rpc statement.
Definition: obj.h:715
@ OBJ_TYP_CONTAINER
This object represents a YANG presence or non-presence container.
Definition: obj.h:656
@ OBJ_TYP_LIST
This object represents a YANG list data node.
Definition: obj.h:665
@ OBJ_TYP_AUGMENT
This object represents a YANG augment statement.
Definition: obj.h:706
YANG Grouping Statement Handler.
NCX System Logging Manager.
YANG module data structures Many internal representations of YANG module constructs.
NETCONF protocol remote procedure call common definitions.
Global error messages for status code enumerations.
One YANG 'grouping' definition – sibling set template.
Definition: grp.h:87
used with various structs to cache back-ptrs the 'node' pointer may or may not be malloced!...
Definition: ncxtypes.h:1511
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information
Definition: ncxtypes.h:864
YANG if-feature entry.
Definition: ncxtypes.h:940
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1125
Schema Mount Root Control Block used in the object template.
Definition: ncxtypes.h:1860
One YANG augment statement struct (top-level or in case-stmt.
Definition: obj.h:1071
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: obj.h:1087
ncx_status_t status
status-stmt
Definition: obj.h:1086
xmlChar * target
Xpath schema-node target to augment.
Definition: obj.h:1073
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:1079
obj_augtype_t augtype
internal augment type enum
Definition: obj.h:1085
uint16 depth
internal nest depth of augment
Definition: obj.h:1088
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:1076
struct obj_template_t_ * targobj
resolved backptr to augmented object
Definition: obj.h:1082
One YANG 'case' definition.
Definition: obj.h:946
xmlChar * name
case name
Definition: obj.h:947
ncx_status_t status
status-stmt
Definition: obj.h:960
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:953
boolean nameclone
the nameclone flag is set even though the clone bit is also set; this can probably be removed
Definition: obj.h:959
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:950
dlq_hdr_t * datadefQ
Q of obj_template_t.
Definition: obj.h:955
One YANG 'choice' definition.
Definition: obj.h:930
dlq_hdr_t * caseQ
Q of obj_template_t.
Definition: obj.h:939
xmlChar * name
choice name
Definition: obj.h:931
ncx_status_t status
status-stmt
Definition: obj.h:941
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:938
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:935
xmlChar * defval
default case
Definition: obj.h:932
boolean caseQclone
flag caseQ is cloned
Definition: obj.h:940
One YANG 'container' definition.
Definition: obj.h:803
xmlChar * name
name of container
Definition: obj.h:805
ncx_status_t status
status-stmt
Definition: obj.h:818
xmlChar * ref
reference-stmt (not saved by server)
Definition: obj.h:811
dlq_hdr_t mustQ
Q of xpath_pcb_t.
Definition: obj.h:819
xmlChar * presence
presence-stmt
Definition: obj.h:814
xmlChar * descr
description-stmt (not saved by server)
Definition: obj.h:808
struct obj_template_t_ * defaultparm
default parm for yangcli
Definition: obj.h:820
dlq_hdr_t * typedefQ
Q of typ_template_t.
Definition: obj.h:815
dlq_hdr_t * datadefQ
Q of obj_template_t.
Definition: obj.h:817
dlq_hdr_t * groupingQ
Q of grp_template_t.
Definition: obj.h:816
One YANG 1.1 default stored in a Q for refine and deviate.
Definition: obj.h:775
xmlChar * def
default value string
Definition: obj.h:777
dlq_hdr_t qhdr
queue header
Definition: obj.h:776
ncx_error_t def_tkerr
file and line info for compiler
Definition: obj.h:778
YANG deviate statement struct.
Definition: obj.h:1330
dlq_hdr_t defval_tkQ
Q of obj_defval_tk_t (leaf-list can have multiple default-stmt)
Definition: obj.h:1363
dlq_hdr_t uniqueQ
Q of obj_unique_t.
Definition: obj.h:1385
ncx_error_t tkerr
the error info for each sub-clause is saved because when the deviation-stmt is parsed,...
Definition: obj.h:1339
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: obj.h:1386
ncx_error_t arg_tkerr
same comment as tkerr
Definition: obj.h:1348
dlq_hdr_t mustQ
Q of xpath_pcb_t.
Definition: obj.h:1384
boolean config
deviating config-stmt
Definition: obj.h:1366
dlq_hdr_t qhdr
queue header
Definition: obj.h:1331
typ_def_t * typdef
typedef if deviating the type
Definition: obj.h:1351
ncx_error_t type_tkerr
same comment as tkerr
Definition: obj.h:1354
uint32 maxelems
deviating max-elements
Definition: obj.h:1382
ncx_error_t config_tkerr
same comment as tkerr
Definition: obj.h:1369
uint32 minelems
deviating min-elements
Definition: obj.h:1378
ncx_error_t minelems_tkerr
also minset
Definition: obj.h:1379
xmlChar * units
units if deviating the units
Definition: obj.h:1357
boolean empty
deviate-stmt is empty
Definition: obj.h:1342
ncx_error_t units_tkerr
same comment as tkerr
Definition: obj.h:1360
ncx_error_t maxelems_tkerr
also maxset
Definition: obj.h:1383
ncx_error_t mandatory_tkerr
same comment as tkerr
Definition: obj.h:1375
obj_deviate_arg_t arg
deviate argument enum
Definition: obj.h:1345
boolean mandatory
deviating mandatory-stmt
Definition: obj.h:1372
YANG deviation statement struct.
Definition: obj.h:1391
ncx_error_t tkerr
file and line info for compiler
Definition: obj.h:1404
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: obj.h:1410
xmlChar * target
schema-node target to deviate
Definition: obj.h:1393
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:1401
xmlChar * devmodname
set if not the targmod
Definition: obj.h:1405
dlq_hdr_t qhdr
queue header
Definition: obj.h:1392
obj_template_t * targobj
target object when resolved
Definition: obj.h:1395
dlq_hdr_t deviateQ
Q of obj_deviate_t.
Definition: obj.h:1409
status_t res
parse status
Definition: obj.h:1408
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:1398
boolean empty
for display in yangdump
Definition: obj.h:1406
boolean annotation
set from annotation
Definition: obj.h:1407
xmlChar * targmodname
target module name
Definition: obj.h:1394
custom error message filter control block
Definition: obj.h:1121
dlq_hdr_t qhdr
queue header
Definition: obj.h:1122
boolean is_errortag
error-tag flag
Definition: obj.h:1124
xmlChar * matchstr
message string to match
Definition: obj.h:1123
custom error message parameter control block
Definition: obj.h:1129
dlq_hdr_t qhdr
queue header
Definition: obj.h:1130
uint32 len
state : length
Definition: obj.h:1134
xmlChar * path
path of replacement data
Definition: obj.h:1131
xmlChar * valstr
state: value string
Definition: obj.h:1137
custom error message control block
Definition: obj.h:1142
xmlChar * langstr
language string
Definition: obj.h:1145
dlq_hdr_t qhdr
queue header
Definition: obj.h:1143
dlq_hdr_t parmQ
Q of obj_errmsg_parm_t.
Definition: obj.h:1146
xmlChar * basestr
base string
Definition: obj.h:1144
dlq_hdr_t filterQ
Q of obj_errmsg_filter_t.
Definition: obj.h:1147
back-pointer to inherited if-feature statements
Definition: obj.h:1114
dlq_hdr_t qhdr
queue heaader
Definition: obj.h:1115
ncx_iffeature_t * iffeature
if-feature back-ptr
Definition: obj.h:1116
One YANG list key component.
Definition: obj.h:767
struct obj_template_t_ * keyobj
backptr to key object
Definition: obj.h:769
dlq_hdr_t qhdr
queue header
Definition: obj.h:768
boolean seen
used by yangdiff
Definition: obj.h:770
One YANG 'leaf' or 'anyxml' or 'anydata' definition.
Definition: obj.h:826
struct obj_template_t_ * leafrefobj
leafref obj backptr only if btyp == NCX_BT_LEAFREF
Definition: obj.h:857
xmlChar * name
name of leaf or anyxml/anydata
Definition: obj.h:828
ncx_status_t status
status-stmt
Definition: obj.h:846
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:840
dlq_hdr_t mustQ
Q of xpath_pcb_t.
Definition: obj.h:851
typ_def_t * typdef
typedef for the data type (leaf only)
Definition: obj.h:843
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:837
xmlChar * units
units-stmt only in a leaf
Definition: obj.h:831
dlq_hdr_t leafrefQ
used for quick validation on server
Definition: obj.h:854
xmlChar * defval
default-stmt only in a leaf
Definition: obj.h:834
uint16 keynum
internal key number only for keay leafs
Definition: obj.h:849
One YANG 'leaf-list' definition.
Definition: obj.h:862
struct obj_template_t_ * leafrefobj
leafref obj backptr only if btyp == NCX_BT_LEAFREF
Definition: obj.h:891
xmlChar * name
leaf-list name
Definition: obj.h:864
ncx_status_t status
status-stmt
Definition: obj.h:885
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:873
boolean minset
min-elements set
Definition: obj.h:881
boolean maxset
max-elements set
Definition: obj.h:883
dlq_hdr_t mustQ
Q of xpath_pcb_t.
Definition: obj.h:886
typ_def_t * typdef
typedef for the data type
Definition: obj.h:876
uint32 maxelems
max-elements value
Definition: obj.h:884
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:870
uint32 minelems
min-elements value
Definition: obj.h:882
xmlChar * units
units-stmt
Definition: obj.h:867
dlq_hdr_t leafrefQ
Q of ncx_backptr_t to obj_template_t.
Definition: obj.h:887
dlq_hdr_t defvalQ
YANG 1.1, Q of malloced ncx_backptr_t.
Definition: obj.h:888
boolean ordersys
ordered-by system or user
Definition: obj.h:880
boolean defset
T if any defaults specified for this leaf-list.
Definition: obj.h:879
One YANG 'list' definition.
Definition: obj.h:896
dlq_hdr_t uniqueQ
Q of obj_unique_t.
Definition: obj.h:912
xmlChar * name
list name
Definition: obj.h:898
ncx_status_t status
status-stmt
Definition: obj.h:918
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:907
ncx_error_t keytkerr
saved error info for key-stmt errors
Definition: obj.h:922
boolean minset
min-elements set
Definition: obj.h:914
boolean maxset
max-elements set
Definition: obj.h:916
dlq_hdr_t mustQ
Q of xpath_pcb_t.
Definition: obj.h:919
xmlChar * keystr
key-stmt (not required if config=false)
Definition: obj.h:901
uint32 maxelems
max-elements value
Definition: obj.h:917
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:904
uint32 minelems
min-elements value
Definition: obj.h:915
obj_index_t last_index
internal numbering data for val_child ordering
Definition: obj.h:925
dlq_hdr_t keyQ
Q of obj_key_t.
Definition: obj.h:911
boolean ordersys
ordered-by system or user
Definition: obj.h:913
dlq_hdr_t * typedefQ
Q of typ_template_t.
Definition: obj.h:908
dlq_hdr_t * datadefQ
Q of obj_template_t.
Definition: obj.h:910
dlq_hdr_t * groupingQ
Q of grp_template_t.
Definition: obj.h:909
One YANG 'notification' clause definition.
Definition: obj.h:1093
boolean in_data
defined in data, YANG 1.1 only
Definition: obj.h:1109
boolean notif_enabled
enabled or disabled in server
Definition: obj.h:1107
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: obj.h:1105
xmlChar * name
notification name
Definition: obj.h:1095
ncx_status_t status
status-stmt
Definition: obj.h:1102
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:1101
dlq_hdr_t mustQ
Q of xpath_pcb_t.
Definition: obj.h:1106
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:1098
boolean notif_log_drops
log drops for this event type
Definition: obj.h:1108
dlq_hdr_t * typedefQ
Q of typ_template_t.
Definition: obj.h:1103
dlq_hdr_t * groupingQ
Q of gtp_template_t.
Definition: obj.h:1104
defines the snmp oid value, stored as an array of integers for easier comparision when performing AVL...
Definition: obj.h:1160
oid_t * oidc
OID component.
Definition: obj.h:1162
uint8 cnt
amount of Sub-Ids (max 128)
Definition: obj.h:1161
One YANG refine statement struct.
Definition: obj.h:982
dlq_hdr_t defval_tkQ
Q of obj_defval_tk_t.
Definition: obj.h:1012
xmlChar * target
relative-path of the object to refine
Definition: obj.h:984
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:1001
dlq_hdr_t mustQ
Q of xpath_pcb_t.
Definition: obj.h:1023
xmlChar * presence
refining the presence-stmt
Definition: obj.h:1007
uint32 maxelems
max-elements value
Definition: obj.h:1021
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:990
ncx_error_t ref_tkerr
same comment as descr_tkerr applies here
Definition: obj.h:1004
ncx_error_t config_tkerr
config and confset are in the object flags
Definition: obj.h:1015
uint32 minelems
min-elements value
Definition: obj.h:1019
struct obj_template_t_ * targobj
resolved target object to refine
Definition: obj.h:987
ncx_error_t minelems_tkerr
also minset
Definition: obj.h:1020
ncx_error_t descr_tkerr
the token for each sub-clause is saved because when the refine-stmt is parsed, the target is not know...
Definition: obj.h:998
ncx_error_t maxelems_tkerr
also maxset
Definition: obj.h:1022
ncx_error_t presence_tkerr
same comment as descr_tkerr applies here
Definition: obj.h:1010
ncx_error_t mandatory_tkerr
mandatory and mandset are in the object flags
Definition: obj.h:1018
One YANG rpc-stmt struct.
Definition: obj.h:1048
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: obj.h:1061
xmlChar * name
rpc method name
Definition: obj.h:1050
ncx_status_t status
status-stmt
Definition: obj.h:1058
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:1056
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:1053
boolean supported
mod loaded, not implemented
Definition: obj.h:1066
dlq_hdr_t * typedefQ
Q of typ_template_t.
Definition: obj.h:1059
dlq_hdr_t * groupingQ
Q of gtp_template_t.
Definition: obj.h:1060
xmlns_id_t nsid
internal fields for manager and agent
Definition: obj.h:1065
boolean is_action
YANG 1.1 only.
Definition: obj.h:1062
One YANG input-stmt or output-stmt struct.
Definition: obj.h:1028
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: obj.h:1032
xmlChar * name
input or output
Definition: obj.h:1029
dlq_hdr_t mustQ
Q of xpath_pcb_t.
Definition: obj.h:1033
boolean is_input
YPW-1406: the name can be changed temporarily in XPath validation so need a flag to tell if input or ...
Definition: obj.h:1038
struct obj_template_t_ * defaultparm
the defaultparm is only used by yangcli-pro to allow 1 parameter in a command to be entered without a...
Definition: obj.h:1043
dlq_hdr_t * typedefQ
Q of typ_template_t.
Definition: obj.h:1030
dlq_hdr_t * groupingQ
Q of gtp_template_t.
Definition: obj.h:1031
One YANG data-def-stmt.
Definition: obj.h:1174
ncx_error_t tkerr
file and line info for compiler
Definition: obj.h:1189
ncx_sid_t yang_sid
Each object specific variant has a YANG SID assigned for CBOR encoding.
Definition: obj.h:1299
obj_oid_t * oid
SNMP OID for this object (set if needed)
Definition: obj.h:1193
ncx_transaction_id_t leafref_txid
current edit transaction ID for intermediate leafref processing
Definition: obj.h:1269
uint32 yang_hash
experimental: not used
Definition: obj.h:1178
obj_testflags_t desc_testflags
see AGT_TEST_FL_* definitions
Definition: obj.h:1188
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: obj.h:1203
dlq_hdr_t iffeatureQ
Q of ncx_iffeature_t.
Definition: obj.h:1204
dlq_hdr_t * errmsgQ
custom error message used if this is the server running
Definition: obj.h:1251
dlq_hdr_t xpath_backptrQ
Q of ncx_back_ptr_t with node == xpath_pcb_t.
Definition: obj.h:1242
void * def_hook_cb
def_hook_cb is ncx_def_hook_cbfn_t callback function for Dynamic Default Hook callback.
Definition: obj.h:1290
uint8 silflags
see OBJ_FL_* definitions
Definition: obj.h:1185
dlq_hdr_t inherited_whenQ
Q of ncx_backptr_t with node == xpath_pcb_t.
Definition: obj.h:1209
struct obj_template_t_ * usesobj
backptr to uses-obj if grouping expand
Definition: obj.h:1198
uint8 sil_priority
picks SIL callback order
Definition: obj.h:1186
ncx_transaction_id_t edit_txid
current edit transaction ID for commit test pruning
Definition: obj.h:1260
ncx_transaction_id_t must_txid
current edit transaction ID for MUST test default nodes pruning
Definition: obj.h:1263
boolean set_snmp_flags
need SNMP flags
Definition: obj.h:1194
ncx_transaction_id_t when_txid
current edit transaction ID for WHEN test default nodes pruning
Definition: obj.h:1266
dlq_hdr_t metadataQ
Q of obj_metadata_t.
Definition: obj.h:1202
void * yangmap_cb
if set, backptr to the nodemap in a YANG model mapping OBJ_IS_YANGMAP_SOURCE() indicates this is the ...
Definition: obj.h:1257
dlq_hdr_t qhdr
queue header
Definition: obj.h:1175
grp_template_t * grp
non-NULL == in a grp.datadefQ
Definition: obj.h:1190
boolean xpath_oper_ok
object OK for referencing oper-data in XPath
Definition: obj.h:1195
dlq_hdr_t inherited_iffeatureQ
Q of obj_iffeature_ptr_t.
Definition: obj.h:1206
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: obj.h:1302
struct xpath_pcb_t_ * when
optional when clause
Definition: obj.h:1201
uint32 flags
see OBJ_FL_* definitions
Definition: obj.h:1180
ncx_sm_rootcb_t * rootcb
Schema Mount Control Block.
Definition: obj.h:1293
uint32 xflags
see OBJ_FL_* definitions
Definition: obj.h:1181
uint32 xflags2
see OBJ_FL_* definitions
Definition: obj.h:1182
obj_index_t index
object index for val_child ordering
Definition: obj.h:1191
struct obj_template_t_ * parent
backptr to parent
Definition: obj.h:1197
obj_type_t objtype
object type (def)
Definition: obj.h:1176
void * commit_test_cb
backptr to the commit_test record for this object which will only exist if this object has 'must' or ...
Definition: obj.h:1248
uint32 uflags
see OBJ_FL_* definitions
Definition: obj.h:1184
obj_testflags_t testflags
see AGT_TEST_FL_* definitions
Definition: obj.h:1187
void * get2cb
get2fn is getcb_fn2_t for local GET2
Definition: obj.h:1224
dlq_hdr_t * dataruleQ
Q obj NACM data-rule backptrs.
Definition: obj.h:1212
void * cbset
cbset is different based on the object type:
Definition: obj.h:1221
struct ncx_module_t_ * mod
object module and namespace ID assigned at runtime this can be changed over and over as a uses statem...
Definition: obj.h:1233
xmlns_id_t nsid
namespace ID assigned to the object at run-time
Definition: obj.h:1236
struct obj_template_t_ * augobj
backptr to augment-obj if augment expand
Definition: obj.h:1199
One component in a YANG list unique target.
Definition: obj.h:783
boolean isduplicate
T: will be ignored by server.
Definition: obj.h:787
dlq_hdr_t qhdr
queue header
Definition: obj.h:784
xmlChar * xpath
saved unique str for this obj
Definition: obj.h:786
struct obj_template_t_ * unobj
unique object target
Definition: obj.h:785
One component in a YANG list unique target.
Definition: obj.h:792
ncx_error_t tkerr
file and line info for compiler
Definition: obj.h:798
dlq_hdr_t compQ
Q of obj_unique_comp_t.
Definition: obj.h:795
dlq_hdr_t qhdr
queue header
Definition: obj.h:793
xmlChar * xpath
complete saved unique str
Definition: obj.h:794
boolean isconfig
T:constraint is on config.
Definition: obj.h:797
boolean seen
needed by yangdiff
Definition: obj.h:796
One YANG uses statement struct.
Definition: obj.h:965
boolean expand_done
expand done flag
Definition: obj.h:977
xmlChar * name
name of grouping to use
Definition: obj.h:967
ncx_status_t status
status-stmt
Definition: obj.h:976
xmlChar * ref
reference-stmt (not saved on server)
Definition: obj.h:973
grp_template_t * grp
const back-ptr to grouping
Definition: obj.h:974
xmlChar * descr
description-stmt (not saved on server)
Definition: obj.h:970
xmlChar * prefix
prefix present in uses-stmt
Definition: obj.h:966
dlq_hdr_t * datadefQ
Q of obj_template_t.
Definition: obj.h:975
token parsing chain (main parser control block)
Definition: tk.h:415
Discriminated union for all data typedefs.
Definition: typ.h:458
One YANG 'typedef' definition – top-level type template.
Definition: typ.h:477
gather node data into a simple struct.
Definition: xml_util.h:205
NCX Syntax Token Handler.
object specific variants
Definition: obj.h:1272