67#define SET_MOD_ABORTED(M) (M)->flags |= NCX_FL_MOD_ABORTED
70#define GET_MOD_ABORTED(M) ((M)->flags & NCX_FL_MOD_ABORTED)
76#define SET_MOD_SIL_LOADED(M) (M)->flags |= NCX_FL_MOD_SIL_LOADED
79#define GET_MOD_SIL_LOADED(M) ((M)->flags & NCX_FL_MOD_SIL_LOADED)
84#define SET_MOD_NO_SIL_CODE(M) (M)->flags |= NCX_FL_MOD_NO_SIL_CODE
87#define GET_MOD_NO_SIL_CODE(M) ((M)->flags & NCX_FL_MOD_NO_SIL_CODE)
93#define SET_MOD_SILSA_DONE(M) (M)->flags |= NCX_FL_MOD_SILSA_DONE
96#define GET_MOD_SILSA_DONE(M) ((M)->flags & NCX_FL_MOD_SILSA_DONE)
109#define SID_IS_UPDATE(M) ((M)->yang_sid_flags & NCX_FL_SID_UPDATE)
112#define SID_IS_UNSTABLE(M) ((M)->yang_sid_flags & NCX_FL_SID_UNSTABLE)
115#define SID_IS_OBSOLETE(M) ((M)->yang_sid_flags & NCX_FL_SID_OBSOLETE)
123#define NCX_YANG_SID(X) (X)->yang_sid
129#define NCX_YANG_SID_TREE(X) (X)->yang_sid_tree
133#define NCX_YANG_SID_FLAGS(X) (X)->yang_sid_flags
205typedef enum ncx_access_t_ {
215#define NCX_DEF_ACCESS NCX_ACCESS_RC
226typedef enum ncx_data_class_t_ {
236typedef enum ncx_btype_t_ {
424#define NCX_FIRST_DATATYPE NCX_BT_ANY
425#define NCX_LAST_DATATYPE NCX_BT_ANYDATA
426#define NCX_NUM_BASETYPES (NCX_LAST_DATATYPE-NCX_FIRST_DATATYPE+1)
430typedef enum ncx_tclass_t_ {
443typedef enum ncx_indextyp_t_ {
460typedef enum ncx_node_t_ {
483typedef enum ncx_iqual_t_ {
492typedef enum ncx_merge_t_ {
501typedef enum ncx_squal_t_ {
511typedef enum ncx_strrest_t_ {
520typedef enum ncx_numfmt_t_ {
530typedef enum ncx_layer_t_ {
540typedef enum ncx_agttarg_t_ {
551typedef enum ncx_agtstart_t_ {
559typedef enum ncx_shutdowntyp_t_ {
571typedef enum ncx_cfg_t_ {
579#define NCX_CFGID_MIN NCX_CFGID_RUNNING
580#define NCX_CFGID_MAX NCX_CFGID_OPERATIONAL
581#define NCX_CFGID_CNT (NCX_CFGID_MAX+1)
585typedef enum ncx_instfmt_t_ {
598typedef enum ncx_msgtyp_t_ {
607typedef enum ncx_status_t_ {
618typedef enum ncx_bad_data_t_ {
641typedef enum ncx_display_mode_t_ {
671typedef enum ncx_msg_encoding_t_ {
686typedef enum ncx_xpath_axis_t_ {
719typedef enum ncx_name_match_t_ {
764typedef uint64 ncx_sid_t;
765#define MAX_YANG_SID 0x7fffffffffffffff
766#define SID_T unsigned long long int
769#define MAX_SID_RANGE_SIZE 0xffffffff
772#define TXID_T long long unsigned int
781typedef struct ncx_sid_range_t_ {
809typedef struct ncx_dec64_t_ {
819typedef union ncx_num_t_ {
843typedef const xmlChar * ncx_const_str_t;
846typedef struct ncx_enum_t_ {
854typedef struct ncx_bit_t_ {
864typedef struct ncx_lmem_t_ {
894typedef struct ncx_list_t_ {
901typedef struct ncx_binary_t_ {
912typedef struct ncx_error_t_ {
913 struct ncx_module_t_ *
mod;
922typedef struct ncx_appinfo_t_ {
936 struct ext_template_t_ *
ext;
950typedef struct ncx_revhist_t_ {
972typedef struct ncx_iff_ref_t_ {
988typedef struct ncx_iffeature_t_ {
1028typedef enum ncx_feature_code_t_ {
1036typedef enum ncx_protocol_t_ {
1049typedef enum ncx_yang_version_t_ {
1057typedef struct ncx_feature_t_ {
1100typedef struct ncx_filptr_t_ {
1126typedef struct ncx_idlink_t_ {
1134typedef struct ncx_identity_base_t_ {
1143typedef struct ncx_identity_t_ {
1180typedef struct ncx_module_t_ {
1309typedef enum ncx_cvttyp_t_ {
1332typedef enum ncx_withdefaults_t_ {
1341typedef enum ncx_xpath_type_t_ {
1352typedef struct ncx_import_t_ {
1382typedef struct ncx_include_t_ {
1404typedef enum ncx_opt_t_ {
1411typedef enum ncx_strtyp_t_ {
1420typedef struct ncx_errinfo_t_ {
1442typedef struct ncx_typname_t_ {
1497 struct obj_template_t_ *obj);
1518 struct obj_template_t_ *object,
1548typedef enum ncx_modformat_t_ {
1559typedef struct ncx_save_deviations_t_ {
1569typedef enum ncx_confirm_event_t_ {
1584typedef struct ncx_backptr_t_ {
1618typedef const xmlChar *
1625typedef enum ncx_leafref_class_t_ {
1661typedef enum ncx_snmp_agt_role_t_ {
1669typedef struct ncx_modcache_t_ {
1678typedef struct ncx_errmsg_t_ {
1685typedef enum ncx_nmda_ds_t_ {
1696typedef enum ncx_nmda_origin_t_ {
1708typedef struct ncx_origin_filter_t_ {
1717typedef struct ncx_nmda_params_t_ {
1749typedef enum ncx_nmda_filtyp_t_ {
1750 NCX_NMDA_FILTYP_NONE,
1751 NCX_NMDA_FILTYP_STREAM,
1752 NCX_NMDA_FILTYP_SELECTION,
1757typedef enum ncx_ses_event_t_ {
1765typedef enum ncx_config_state_t_ {
1794 struct obj_template_t_ *obj,
1803typedef struct ncx_prefix_info_t_ {
1812typedef enum ncx_bad_reply_enum_t_ {
1821typedef enum ncx_sid_ns_t_ {
1831typedef enum ncx_yang_sid_mode_t_ {
1841typedef enum ncx_sm_state_t_ {
1855typedef enum ncx_sort_type_t_ {
1869typedef struct ncx_sm_mpid_t_ {
1917typedef struct ncx_yanglib_cb_t_ {
1947typedef struct ncx_sm_rootcb_t_ {
dlq provides general double-linked list and queue support:
status_t
global error return code
Definition: status_enum.h:219
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
ncx_node_t
NCX Internal Node Types.
Definition: ncxtypes.h:460
ncx_leafref_class_t
Classification for the types of leafref path statements wrt/ how they can be cached.
Definition: ncxtypes.h:1625
ncx_status_t
enumeration for different YANG data-def status values
Definition: ncxtypes.h:607
uint32 ncx_etag_t
The ETag used in RESTCONF messages is the lower 32 bits of a ncx_transaction_id_t.
Definition: ncxtypes.h:777
status_t(* ncx_def_hook_cbfn_t)(struct val_value_t_ *parentval, struct obj_template_t_ *obj, xmlChar **buff)
Typedef of the ncx_def_hook_cbfn_t callback.
Definition: ncxtypes.h:1793
ncx_ses_event_t
internal enumerations for session event types
Definition: ncxtypes.h:1757
ncx_confirm_event_t
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well
Definition: ncxtypes.h:1569
void(* ncx_yang_obj_cbfn_t)(ncx_module_t *mod, struct obj_template_t_ *obj)
user function callback template when a YANG object is parsed by yang_obj.c.
Definition: ncxtypes.h:1496
ncx_sort_type_t
the sort type enumeration used for system-ordered list aand leaf-list objects
Definition: ncxtypes.h:1855
ncx_cvttyp_t
enumeration for different NCX module conversion output types
Definition: ncxtypes.h:1309
ncx_agttarg_t
enum to identify the agent native target
Definition: ncxtypes.h:540
ncx_numfmt_t
Enumeration of number format types.
Definition: ncxtypes.h:520
ncx_yang_sid_mode_t
YANG SID Allocation mode from yang-sid-mode typedef.
Definition: ncxtypes.h:1831
ncx_yang_version_t
enumeration for different YANG language versions
Definition: ncxtypes.h:1049
ncx_indextyp_t
Enumeration of the different types of index components YANG ONLY SUPPORTS NCX_IT_LOCAL.
Definition: ncxtypes.h:443
ncx_cfg_t
hardwire the 3 standard configs
Definition: ncxtypes.h:571
ncx_tclass_t
Enumeration of the basic value type classifications.
Definition: ncxtypes.h:430
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:752
ncx_msgtyp_t
enumeration for different NETCONF message types
Definition: ncxtypes.h:598
ncx_feature_code_t
Feature code generation type (deprecated)
Definition: ncxtypes.h:1028
ncx_agtstart_t
enum to identify the agent native startup mode
Definition: ncxtypes.h:551
xmlChar * ncx_str_t
string alias for data types:
Definition: ncxtypes.h:841
ncx_iqual_t
The instance qualifier types are borrowed from ABNF and RelaxNG.
Definition: ncxtypes.h:483
ncx_strrest_t
Enumeration of string restriction types.
Definition: ncxtypes.h:511
ncx_msg_encoding_t
enumeration for message encoding formats
Definition: ncxtypes.h:671
ncx_snmp_agt_role_t
enum to identify the SNMP agent native mode
Definition: ncxtypes.h:1661
ncx_protocol_t
NCX session protocol versions supported.
Definition: ncxtypes.h:1036
ncx_btype_t
enumeration of the built-in NCX types These types cannot be overridden and cannot be imported
Definition: ncxtypes.h:236
ncx_access_t
NCX Access Control 'max-access' enumeration values Note that access control is applied to the session...
Definition: ncxtypes.h:205
void(* ncx_unload_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is unloaded from the system
Definition: ncxtypes.h:1476
boolean(* ncx_identity_cbfn_t)(ncx_identity_t *identity, void *cookie)
user function callback template to traverse all module identities looking for matches for a specified...
Definition: ncxtypes.h:1604
ncx_bad_reply_enum
enumeration for CLI handling of bad nodes from RPC reply Controls the behavior of the MGR XML parser
Definition: ncxtypes.h:1812
ncx_data_class_t
NCX Persistence Control.
Definition: ncxtypes.h:226
uint8 ncx_owner_id_t
used as index into the agt_owner registry
Definition: ncxtypes.h:1608
ncx_opt_t
enum for REQUIRED vs.
Definition: ncxtypes.h:1404
ncx_bad_data_t
enumeration for CLI handling of bad input data used by yangcli, all others use NCX_BAD_DATA_ERROR
Definition: ncxtypes.h:618
ncx_nmda_filtyp_t
internal enumerations for NMDA filter types used in the /filters container NCX_NMDA_FILTYP_STREAM == ...
Definition: ncxtypes.h:1749
ncx_sid_ns_t
enumeration for YANG SID namespace identifiers
Definition: ncxtypes.h:1821
ncx_name_match_t
Node name match modes.
Definition: ncxtypes.h:719
ncx_layer_t
Enumeration of NETCONF protocol layers.
Definition: ncxtypes.h:530
ncx_merge_t
The merge type for the NETCONF merge operation.
Definition: ncxtypes.h:492
ncx_nmda_ds_t
internal enumerations for standard NMDA datastores
Definition: ncxtypes.h:1685
ncx_result_format_t
specify the requested result format type Used by yangcli-pro assign statement
Definition: ncxtypes.h:743
ncx_squal_t
typdef search qualifier list (internal compiler modes)
Definition: ncxtypes.h:501
boolean(* ncx_object_cbfn_t)(const ncx_module_t *mod, struct obj_template_t_ *object, void *cookie)
user function callback template to traverse all module objects for a specified module
Definition: ncxtypes.h:1517
ncx_xpath_type_t
enumeration for different XPath back pointer types
Definition: ncxtypes.h:1341
ncx_nmda_origin_t
internal enumerations for standard NMDA origins
Definition: ncxtypes.h:1696
ncx_config_state_t
server config state Root Check
Definition: ncxtypes.h:1765
ncx_display_mode_t
enumeration of val_dump_value display modes Some RESTCONF code uses this field incorrectly for messag...
Definition: ncxtypes.h:641
ncx_sm_state_t
enumeration for yangcli processsing of schema mount info
Definition: ncxtypes.h:1841
boolean(* ncx_feature_cbfn_t)(const ncx_module_t *mod, ncx_feature_t *feature, void *cookie)
user function callback template to traverse all module features for a specified module
Definition: ncxtypes.h:1540
ncx_strtyp_t
enum for WHITESPACE ALLOWED vs.
Definition: ncxtypes.h:1411
ncx_modformat_t
enum for get-schema format type enum values matches the schema-format identities in RFC 6022
Definition: ncxtypes.h:1548
ncx_withdefaults_t
enum for with-defaults enum values
Definition: ncxtypes.h:1332
void(* ncx_load_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is loaded into the system
Definition: ncxtypes.h:1462
ncx_shutdowntyp_t
enumeration of the different program shutdown modes
Definition: ncxtypes.h:559
ncx_xpath_axis_t
XPath expression axis types.
Definition: ncxtypes.h:686
ncx_instfmt_t
instance identifier string format types
Definition: ncxtypes.h:585
@ NCX_NT_STRING
xmlChar *, error only
Definition: ncxtypes.h:467
@ NCX_NT_GRP
grp_template_t
Definition: ncxtypes.h:463
@ NCX_NT_TYP
typ_template_t
Definition: ncxtypes.h:462
@ NCX_NT_INDEX
obj_key_t *, error only
Definition: ncxtypes.h:469
@ NCX_NT_EXTENSION_CB
ext_template_t
Definition: ncxtypes.h:475
@ NCX_NT_INCLUDE_CB
ncx_include_t
Definition: ncxtypes.h:473
@ NCX_NT_UINT32_PTR
session ID, error only
Definition: ncxtypes.h:471
@ NCX_NT_IMPORT_CB
ncx_import_t
Definition: ncxtypes.h:472
@ NCX_NT_VAL
val_value_t
Definition: ncxtypes.h:464
@ NCX_NT_ERRINFO
ncx_errinfo_t, error only
Definition: ncxtypes.h:466
@ NCX_NT_FEATURE_CB
ncx_feature_t
Definition: ncxtypes.h:476
@ NCX_NT_TYPDEF_CB
typ_def_t
Definition: ncxtypes.h:478
@ NCX_NT_CFG
cfg_template_t *, error only
Definition: ncxtypes.h:468
@ NCX_NT_REVISION_CB
ncx_revhist_t
Definition: ncxtypes.h:474
@ NCX_NT_NONE
not set
Definition: ncxtypes.h:461
@ NCX_NT_IDENTITY_CB
ncx_identity_t
Definition: ncxtypes.h:477
@ NCX_NT_QNAME
xmlns_qname_t *, error only
Definition: ncxtypes.h:470
@ NCX_NT_OBJ
obj_template_t
Definition: ncxtypes.h:465
@ NCX_LEAFREF_CLASS_INSTANCE
the 'instance' class will have the same result for 1 or more instances of a specific object node (sta...
Definition: ncxtypes.h:1655
@ NCX_LEAFREF_CLASS_GLOBAL
the global class will have the same result for any context node (static, absolute path) /foo/bar/baz
Definition: ncxtypes.h:1641
@ NCX_LEAFREF_CLASS_LOCAL
the object class will have the same result for any instance of a specific object node (static,...
Definition: ncxtypes.h:1647
@ NCX_LEAFREF_CLASS_KEY
the key class with have the same result for any context node (static, absolute path) and the target i...
Definition: ncxtypes.h:1636
@ NCX_LEAFREF_CLASS_NONE
class not set
Definition: ncxtypes.h:1627
@ NCX_STATUS_NONE
not set
Definition: ncxtypes.h:608
@ NCX_STATUS_OBSOLETE
obsolete removed from tree
Definition: ncxtypes.h:611
@ NCX_STATUS_CURRENT
current (default)
Definition: ncxtypes.h:609
@ NCX_STATUS_DEPRECATED
deprecated (treated as current
Definition: ncxtypes.h:610
@ NCX_SES_EVENT_NONE
not set
Definition: ncxtypes.h:1758
@ NCX_SES_EVENT_END
session ended event
Definition: ncxtypes.h:1760
@ NCX_SES_EVENT_START
session started event
Definition: ncxtypes.h:1759
@ NCX_CC_EVENT_CANCEL
cancel event
Definition: ncxtypes.h:1572
@ NCX_CC_EVENT_START
start event
Definition: ncxtypes.h:1571
@ NCX_CC_EVENT_COMPLETE
CC complete event.
Definition: ncxtypes.h:1575
@ NCX_CC_EVENT_TIMEOUT
timeout event
Definition: ncxtypes.h:1573
@ NCX_CC_EVENT_EXTEND
extend event
Definition: ncxtypes.h:1574
@ NCX_CC_EVENT_NONE
not set
Definition: ncxtypes.h:1570
@ NCX_SORT_OFF
no sorting at all
Definition: ncxtypes.h:1857
@ NCX_SORT_NONE
not set
Definition: ncxtypes.h:1856
@ NCX_SORT_ASCENDING
sort in ascending order
Definition: ncxtypes.h:1858
@ NCX_SORT_DESCENDING
sort in descending order
Definition: ncxtypes.h:1859
@ NCX_CVTTYP_TG2
turbogears2 (not supported)
Definition: ncxtypes.h:1321
@ NCX_CVTTYP_UH
split u_foo.h file
Definition: ncxtypes.h:1324
@ NCX_CVTTYP_YH
split y_foo.h file
Definition: ncxtypes.h:1322
@ NCX_CVTTYP_BC
bundle y_foo.c file
Definition: ncxtypes.h:1326
@ NCX_CVTTYP_CPP_TEST
obsolete; not used
Definition: ncxtypes.h:1319
@ NCX_CVTTYP_UC
split u_foo.c file
Definition: ncxtypes.h:1325
@ NCX_CVTTYP_YC
split y_foo.c file
Definition: ncxtypes.h:1323
@ NCX_CVTTYP_C
SIL or SIL-SA C file.
Definition: ncxtypes.h:1318
@ NCX_CVTTYP_H
SIL or SIL-SA H file.
Definition: ncxtypes.h:1317
@ NCX_CVTTYP_YANG
canonical YANG (not supported)
Definition: ncxtypes.h:1315
@ NCX_CVTTYP_SQL
SQL format (not supported)
Definition: ncxtypes.h:1312
@ NCX_CVTTYP_NONE
not set
Definition: ncxtypes.h:1310
@ NCX_CVTTYP_SQLDB
netconfcentral.org dB format
Definition: ncxtypes.h:1313
@ NCX_CVTTYP_YIN
YIN format.
Definition: ncxtypes.h:1320
@ NCX_CVTTYP_XSD
XSD format (obsolete)
Definition: ncxtypes.h:1311
@ NCX_CVTTYP_HTML
netconfcentral WEB page format
Definition: ncxtypes.h:1314
@ NCX_CVTTYP_COPY
copy with new name
Definition: ncxtypes.h:1316
@ NCX_CVTTYP_BH
bundle y_foo.h file
Definition: ncxtypes.h:1327
@ NCX_AGT_TARG_LOCAL
TBD.
Definition: ncxtypes.h:544
@ NCX_AGT_TARG_NONE
not set
Definition: ncxtypes.h:541
@ NCX_AGT_TARG_CANDIDATE
target=candidate
Definition: ncxtypes.h:542
@ NCX_AGT_TARG_RUNNING
target=running
Definition: ncxtypes.h:543
@ NCX_AGT_TARG_REMOTE
TBD.
Definition: ncxtypes.h:545
@ NCX_AGT_TARG_CAND_RUNNING
TBD.
Definition: ncxtypes.h:546
@ NCX_NF_OCTAL
YANG octal format.
Definition: ncxtypes.h:522
@ NCX_NF_REAL
internal format for XPath
Definition: ncxtypes.h:525
@ NCX_NF_HEX
YANG hexidecimal format.
Definition: ncxtypes.h:524
@ NCX_NF_DEC
YANG deciaml format.
Definition: ncxtypes.h:523
@ NCX_NF_NONE
not set
Definition: ncxtypes.h:521
@ NCX_YANG_SID_MODE_SID_FILE
sid-file
Definition: ncxtypes.h:1833
@ NCX_YANG_SID_MODE_NONE
not set
Definition: ncxtypes.h:1832
@ NCX_YANG_SID_MODE_LSID_FILE
LSID FILE (Subscriber only)
Definition: ncxtypes.h:1835
@ NCX_YANG_SID_MODE_LSID
LSID (Publisher only)
Definition: ncxtypes.h:1834
@ NCX_IT_NONE
not set
Definition: ncxtypes.h:444
@ NCX_IT_INLINE
index simple type declared inline
Definition: ncxtypes.h:445
@ NCX_IT_SLOCAL
scoped local member within the table
Definition: ncxtypes.h:448
@ NCX_IT_LOCAL
local member within the table
Definition: ncxtypes.h:447
@ NCX_IT_NAMED
index named type declared inline
Definition: ncxtypes.h:446
@ NCX_IT_REMOTE
unscoped remote name
Definition: ncxtypes.h:449
@ NCX_IT_SREMOTE
scoped remote name
Definition: ncxtypes.h:450
@ NCX_CFGID_CANDIDATE
candidate datastore
Definition: ncxtypes.h:573
@ NCX_CFGID_OPERATIONAL
operational datastore
Definition: ncxtypes.h:575
@ NCX_CFGID_STARTUP
startup datastore
Definition: ncxtypes.h:574
@ NCX_CFGID_RUNNING
running datastore (no value for not set!)
Definition: ncxtypes.h:572
@ NCX_CL_NAMED
a restriction of a named type
Definition: ncxtypes.h:435
@ NCX_CL_COMPLEX
a complex type
Definition: ncxtypes.h:434
@ NCX_CL_SIMPLE
a restriction of a base type
Definition: ncxtypes.h:433
@ NCX_CL_BASE
a built-in base type
Definition: ncxtypes.h:432
@ NCX_CL_REF
internal reference to another type
Definition: ncxtypes.h:436
@ NCX_CL_NONE
not set
Definition: ncxtypes.h:431
@ NCX_MSGTYP_RPCRPY
RFC 4741 or 6241 <rpc-reply>
Definition: ncxtypes.h:602
@ NCX_MSGTYP_RPCREQ
RFC 4741 or 6241 <rpc>
Definition: ncxtypes.h:601
@ NCX_MSGTYP_HELLO
RFC 4741 or 6241 <hello>
Definition: ncxtypes.h:600
@ NCX_MSGTYP_NOTIF
RFC 5277 <notification>
Definition: ncxtypes.h:603
@ NCX_MSGTYP_NONE
not set
Definition: ncxtypes.h:599
@ NCX_FEATURE_CODE_NONE
enum not explicitly set
Definition: ncxtypes.h:1029
@ NCX_FEATURE_CODE_DYNAMIC
run-time if-feature code
Definition: ncxtypes.h:1031
@ NCX_FEATURE_CODE_STATIC
compile-time if-feature code
Definition: ncxtypes.h:1030
@ NCX_AGT_START_DISTINCT
with-startup=true
Definition: ncxtypes.h:554
@ NCX_AGT_START_MIRROR
with-startup=false
Definition: ncxtypes.h:553
@ NCX_AGT_START_NONE
not set
Definition: ncxtypes.h:552
@ NCX_IQUAL_NONE
value not set
Definition: ncxtypes.h:484
@ NCX_IQUAL_1MORE
'+' == 1 or more
Definition: ncxtypes.h:487
@ NCX_IQUAL_OPT
'?' == 0 or 1
Definition: ncxtypes.h:486
@ NCX_IQUAL_ZMORE
'*' == 0 or more
Definition: ncxtypes.h:488
@ NCX_IQUAL_ONE
no iqual == 1
Definition: ncxtypes.h:485
@ NCX_SR_BIT
bits restriction
Definition: ncxtypes.h:515
@ NCX_SR_NONE
not set
Definition: ncxtypes.h:512
@ NCX_SR_ENUM
enumeration restriction
Definition: ncxtypes.h:514
@ NCX_SR_PATTERN
pattern restriction
Definition: ncxtypes.h:513
@ NCX_MSG_ENCODING_JSON
JSON message encoding.
Definition: ncxtypes.h:678
@ NCX_MSG_ENCODING_NONE
not set
Definition: ncxtypes.h:672
@ NCX_MSG_ENCODING_XML
XML message encoding.
Definition: ncxtypes.h:675
@ NCX_MSG_ENCODING_CBOR
CBOR available if WITH_YANG_CBOR=1 set.
Definition: ncxtypes.h:681
@ NCX_SNMP_AGT_ROLE_NONE
not set
Definition: ncxtypes.h:1662
@ NCX_SNMP_AGT_ROLE_MASTER
SNMP master server role.
Definition: ncxtypes.h:1663
@ NCX_SNMP_AGT_ROLE_SUBAGENT
SNMP sub-agent role.
Definition: ncxtypes.h:1664
@ NCX_PROTO_YCONTROL
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:1042
@ NCX_PROTO_NETCONF10
RFC 4741 base:1.0
Definition: ncxtypes.h:1038
@ NCX_PROTO_NETCONF11
RFC 6241 base:1.1.
Definition: ncxtypes.h:1039
@ NCX_PROTO_UDPNOTIF
IETF UDP-Notif.
Definition: ncxtypes.h:1044
@ NCX_PROTO_YUMA_YANGAPI
YumaPro YANG-API 1.0.
Definition: ncxtypes.h:1040
@ NCX_PROTO_NONE
not set
Definition: ncxtypes.h:1037
@ NCX_PROTO_RESTCONF
IETF RESTCONF.
Definition: ncxtypes.h:1043
@ NCX_PROTO_YUMA_CLI
YumaPro Internal CLI 1.0.
Definition: ncxtypes.h:1041
@ NCX_BT_NONE
No type has been set yet.
Definition: ncxtypes.h:242
@ NCX_BT_INT64
YANG int64 data type.
Definition: ncxtypes.h:293
@ NCX_BT_LEAFREF
YANG 'leafref' data type.
Definition: ncxtypes.h:361
@ NCX_BT_UINT32
YANG uint32 data type.
Definition: ncxtypes.h:308
@ NCX_BT_BOOLEAN
YANG boolean data type.
Definition: ncxtypes.h:273
@ NCX_BT_INSTANCE_ID
YANG instance-identifier data type.
Definition: ncxtypes.h:344
@ NCX_BT_CASE
YANG case.
Definition: ncxtypes.h:394
@ NCX_BT_FLOAT64
Hidden double type, used just for XPath.
Definition: ncxtypes.h:324
@ NCX_BT_INT8
YANG int8 data type.
Definition: ncxtypes.h:278
@ NCX_BT_UINT16
YANG uint16 data type.
Definition: ncxtypes.h:303
@ NCX_BT_STRING
YANG 'string' type.
Definition: ncxtypes.h:333
@ NCX_BT_LIST
YANG list instance node.
Definition: ncxtypes.h:399
@ NCX_BT_INT32
YANG int32 data type.
Definition: ncxtypes.h:288
@ NCX_BT_EMPTY
YANG empty data type.
Definition: ncxtypes.h:268
@ NCX_BT_BITS
YANG bits data type.
Definition: ncxtypes.h:256
@ NCX_BT_CHOICE
YANG choice.
Definition: ncxtypes.h:387
@ NCX_BT_UNION
YANG 'union' data type.
Definition: ncxtypes.h:353
@ NCX_BT_INT16
YANG int16 data type.
Definition: ncxtypes.h:283
@ NCX_BT_CONTAINER
YANG container node.
Definition: ncxtypes.h:380
@ NCX_BT_ENUM
YANG enumeration data type.
Definition: ncxtypes.h:262
@ NCX_BT_ANY
The node is a YANG 1.0 'anyxml' node.
Definition: ncxtypes.h:251
@ NCX_BT_UINT8
YANG uint8 data type.
Definition: ncxtypes.h:298
@ NCX_BT_EXTERN
Internal 'external' data type, used in server and yangcli-pro.
Definition: ncxtypes.h:413
@ NCX_BT_INTERN
Internal 'buffer' data type, used in server and yangcli-pro.
Definition: ncxtypes.h:419
@ NCX_BT_DECIMAL64
YANG decimal64 data type.
Definition: ncxtypes.h:318
@ NCX_BT_UINT64
YANG uint64 data type.
Definition: ncxtypes.h:313
@ NCX_BT_BINARY
YANG binary data type.
Definition: ncxtypes.h:339
@ NCX_BT_ANYDATA
The node is a YANG 1.1 'anydata' node.
Definition: ncxtypes.h:407
@ NCX_BT_IDREF
YANG identityref data type.
Definition: ncxtypes.h:369
@ NCX_BT_SLIST
ncx:xsdlist extension (internal, deprecated)
Definition: ncxtypes.h:375
@ NCX_ACCESS_NONE
enum not explicitly set
Definition: ncxtypes.h:207
@ NCX_ACCESS_RO
read-only
Definition: ncxtypes.h:208
@ NCX_ACCESS_RW
read-write (create/delete not allowed)
Definition: ncxtypes.h:209
@ NCX_ACCESS_RC
read-create (all access)
Definition: ncxtypes.h:210
@ NCX_BAD_REPLY_ADAPT
default; adapt node
Definition: ncxtypes.h:1814
@ NCX_BAD_REPLY_ERROR
report Error and stop parse
Definition: ncxtypes.h:1816
@ NCX_BAD_REPLY_PRUNE
prune failing node(s)
Definition: ncxtypes.h:1815
@ NCX_BAD_REPLY_NONE
not set
Definition: ncxtypes.h:1813
@ NCX_DC_CONFIG
persistent config
Definition: ncxtypes.h:228
@ NCX_DC_NONE
not set
Definition: ncxtypes.h:227
@ NCX_DC_STATE
state or statistics
Definition: ncxtypes.h:229
@ NCX_OPT
clause is optional
Definition: ncxtypes.h:1406
@ NCX_REQ
clause is required
Definition: ncxtypes.h:1405
@ NCX_BAD_DATA_CHECK
NCX_BAD_DATA_CHECK to prompt user to keep or re-enter value.
Definition: ncxtypes.h:628
@ NCX_BAD_DATA_NONE
not set
Definition: ncxtypes.h:619
@ NCX_BAD_DATA_ERROR
NCX_BAD_DATA_ERROR to prompt user to re-enter value.
Definition: ncxtypes.h:631
@ NCX_BAD_DATA_IGNORE
NCX_BAD_DATA_IGNORE to silently accept invalid input values.
Definition: ncxtypes.h:622
@ NCX_BAD_DATA_WARN
NCX_BAD_DATA_WARN to warn and accept invalid input values.
Definition: ncxtypes.h:625
@ NCX_SID_NS_NONE
not set
Definition: ncxtypes.h:1822
@ NCX_SID_NS_MODULE
module namespace
Definition: ncxtypes.h:1823
@ NCX_SID_NS_FEATURE
feature namespace
Definition: ncxtypes.h:1825
@ NCX_SID_NS_IDENTITY
identity namespace
Definition: ncxtypes.h:1824
@ NCX_SID_NS_DATA
data namespace
Definition: ncxtypes.h:1826
@ NCX_MATCH_EXACT
exact (default)
Definition: ncxtypes.h:721
@ NCX_MATCH_ONE_NOCASE
match all chars case-insensitive if only 1 match
Definition: ncxtypes.h:726
@ NCX_MATCH_FIRST_NOCASE
The name must exactly match the first N characters of any node name.
Definition: ncxtypes.h:736
@ NCX_MATCH_NONE
not set
Definition: ncxtypes.h:720
@ NCX_MATCH_FIRST
The name must exactly match the first N characters of any node name.
Definition: ncxtypes.h:731
@ NCX_MATCH_EXACT_NOCASE
exact but case-insensitive
Definition: ncxtypes.h:722
@ NCX_MATCH_ONE
match all chars if only 1 match
Definition: ncxtypes.h:723
@ NCX_LAYER_CONTENT
application layer
Definition: ncxtypes.h:535
@ NCX_LAYER_OPERATION
protocol operation layer
Definition: ncxtypes.h:534
@ NCX_LAYER_NONE
not set
Definition: ncxtypes.h:531
@ NCX_LAYER_RPC
RPC operation layer.
Definition: ncxtypes.h:533
@ NCX_LAYER_TRANSPORT
transport layer
Definition: ncxtypes.h:532
@ NCX_MERGE_SORT
merge sorted
Definition: ncxtypes.h:496
@ NCX_MERGE_LAST
merge last
Definition: ncxtypes.h:495
@ NCX_MERGE_NONE
value not set
Definition: ncxtypes.h:493
@ NCX_MERGE_FIRST
merge first
Definition: ncxtypes.h:494
@ NCX_NMDA_DS_INTENDED
intended datastore
Definition: ncxtypes.h:1690
@ NCX_NMDA_DS_OPERATIONAL
operational datastore
Definition: ncxtypes.h:1691
@ NCX_NMDA_DS_RUNNING
running datastore
Definition: ncxtypes.h:1688
@ NCX_NMDA_DS_NONE
not set
Definition: ncxtypes.h:1686
@ NCX_NMDA_DS_CANDIDATE
candidate datastore
Definition: ncxtypes.h:1687
@ NCX_NMDA_DS_STARTUP
startup datastore
Definition: ncxtypes.h:1689
@ NCX_RF_NONE
not set
Definition: ncxtypes.h:744
@ NCX_RF_XML
XML result.
Definition: ncxtypes.h:746
@ NCX_RF_JSON
JSON result.
Definition: ncxtypes.h:747
@ NCX_RF_TEXT
text result
Definition: ncxtypes.h:745
@ NCX_SQUAL_VAL
search values
Definition: ncxtypes.h:504
@ NCX_SQUAL_META
search metadata
Definition: ncxtypes.h:505
@ NCX_SQUAL_APPINFO
search appinfo
Definition: ncxtypes.h:506
@ NCX_SQUAL_RANGE
search range
Definition: ncxtypes.h:503
@ NCX_SQUAL_NONE
not set
Definition: ncxtypes.h:502
@ NCX_XPATH_TYPE_OTHER
not used
Definition: ncxtypes.h:1347
@ NCX_XPATH_TYPE_MUST
must=stmt
Definition: ncxtypes.h:1343
@ NCX_XPATH_TYPE_NACM
NACM data rule.
Definition: ncxtypes.h:1345
@ NCX_XPATH_TYPE_WHEN
when-stmt
Definition: ncxtypes.h:1344
@ NCX_XPATH_TYPE_LEAFREF
intermediate leafref node
Definition: ncxtypes.h:1346
@ NCX_XPATH_TYPE_NONE
not set
Definition: ncxtypes.h:1342
@ NCX_NMDA_ORIGIN_NONE
not set
Definition: ncxtypes.h:1697
@ NCX_NMDA_ORIGIN_LEARNED
learned origin
Definition: ncxtypes.h:1701
@ NCX_NMDA_ORIGIN_DYNAMIC
dynamic origin
Definition: ncxtypes.h:1699
@ NCX_NMDA_ORIGIN_INTENDED
intended origin
Definition: ncxtypes.h:1698
@ NCX_NMDA_ORIGIN_SYSTEM
system-set origin
Definition: ncxtypes.h:1700
@ NCX_NMDA_ORIGIN_DEFAULT
set by default origin
Definition: ncxtypes.h:1702
@ NCX_NMDA_ORIGIN_UNKNOWN
unknown origin
Definition: ncxtypes.h:1703
@ NCX_CFG_STATE_OK
normal state
Definition: ncxtypes.h:1768
@ NCX_CFG_STATE_INIT
initialization phase
Definition: ncxtypes.h:1767
@ NCX_CFG_STATE_NONE
not set
Definition: ncxtypes.h:1766
@ NCX_CFG_STATE_BAD
bad datastore being used anyway
Definition: ncxtypes.h:1769
@ NCX_DISPLAY_MODE_XML
XML display mode.
Definition: ncxtypes.h:654
@ NCX_DISPLAY_MODE_PREFIX
plain CLI display mode with YANG prefixes added to nodes
Definition: ncxtypes.h:648
@ NCX_DISPLAY_MODE_CBOR
server CBOR binary output (CANNOT DISPLAY)
Definition: ncxtypes.h:666
@ NCX_DISPLAY_MODE_NONE
not set
Definition: ncxtypes.h:642
@ NCX_DISPLAY_MODE_XML_NONS
XML display mode without any prefixes (not compliant XML!)
Definition: ncxtypes.h:657
@ NCX_DISPLAY_MODE_MODULE
plain CLI display mode with YANG module names added to nodes
Definition: ncxtypes.h:651
@ NCX_DISPLAY_MODE_JSON
JSON (RFC 7951 format)
Definition: ncxtypes.h:660
@ NCX_DISPLAY_MODE_PLAIN
plain CLI display mode
Definition: ncxtypes.h:645
@ NCX_DISPLAY_MODE_CLI
yangcli-pro CLI mode
Definition: ncxtypes.h:663
@ NCX_SM_ST_ERROR
setup completed with errors
Definition: ncxtypes.h:1846
@ NCX_SM_ST_NONE
not set
Definition: ncxtypes.h:1842
@ NCX_SM_ST_SETUP
setup is in progress
Definition: ncxtypes.h:1844
@ NCX_SM_ST_DONE
setup completed with OK
Definition: ncxtypes.h:1845
@ NCX_SM_ST_PENDING
server has this MP; needs setup
Definition: ncxtypes.h:1843
@ NCX_NO_WSP
whitespace not allowed: unquoted string
Definition: ncxtypes.h:1413
@ NCX_WSP
whitespace allowed: quoted string
Definition: ncxtypes.h:1412
@ NCX_MODFORMAT_YANG
YANG format.
Definition: ncxtypes.h:1551
@ NCX_MODFORMAT_YIN
YIN format.
Definition: ncxtypes.h:1552
@ NCX_MODFORMAT_RNG
RelaxNG format (not supported )
Definition: ncxtypes.h:1553
@ NCX_MODFORMAT_NONE
not set
Definition: ncxtypes.h:1549
@ NCX_MODFORMAT_XSD
XSD format.
Definition: ncxtypes.h:1550
@ NCX_MODFORMAT_RNC
RelaxNG compact (not supported)
Definition: ncxtypes.h:1554
@ NCX_WITHDEF_REPORT_ALL
report-all
Definition: ncxtypes.h:1334
@ NCX_WITHDEF_REPORT_ALL_TAGGED
report-all-tagged
Definition: ncxtypes.h:1335
@ NCX_WITHDEF_NONE
not set
Definition: ncxtypes.h:1333
@ NCX_WITHDEF_EXPLICIT
explicit
Definition: ncxtypes.h:1337
@ NCX_WITHDEF_TRIM
trim
Definition: ncxtypes.h:1336
@ NCX_SHUT_FALLBACK
, called from <shutdown>, SIGINT, SIGKILL, SIGQUIT, SIGABRT, SIGTRAP, SIGTERM
Definition: ncxtypes.h:566
@ NCX_SHUT_NONE
not set
Definition: ncxtypes.h:560
@ NCX_SHUT_RELOAD
kill -10 SIGUSR1
Definition: ncxtypes.h:562
@ NCX_SHUT_RESET
kill -1 SIGHUP
Definition: ncxtypes.h:561
@ NCX_SHUT_RESTART
called from <restart>
Definition: ncxtypes.h:563
@ XP_AX_ATTRIBUTE
attribute axis
Definition: ncxtypes.h:690
@ XP_AX_SELF
self axis
Definition: ncxtypes.h:714
@ XP_AX_NONE
not set
Definition: ncxtypes.h:687
@ XP_AX_PRECEDING
preceding axis (not allowed in YANG)
Definition: ncxtypes.h:708
@ XP_AX_ANCESTOR_OR_SELF
ancestor-or-self axis
Definition: ncxtypes.h:689
@ XP_AX_NAMESPACE
namespace axis (not allowed in YANG)
Definition: ncxtypes.h:702
@ XP_AX_PARENT
parent axis
Definition: ncxtypes.h:705
@ XP_AX_ANCESTOR
ancestor axis
Definition: ncxtypes.h:688
@ XP_AX_DESCENDANT_OR_SELF
descendant-or-self axis
Definition: ncxtypes.h:693
@ XP_AX_FOLLOWING
following axis (not allowed in YANG)
Definition: ncxtypes.h:696
@ XP_AX_DESCENDANT
descendant axis
Definition: ncxtypes.h:692
@ XP_AX_CHILD
child axis (default)
Definition: ncxtypes.h:691
@ XP_AX_FOLLOWING_SIBLING
following-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:699
@ XP_AX_PRECEDING_SIBLING
preceding-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:711
@ NCX_IFMT_XPATH2
double-quote Xpath for error-path
Definition: ncxtypes.h:589
@ NCX_IFMT_YANGAPI
YANG-API URI with list1/key1/key2.
Definition: ncxtypes.h:592
@ NCX_IFMT_XPATH1
single-quote Xpath for filter
Definition: ncxtypes.h:588
@ NCX_IFMT_NONE
not set
Definition: ncxtypes.h:586
@ NCX_IFMT_CLI2
CLI syntax used in yangcli config mode.
Definition: ncxtypes.h:591
@ NCX_IFMT_CLI
CLI syntax used in val_dump_value.
Definition: ncxtypes.h:590
@ NCX_IFMT_C
C format.
Definition: ncxtypes.h:587
@ NCX_IFMT_RESTCONF
RESTCONF URI with list1=key1,key2.
Definition: ncxtypes.h:593
YANG extension usage entry A nested external statement will produce a tree of ncx_appinfo_t.
Definition: ncxtypes.h:922
ncx_error_t tkerr
file and line info for the compiler
Definition: ncxtypes.h:945
xmlChar * value
argument string (if any)
Definition: ncxtypes.h:933
boolean isclone
flag to identfy cloned appinfo
Definition: ncxtypes.h:942
xmlChar * name
external statement name
Definition: ncxtypes.h:930
struct ext_template_t_ * ext
YANG extension found to match this external stmt.
Definition: ncxtypes.h:936
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:924
xmlChar * prefix
external prefix used
Definition: ncxtypes.h:927
dlq_hdr_t * appinfoQ
nested external statements within this one
Definition: ncxtypes.h:939
used with various structs to cache back-ptrs the 'node' pointer may or may not be malloced!...
Definition: ncxtypes.h:1584
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1585
void * node
const or plain malloced data pointer
Definition: ncxtypes.h:1586
NCX base64 string node for YANG 'binary' built-in type.
Definition: ncxtypes.h:901
uint32 ubufflen
binary buffer len
Definition: ncxtypes.h:903
uint32 ustrlen
binary buffer used
Definition: ncxtypes.h:904
unsigned char * ustr
binary string
Definition: ncxtypes.h:902
one NCX_BT_BITS bit value
Definition: ncxtypes.h:854
xmlChar * dname
malloced bit name (value not checked)
Definition: ncxtypes.h:856
uint32 pos
position value or implied position
Definition: ncxtypes.h:857
const xmlChar * name
bptr to typ_enum_t.name or this.dname
Definition: ncxtypes.h:855
Decimal64 data type.
Definition: ncxtypes.h:809
int64 val
adjusted number to fit in 64 bits
Definition: ncxtypes.h:810
uint8 digits
number of decimal digits 1 .
Definition: ncxtypes.h:811
uint8 zeroes
number of leading zeroes 0 .
Definition: ncxtypes.h:812
one NCX_BT_ENUM enumeration value (user may enter 1 of 3 forms)
Definition: ncxtypes.h:846
xmlChar * dname
malloced enum (value not checked)
Definition: ncxtypes.h:848
int32 val
YANG value-stmt or implied value.
Definition: ncxtypes.h:849
const xmlChar * name
bptr to typ_enum_t or dname
Definition: ncxtypes.h:847
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1420
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1427
xmlChar * error_app_tag
error-app-tag field
Definition: ncxtypes.h:1430
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1421
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1424
xmlChar * error_message
error-message field
Definition: ncxtypes.h:1433
boolean seen
for yangdiff
Definition: ncxtypes.h:1434
error message replacement record
Definition: ncxtypes.h:1678
status_t res
key
Definition: ncxtypes.h:1679
const xmlChar * errmsg
backptr to CLI param value string
Definition: ncxtypes.h:1680
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information
Definition: ncxtypes.h:912
uint32 linepos
line position
Definition: ncxtypes.h:915
uint32 linenum
line number
Definition: ncxtypes.h:914
struct ncx_module_t_ * mod
module back-ptr
Definition: ncxtypes.h:913
YANG feature entry.
Definition: ncxtypes.h:1057
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1078
ncx_sid_t yang_sid
Each feature is assigned a YANG SID for CBOR encoding A feature SID is used for yang-library purposes...
Definition: ncxtypes.h:1090
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1074
dlq_hdr_t iffeatureQ
Q of ncx_iffeature_t.
Definition: ncxtypes.h:1073
xmlChar * name
feature name
Definition: ncxtypes.h:1062
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1071
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1068
uint8 yang_sid_flags
yangdump use for SID update feature
Definition: ncxtypes.h:1085
ncx_feature_code_t code
dynamic or static code-gen
Definition: ncxtypes.h:1077
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1059
boolean enabled
feature is enabled
Definition: ncxtypes.h:1076
status_t res
may be stored with errors
Definition: ncxtypes.h:1075
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1065
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1093
uint8 feature_flags
internal flags for YANG 1.1 processing
Definition: ncxtypes.h:1082
boolean seen
for yangdiff
Definition: ncxtypes.h:1079
struct for holding r/o pointer to generic internal node for filtering purposes
Definition: ncxtypes.h:1100
struct obj_template_t_ * objnode
get2 for complex node
Definition: ncxtypes.h:1104
struct val_value_t_ * useval
parent node of objnode
Definition: ncxtypes.h:1105
struct val_value_t_ * filnode
read-only backptr
Definition: ncxtypes.h:1103
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1101
struct getcb_get2_t_ * get2cb
get2 control block in use
Definition: ncxtypes.h:1106
dlq_hdr_t childQ
Q of ncx_filptr_t.
Definition: ncxtypes.h:1110
dlq_hdr_t selectQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1109
dlq_hdr_t matchQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1108
dlq_hdr_t lookupQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1107
struct val_value_t_ * node
read-only backptr
Definition: ncxtypes.h:1102
YANG identity base.
Definition: ncxtypes.h:1134
xmlChar * basename
base identity name
Definition: ncxtypes.h:1138
struct ncx_identity_t_ * base
back-ptr to base id
Definition: ncxtypes.h:1136
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1135
xmlChar * baseprefix
base identity prefix
Definition: ncxtypes.h:1137
YANG identity entry.
Definition: ncxtypes.h:1143
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1164
ncx_sid_t yang_sid
Each Identity is assigned a YANG SID for CBOR encoding.
Definition: ncxtypes.h:1171
boolean isroot
base==NULL not an error
Definition: ncxtypes.h:1162
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1158
dlq_hdr_t iffeatureQ
Q if ncx_iffeature_t structs.
Definition: ncxtypes.h:1159
xmlChar * name
identity name
Definition: ncxtypes.h:1146
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1156
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1152
uint8 yang_sid_flags
yangdump use for SID update feature
Definition: ncxtypes.h:1168
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1144
status_t res
may be stored with errors
Definition: ncxtypes.h:1161
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1149
dlq_hdr_t childQ
Q of ncx_idlink_t.
Definition: ncxtypes.h:1157
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1174
uint8 feature_flags
internal YANG 1.1 flags
Definition: ncxtypes.h:1160
const xmlChar * modname
backptr into module
Definition: ncxtypes.h:1154
dlq_hdr_t baseQ
Q of ncx_identity_base_t.
Definition: ncxtypes.h:1145
boolean seen
for yangcli
Definition: ncxtypes.h:1165
ncx_idlink_t idlink
internal id link
Definition: ncxtypes.h:1163
xmlns_id_t nsid
from mod containing identity
Definition: ncxtypes.h:1155
back pointer to a YANG identity used to create an inline tree of valid values for an identity used as...
Definition: ncxtypes.h:1126
boolean inq
flag if in a queue
Definition: ncxtypes.h:1129
struct ncx_identity_t_ * identity
identity back-ptr
Definition: ncxtypes.h:1128
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1127
YANG 1.1 identifier-ref-arg that within an if-feature expression.
Definition: ncxtypes.h:972
struct ncx_feature_t_ * feature
backptr to found feature
Definition: ncxtypes.h:983
xmlChar * name
feature name used in if-feature
Definition: ncxtypes.h:980
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:974
xmlChar * prefix
prefix used in if-feature
Definition: ncxtypes.h:977
YANG if-feature entry.
Definition: ncxtypes.h:988
ncx_error_t tkerr
file, line info for compiler errors
Definition: ncxtypes.h:1021
struct ncx_feature_t_ * feature
this feature is not set unless the module containing the final if-feature expression a YANG 1....
Definition: ncxtypes.h:1001
xmlChar * name
YANG 1.1 allows an expression.
Definition: ncxtypes.h:994
boolean expr_logerrors
true if logging errors; F: silent
Definition: ncxtypes.h:1018
boolean expr_skipmode
internal optimization flag
Definition: ncxtypes.h:1017
dlq_hdr_t expr_iff_refQ
if the final expression is in a YANG 1.1 module then the referenced featured will be in ncx_iff_ref_t...
Definition: ncxtypes.h:1012
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:990
boolean expr_evalmode
internal field
Definition: ncxtypes.h:1020
xmlChar * prefix
the prefix used in the if-feature stmt
Definition: ncxtypes.h:993
struct tk_chain_t_ * expr_tkc
the token control block contains the re-parsed string and used to evaluate expression logic
Definition: ncxtypes.h:1006
boolean seen
for yangdiff
Definition: ncxtypes.h:1023
boolean expr_set
state variables used for YANG 1.1 if-feature-stmt parsing
Definition: ncxtypes.h:1015
boolean expr_result
expression result, if set
Definition: ncxtypes.h:1016
One 'import' clause in YANG.
Definition: ncxtypes.h:1352
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1376
dlq_hdr_t appinfoQ
saved external stmts in this import
Definition: ncxtypes.h:1375
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1368
xmlChar * module
module name being imported
Definition: ncxtypes.h:1356
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1353
status_t res
set to NO_ERR if the import was parsed OK
Definition: ncxtypes.h:1377
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1365
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1373
xmlChar * revision
revision-stmt for import-by-revision
Definition: ncxtypes.h:1362
boolean used
for compiler not-used warning
Definition: ncxtypes.h:1372
ncx_module_t * mod
found module for this import
Definition: ncxtypes.h:1371
xmlChar * prefix
prefix used in import-stmt for module
Definition: ncxtypes.h:1359
boolean force_yuma_nc
HACK: TRUE if yuma-nc replacing ietf-nc.
Definition: ncxtypes.h:1374
One 'include' clause, YANG only.
Definition: ncxtypes.h:1382
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1399
dlq_hdr_t appinfoQ
saved external stmts in this include
Definition: ncxtypes.h:1398
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1393
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1383
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1390
struct ncx_module_t_ * submod
found submodule for this include
Definition: ncxtypes.h:1396
xmlChar * submodule
submodule name to include
Definition: ncxtypes.h:1384
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1397
xmlChar * revision
revision date for include-by-revision
Definition: ncxtypes.h:1387
header for a NCX List
Definition: ncxtypes.h:894
ncx_btype_t btyp
base type of each member
Definition: ncxtypes.h:895
dlq_hdr_t memQ
Q of ncx_lmem_t.
Definition: ncxtypes.h:896
NCX list member: list of string or number Usually used within a val_value_t structure.
Definition: ncxtypes.h:864
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:866
uint32 flags
flags to maintain list state
Definition: ncxtypes.h:889
server module info cache record for def_reg_add_mod
Definition: ncxtypes.h:1669
const xmlChar * modname
backptr
Definition: ncxtypes.h:1671
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1180
ncx_sid_t yang_sid
If the module SID is set then the SID file load is assumed to have worked.
Definition: ncxtypes.h:1294
dlq_hdr_t saveimpQ
Q of yang_import_ptr_t.
Definition: ncxtypes.h:1260
xmlChar * sid_old_source
full OLD SID filespec if WITH_YANG_CBOR enabled used by yangdump for –sid-update-file
Definition: ncxtypes.h:1224
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1258
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: ncxtypes.h:1253
xmlChar * name
module name
Definition: ncxtypes.h:1182
xmlChar * ocversion
oc-ext:openconfig-version
Definition: ncxtypes.h:1189
xmlChar * source
full YANG/YIN filespec
Definition: ncxtypes.h:1214
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1202
xmlChar * contact_info
contact-stmt (not saved on server)
Definition: ncxtypes.h:1196
dlq_hdr_t featureQ
Q of ncx_feature_t.
Definition: ncxtypes.h:1256
dlq_hdr_t revhistQ
Q of ncx_revhist_t.
Definition: ncxtypes.h:1247
boolean unloadable
T: unload allowed.
Definition: ncxtypes.h:1275
dlq_hdr_t typnameQ
Q of ncx_typname_t.
Definition: ncxtypes.h:1259
uint8 yang_sid_flags
yangdump use for SID update feature
Definition: ncxtypes.h:1289
xmlChar * xmlprefix
assigned prefix (may be different than YANG prefix)
Definition: ncxtypes.h:1211
dlq_hdr_t identityQ
Q of ncx_identity_t.
Definition: ncxtypes.h:1257
boolean mounted
T: SM mounted module.
Definition: ncxtypes.h:1278
boolean ocpattern_mode
T: openconfig patterns.
Definition: ncxtypes.h:1242
boolean dev_module
T: deviation; F: normal.
Definition: ncxtypes.h:1241
dlq_hdr_t includeQ
Q of ncx_include_t.
Definition: ncxtypes.h:1249
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1181
dlq_hdr_t importQ
Q of ncx_import_t.
Definition: ncxtypes.h:1248
xmlChar * version
module revision; this is allowed to be NULL in YANG identifying the one and only revision of the modu...
Definition: ncxtypes.h:1188
dlq_hdr_t allincQ
Q of yang_node_t to track all submodules.
Definition: ncxtypes.h:1268
dlq_hdr_t stmtQ
Q of yang_stmt_t.
Definition: ncxtypes.h:1262
dlq_hdr_t typeQ
Q of typ_template_t.
Definition: ncxtypes.h:1251
boolean ismod
module/submodule keyword
Definition: ncxtypes.h:1235
boolean redo_loadmod
True if the sil-sa-app is resyncing with the server and the ncx_invoke_load_callbacks is needed one t...
Definition: ncxtypes.h:1303
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1199
struct ncx_module_t_ * parent
if this is a submodule
Definition: ncxtypes.h:1265
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1297
uint32 errors
yangdump results
Definition: ncxtypes.h:1244
uint32 flags
internal flags
Definition: ncxtypes.h:1234
dlq_hdr_t groupingQ
Q of grp_template_t.
Definition: ncxtypes.h:1252
boolean defaultrev
T: use for default ver.
Definition: ncxtypes.h:1239
struct ncx_sm_rootcb_t_ * rootcb
Schema Mount pointers.
Definition: ncxtypes.h:1281
xmlChar * ietfversion
ysv:version extension
Definition: ncxtypes.h:1190
boolean sid_file_done
YANG_SID data used to support CBOR message encoding flag indicates SID file load has been attempted.
Definition: ncxtypes.h:1286
uint32 warnings
yangdump results
Definition: ncxtypes.h:1245
boolean stmtmode
T: save yang_stmt_t.
Definition: ncxtypes.h:1236
boolean defaults_added
agt: for mod load
Definition: ncxtypes.h:1240
xmlChar * ns
namespace URI
Definition: ncxtypes.h:1205
dlq_hdr_t extensionQ
Q of ext_template_t.
Definition: ncxtypes.h:1254
const xmlChar * belongsver
back ptr to mod ver
Definition: ncxtypes.h:1230
boolean supported
T: load: F: import only.
Definition: ncxtypes.h:1238
struct ncx_module_t_ * parentmod
backptr set if submod
Definition: ncxtypes.h:1227
ncx_yang_version_t langver
YANG lang.
Definition: ncxtypes.h:1233
xmlChar * prefix
module prefix
Definition: ncxtypes.h:1208
boolean unload_active
T: unload in progress.
Definition: ncxtypes.h:1276
const xmlChar * sourcefn
ptr to fn in source
Definition: ncxtypes.h:1229
dlq_hdr_t deviationQ
Q of obj_deviation_t.
Definition: ncxtypes.h:1255
xmlChar * organization
organization-stmt (not saved on server)
Definition: ncxtypes.h:1193
dlq_hdr_t incchainQ
used if parent == NULL
Definition: ncxtypes.h:1270
xmlChar * sid_source
full SID filespec if WITH_YANG_CBOR enabled used by yangdump for –sid-generate-file
Definition: ncxtypes.h:1219
uint32 line_count
for EVAL_VERSION
Definition: ncxtypes.h:1274
ncx_list_t devmodlist
for deviations list
Definition: ncxtypes.h:1272
status_t status
module parse result
Definition: ncxtypes.h:1243
boolean added
T: don't free on err.
Definition: ncxtypes.h:1237
xmlns_id_t nsid
assigned by xmlns
Definition: ncxtypes.h:1232
xmlChar * belongs
set if submod
Definition: ncxtypes.h:1226
dlq_hdr_t annotQ
Q of typ_template_t.
Definition: ncxtypes.h:1250
internal NMDA get-data state parameters; rest of parameter are stored directly in the xml_msg_hdr_t u...
Definition: ncxtypes.h:1717
boolean origin_filter_negated
T: origin filter is negated.
Definition: ncxtypes.h:1725
ncx_nmda_ds_t nmda_ds
NMDA datastore to use.
Definition: ncxtypes.h:1737
boolean config_filter
content filter (config or non-config)
Definition: ncxtypes.h:1731
ncx_cfg_t cfg_ds
internal config ID to use
Definition: ncxtypes.h:1740
dlq_hdr_t origin_filterQ
Q of ncx_nmda_origin_filter_t.
Definition: ncxtypes.h:1719
boolean origin_filter_set
T: origin filter is being used.
Definition: ncxtypes.h:1722
boolean config_filter_set
config content filter used
Definition: ncxtypes.h:1728
boolean with_origin
add origin attributes
Definition: ncxtypes.h:1734
internal NMDA origin filter (negate field stored separately)
Definition: ncxtypes.h:1708
ncx_nmda_origin_t origin
origin filter
Definition: ncxtypes.h:1710
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1709
gather the prefix/nsid bindings used in an XPath string needed to generate the correct xmlns directiv...
Definition: ncxtypes.h:1803
const xmlChar * prefix
backptr to token inside xpath pcb
Definition: ncxtypes.h:1804
xmlns_id_t nsid
namespace ID
Definition: ncxtypes.h:1805
YANG revision entry.
Definition: ncxtypes.h:950
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:967
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:961
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:952
xmlChar * version
revision data argument
Definition: ncxtypes.h:955
status_t res
parsing result
Definition: ncxtypes.h:964
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:958
used with obj_deviation_t to defer object lookups
Definition: ncxtypes.h:1559
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1560
struct ncx_module_t_ * devmod
deviations module
Definition: ncxtypes.h:1561
boolean annotation
T: annotation, F:deviation.
Definition: ncxtypes.h:1562
YANG SID assignment range struct.
Definition: ncxtypes.h:781
uint32 sid_range_used
SID range highest used ex: range=1000:50; this field is 0 - 49.
Definition: ncxtypes.h:803
dlq_hdr_t qhdr
queue header to store in sequence
Definition: ncxtypes.h:783
ncx_sid_t sid_range_end
SID range last SID number ex: range=1000:50; this field is 1049.
Definition: ncxtypes.h:793
ncx_sid_t sid_range_start
SID range entry point ex: range=1000:50; this field is 1000.
Definition: ncxtypes.h:788
uint32 sid_range_size
SID range size ex: range=1000:50; this field is 50.
Definition: ncxtypes.h:798
Moint Point Instance This struct lives in a val_value_t.val_extra struct.
Definition: ncxtypes.h:1869
xmlChar * module
Set for SIL-SA ONLY: module name for the mount point This is a malloced string.
Definition: ncxtypes.h:1898
xmlChar * label
Set for SIL-SA ONLY: label for the mount point This is a malloced string.
Definition: ncxtypes.h:1903
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1870
dlq_hdr_t anckeyQ
Q of malloced val_value_t; 1 entry for each key leaf includes the ancestor keys.
Definition: ncxtypes.h:1875
boolean backptr_queued
flag to indicate the backptr is actually in a rootcb->mpidQ.
Definition: ncxtypes.h:1893
struct val_value_t_ * valroot
Backptr to the value node that contains this MPID This is a SIL only field.
Definition: ncxtypes.h:1880
ncx_backptr_t backptr
inline backptr used to store this MPID in the rootcb->mpidQ.
Definition: ncxtypes.h:1887
xmlChar * objpath
Set for SIL-SA ONLY: path string for the object template This is a malloced string.
Definition: ncxtypes.h:1908
Schema Mount Root Control Block used in the object template.
Definition: ncxtypes.h:1947
xmlChar * modname
Name of a module containing the mount point, copied in case the module is deleted.
Definition: ncxtypes.h:1956
ncx_yanglib_cb_t yanglib_cb
YANG Library control block.
Definition: ncxtypes.h:1985
boolean active
TRUE if the this Mount Point is active and was setup by SM Confg file, Otherwise, this is a placehold...
Definition: ncxtypes.h:1971
dlq_hdr_t devQ
Queue of mounted ncx_save_deviations_t devitaion modules.
Definition: ncxtypes.h:1996
xmlChar * label
Mount Point label string: copied in case module deleted.
Definition: ncxtypes.h:1951
ncx_sm_state_t sm_state
Used if the client is running to manage the SM info retrieval for this mount point.
Definition: ncxtypes.h:1979
dlq_hdr_t mpidQ
Mount Point ID Queue of ncx_sm_mpid_t containing val_root and ancestor keys.
Definition: ncxtypes.h:1990
boolean config
TRUE if the subtree of this MP is config TRUE.
Definition: ncxtypes.h:1962
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1948
dlq_hdr_t modQ
Queue of mounted ncx_module_t modules.
Definition: ncxtypes.h:1993
uint16 bundles_waiting
non-zero if any bundles are waiting
Definition: ncxtypes.h:1974
struct obj_template_t_ * rootobj
root object of a new mounted top root
Definition: ncxtypes.h:1982
xmlChar * loadpath
loadpath name
Definition: ncxtypes.h:1998
boolean toproot
TRUE if the this is TOP level Root Control Block.
Definition: ncxtypes.h:1965
struct cap_list_t_ * caplist
Used on the client side to convert the yanglib for this mount point to a cap_list_t needed to report ...
Definition: ncxtypes.h:2004
xmlChar * objpath
Object path to the current Mount Point.
Definition: ncxtypes.h:1959
keep track of the typenames used for local typedefs only used by ncxdump to generate XSDs OBSOLETE: D...
Definition: ncxtypes.h:1442
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1443
struct typ_template_t_ * typ
backptr to type
Definition: ncxtypes.h:1444
const xmlChar * typname
typename
Definition: ncxtypes.h:1445
xmlChar * typname_malloc
replaced type name
Definition: ncxtypes.h:1446
one context for a yang library.
Definition: ncxtypes.h:1917
struct val_value_t_ * modset_val
value instance for /yang-library/module-set
Definition: ncxtypes.h:1932
boolean free_yanglib_val
NMDA lib: will be TRUE for a SM rootcb and FALSE for the toplib.
Definition: ncxtypes.h:1941
struct val_value_t_ * mymoduleid_val
value used for /modules-state/module-set-id
Definition: ncxtypes.h:1926
struct val_value_t_ * yanglib_val
value for /yang-library
Definition: ncxtypes.h:1929
uint32 myhash_val
data for value used for /modules-state/module-set-id
Definition: ncxtypes.h:1923
struct val_value_t_ * content_id_val
value node for /yang-library/content-id
Definition: ncxtypes.h:1935
boolean free_mymodules_val
will be TRUE for a SM rootcb and FALSE for the toplib
Definition: ncxtypes.h:1938
struct val_value_t_ * mymodules_val
value for /modules-state
Definition: ncxtypes.h:1920
union of various data structures to represent different base types
Definition: ncxtypes.h:871
ncx_num_t num
list member is a number
Definition: ncxtypes.h:873
boolean boo
list member is a boolean
Definition: ncxtypes.h:885
ncx_bit_t bit
list member is a bit
Definition: ncxtypes.h:882
ncx_enum_t enu
list member is a enum
Definition: ncxtypes.h:879
ncx_str_t str
list member is a string
Definition: ncxtypes.h:876
union of all the basic number types if float not supported, then it is stored as an int64
Definition: ncxtypes.h:819
ncx_dec64_t dec
NCX_BT_DECIMAL64.
Definition: ncxtypes.h:830
uint32 u
NCX_BT_UINT.
Definition: ncxtypes.h:822
uint64 ul
NCX_BT_ULONG.
Definition: ncxtypes.h:823
int64 l
NCX_BT_LONG.
Definition: ncxtypes.h:821
int64 d
NCX_BT_DOUBLE.
Definition: ncxtypes.h:828
int32 i
NCX_BT_INT.
Definition: ncxtypes.h:820