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)
104#define NCX_YANG_SID(X) (X)->yang_sid
110#define NCX_YANG_SID_TREE(X) (X)->yang_sid_tree
182typedef enum ncx_access_t_ {
192#define NCX_DEF_ACCESS NCX_ACCESS_RC
203typedef enum ncx_data_class_t_ {
213typedef enum ncx_btype_t_ {
401#define NCX_FIRST_DATATYPE NCX_BT_ANY
402#define NCX_LAST_DATATYPE NCX_BT_ANYDATA
403#define NCX_NUM_BASETYPES (NCX_LAST_DATATYPE-NCX_FIRST_DATATYPE+1)
407typedef enum ncx_tclass_t_ {
420typedef enum ncx_indextyp_t_ {
437typedef enum ncx_node_t_ {
460typedef enum ncx_iqual_t_ {
469typedef enum ncx_merge_t_ {
478typedef enum ncx_squal_t_ {
488typedef enum ncx_strrest_t_ {
497typedef enum ncx_numfmt_t_ {
507typedef enum ncx_layer_t_ {
517typedef enum ncx_agttarg_t_ {
528typedef enum ncx_agtstart_t_ {
536typedef enum ncx_shutdowntyp_t_ {
548typedef enum ncx_cfg_t_ {
555#define NCX_CFGID_MIN NCX_CFGID_RUNNING
556#define NCX_CFGID_MAX NCX_CFGID_STARTUP
557#define NCX_CFGID_CNT (NCX_CFGID_MAX+1)
561typedef enum ncx_instfmt_t_ {
574typedef enum ncx_msgtyp_t_ {
583typedef enum ncx_status_t_ {
594typedef enum ncx_bad_data_t_ {
617typedef enum ncx_display_mode_t_ {
647typedef enum ncx_msg_encoding_t_ {
662typedef enum ncx_xpath_axis_t_ {
695typedef enum ncx_name_match_t_ {
738#define MAX_YANG_SID 0x7fffU
742#define MAX_YANG_SID 0x7fffffffU
745#define MAX_YANG_SID 0x7fffffffffffffffUU
753#define TXID_T long long unsigned int
761typedef struct ncx_dec64_t_ {
771typedef union ncx_num_t_ {
795typedef const xmlChar * ncx_const_str_t;
798typedef struct ncx_enum_t_ {
806typedef struct ncx_bit_t_ {
816typedef struct ncx_lmem_t_ {
846typedef struct ncx_list_t_ {
853typedef struct ncx_binary_t_ {
864typedef struct ncx_error_t_ {
865 struct ncx_module_t_ *
mod;
874typedef struct ncx_appinfo_t_ {
888 struct ext_template_t_ *
ext;
902typedef struct ncx_revhist_t_ {
924typedef struct ncx_iff_ref_t_ {
940typedef struct ncx_iffeature_t_ {
980typedef enum ncx_feature_code_t_ {
988typedef enum ncx_protocol_t_ {
1000typedef enum ncx_yang_version_t_ {
1008typedef struct ncx_feature_t_ {
1048typedef struct ncx_filptr_t_ {
1074typedef struct ncx_idlink_t_ {
1082typedef struct ncx_identity_base_t_ {
1091typedef struct ncx_identity_t_ {
1125typedef struct ncx_module_t_ {
1236typedef enum ncx_cvttyp_t_ {
1259typedef enum ncx_withdefaults_t_ {
1268typedef enum ncx_xpath_type_t_ {
1279typedef struct ncx_import_t_ {
1309typedef struct ncx_include_t_ {
1331typedef enum ncx_opt_t_ {
1338typedef enum ncx_strtyp_t_ {
1347typedef struct ncx_errinfo_t_ {
1369typedef struct ncx_typname_t_ {
1424 struct obj_template_t_ *obj);
1445 struct obj_template_t_ *object,
1475typedef enum ncx_modformat_t_ {
1486typedef struct ncx_save_deviations_t_ {
1496typedef enum ncx_confirm_event_t_ {
1511typedef struct ncx_backptr_t_ {
1545typedef const xmlChar *
1552typedef enum ncx_leafref_class_t_ {
1553 NCX_LEAFREF_CLASS_NONE,
1587typedef enum ncx_snmp_agt_role_t_ {
1595typedef struct ncx_modcache_t_ {
1604typedef struct ncx_errmsg_t_ {
1611typedef enum ncx_nmda_ds_t_ {
1622typedef enum ncx_nmda_origin_t_ {
1634typedef struct ncx_origin_filter_t_ {
1643typedef struct ncx_nmda_params_t_ {
1675typedef enum ncx_nmda_filtyp_t_ {
1676 NCX_NMDA_FILTYP_NONE,
1677 NCX_NMDA_FILTYP_STREAM,
1678 NCX_NMDA_FILTYP_SELECTION,
1683typedef enum ncx_ses_event_t_ {
1691typedef enum ncx_config_state_t_ {
1720 struct obj_template_t_ *obj,
1729typedef struct ncx_prefix_info_t_ {
1738typedef enum ncx_bad_reply_enum_t_ {
1747typedef enum ncx_sid_ns_t_ {
1757typedef enum ncx_yang_sid_mode_t_ {
1767typedef enum ncx_sm_state_t_ {
1782typedef struct ncx_sm_mpid_t_ {
1830typedef struct ncx_yanglib_cb_t_ {
1860typedef struct ncx_sm_rootcb_t_ {
dlq provides general double-linked list and queue support:
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_node_t
NCX Internal Node Types.
Definition: ncxtypes.h:437
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
uint32 ncx_etag_t
The ETag used in RESTCONF messages is the lower 32 bits of a ncx_transaction_id_t.
Definition: ncxtypes.h:758
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:1719
ncx_ses_event_t
internal enumerations for session event types
Definition: ncxtypes.h:1683
ncx_confirm_event_t
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well
Definition: ncxtypes.h:1496
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:1423
ncx_cvttyp_t
enumeration for different NCX module conversion output types
Definition: ncxtypes.h:1236
ncx_agttarg_t
enum to identify the agent native target
Definition: ncxtypes.h:517
ncx_numfmt_t
Enumeration of number format types.
Definition: ncxtypes.h:497
ncx_yang_sid_mode_t
YANG SID Allocation mode from yang-sid-mode typedef.
Definition: ncxtypes.h:1757
ncx_yang_version_t
enumeration for different YANG language versions
Definition: ncxtypes.h:1000
ncx_indextyp_t
Enumeration of the different types of index components YANG ONLY SUPPORTS NCX_IT_LOCAL.
Definition: ncxtypes.h:420
ncx_cfg_t
hardwire the 3 standard configs
Definition: ncxtypes.h:548
ncx_tclass_t
Enumeration of the basic value type classifications.
Definition: ncxtypes.h:407
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:724
ncx_msgtyp_t
enumeration for different NETCONF message types
Definition: ncxtypes.h:574
ncx_feature_code_t
Feature code generation type (deprecated)
Definition: ncxtypes.h:980
ncx_agtstart_t
enum to identify the agent native startup mode
Definition: ncxtypes.h:528
xmlChar * ncx_str_t
string alias for data types:
Definition: ncxtypes.h:793
ncx_iqual_t
The instance qualifier types are borrowed from ABNF and RelaxNG.
Definition: ncxtypes.h:460
ncx_strrest_t
Enumeration of string restriction types.
Definition: ncxtypes.h:488
ncx_msg_encoding_t
enumeration for message encoding formats
Definition: ncxtypes.h:647
ncx_snmp_agt_role_t
enum to identify the SNMP agent native mode
Definition: ncxtypes.h:1587
ncx_protocol_t
NCX session protocol versions supported.
Definition: ncxtypes.h:988
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
void(* ncx_unload_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is unloaded from the system
Definition: ncxtypes.h:1403
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:1531
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:1738
ncx_data_class_t
NCX Persistence Control.
Definition: ncxtypes.h:203
uint8 ncx_owner_id_t
used as index into the agt_owner registry
Definition: ncxtypes.h:1535
ncx_opt_t
enum for REQUIRED vs.
Definition: ncxtypes.h:1331
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:594
ncx_nmda_filtyp_t
internal enumerations for NMDA filter types used in the /filters container NCX_NMDA_FILTYP_STREAM == ...
Definition: ncxtypes.h:1675
ncx_sid_ns_t
enumeration for YANG SID namespace identifiers
Definition: ncxtypes.h:1747
ncx_name_match_t
Node name match modes.
Definition: ncxtypes.h:695
ncx_layer_t
Enumeration of NETCONF protocol layers.
Definition: ncxtypes.h:507
ncx_merge_t
The merge type for the NETCONF merge operation.
Definition: ncxtypes.h:469
ncx_nmda_ds_t
internal enumerations for standard NMDA datastores
Definition: ncxtypes.h:1611
ncx_result_format_t
specify the requested result format type Used by yangcli-pro assign statement
Definition: ncxtypes.h:715
uint64 ncx_sid_t
Standard YANG SID is a 63-bit integer defined as uint64.
Definition: ncxtypes.h:744
ncx_squal_t
typdef search qualifier list (internal compiler modes)
Definition: ncxtypes.h:478
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:1444
ncx_xpath_type_t
enumeration for different XPath back pointer types
Definition: ncxtypes.h:1268
ncx_nmda_origin_t
internal enumerations for standard NMDA origins
Definition: ncxtypes.h:1622
ncx_config_state_t
server config state Root Check
Definition: ncxtypes.h:1691
ncx_display_mode_t
enumeration of val_dump_value display modes Some RESTCONF code uses this field incorrectly for messag...
Definition: ncxtypes.h:617
ncx_sm_state_t
enumeration for yangcli processsing of schema mount info
Definition: ncxtypes.h:1767
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:1467
ncx_strtyp_t
enum for WHITESPACE ALLOWED vs.
Definition: ncxtypes.h:1338
ncx_modformat_t
enum for get-schema format type enum values matches the schema-format identities in RFC 6022
Definition: ncxtypes.h:1475
ncx_withdefaults_t
enum for with-defaults enum values
Definition: ncxtypes.h:1259
void(* ncx_load_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is loaded into the system
Definition: ncxtypes.h:1389
ncx_shutdowntyp_t
enumeration of the different program shutdown modes
Definition: ncxtypes.h:536
ncx_xpath_axis_t
XPath expression axis types.
Definition: ncxtypes.h:662
ncx_instfmt_t
instance identifier string format types
Definition: ncxtypes.h:561
@ NCX_NT_STRING
xmlChar *, error only
Definition: ncxtypes.h:444
@ NCX_NT_GRP
grp_template_t
Definition: ncxtypes.h:440
@ NCX_NT_TYP
typ_template_t
Definition: ncxtypes.h:439
@ NCX_NT_INDEX
obj_key_t *, error only
Definition: ncxtypes.h:446
@ NCX_NT_EXTENSION_CB
ext_template_t
Definition: ncxtypes.h:452
@ NCX_NT_INCLUDE_CB
ncx_include_t
Definition: ncxtypes.h:450
@ NCX_NT_UINT32_PTR
session ID, error only
Definition: ncxtypes.h:448
@ NCX_NT_IMPORT_CB
ncx_import_t
Definition: ncxtypes.h:449
@ NCX_NT_VAL
val_value_t
Definition: ncxtypes.h:441
@ NCX_NT_ERRINFO
ncx_errinfo_t, error only
Definition: ncxtypes.h:443
@ NCX_NT_FEATURE_CB
ncx_feature_t
Definition: ncxtypes.h:453
@ NCX_NT_TYPDEF_CB
typ_def_t
Definition: ncxtypes.h:455
@ NCX_NT_CFG
cfg_template_t *, error only
Definition: ncxtypes.h:445
@ NCX_NT_REVISION_CB
ncx_revhist_t
Definition: ncxtypes.h:451
@ NCX_NT_NONE
not set
Definition: ncxtypes.h:438
@ NCX_NT_IDENTITY_CB
ncx_identity_t
Definition: ncxtypes.h:454
@ NCX_NT_QNAME
xmlns_qname_t *, error only
Definition: ncxtypes.h:447
@ NCX_NT_OBJ
obj_template_t
Definition: ncxtypes.h:442
@ 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:1581
@ 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:1567
@ NCX_LEAFREF_CLASS_LOCAL
the object class will have the same result for any instance of a specific object node (static,...
Definition: ncxtypes.h:1573
@ 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:1562
@ NCX_STATUS_NONE
not set
Definition: ncxtypes.h:584
@ NCX_STATUS_OBSOLETE
obsolete removed from tree
Definition: ncxtypes.h:587
@ NCX_STATUS_CURRENT
current (default)
Definition: ncxtypes.h:585
@ NCX_STATUS_DEPRECATED
deprecated (treated as current
Definition: ncxtypes.h:586
@ NCX_SES_EVENT_NONE
not set
Definition: ncxtypes.h:1684
@ NCX_SES_EVENT_END
session ended event
Definition: ncxtypes.h:1686
@ NCX_SES_EVENT_START
session started event
Definition: ncxtypes.h:1685
@ NCX_CC_EVENT_CANCEL
cancel event
Definition: ncxtypes.h:1499
@ NCX_CC_EVENT_START
start event
Definition: ncxtypes.h:1498
@ NCX_CC_EVENT_COMPLETE
CC complete event.
Definition: ncxtypes.h:1502
@ NCX_CC_EVENT_TIMEOUT
timeout event
Definition: ncxtypes.h:1500
@ NCX_CC_EVENT_EXTEND
extend event
Definition: ncxtypes.h:1501
@ NCX_CC_EVENT_NONE
not set
Definition: ncxtypes.h:1497
@ NCX_CVTTYP_TG2
turbogears2 (not supported)
Definition: ncxtypes.h:1248
@ NCX_CVTTYP_UH
split u_foo.h file
Definition: ncxtypes.h:1251
@ NCX_CVTTYP_YH
split y_foo.h file
Definition: ncxtypes.h:1249
@ NCX_CVTTYP_BC
bundle y_foo.c file
Definition: ncxtypes.h:1253
@ NCX_CVTTYP_CPP_TEST
obsolete; not used
Definition: ncxtypes.h:1246
@ NCX_CVTTYP_UC
split u_foo.c file
Definition: ncxtypes.h:1252
@ NCX_CVTTYP_YC
split y_foo.c file
Definition: ncxtypes.h:1250
@ NCX_CVTTYP_C
SIL or SIL-SA C file.
Definition: ncxtypes.h:1245
@ NCX_CVTTYP_H
SIL or SIL-SA H file.
Definition: ncxtypes.h:1244
@ NCX_CVTTYP_YANG
canonical YANG (not supported)
Definition: ncxtypes.h:1242
@ NCX_CVTTYP_SQL
SQL format (not supported)
Definition: ncxtypes.h:1239
@ NCX_CVTTYP_NONE
not set
Definition: ncxtypes.h:1237
@ NCX_CVTTYP_SQLDB
netconfcentral.org dB format
Definition: ncxtypes.h:1240
@ NCX_CVTTYP_YIN
YIN format.
Definition: ncxtypes.h:1247
@ NCX_CVTTYP_XSD
XSD format (obsolete)
Definition: ncxtypes.h:1238
@ NCX_CVTTYP_HTML
netconfcentral WEB page format
Definition: ncxtypes.h:1241
@ NCX_CVTTYP_COPY
copy with new name
Definition: ncxtypes.h:1243
@ NCX_CVTTYP_BH
bundle y_foo.h file
Definition: ncxtypes.h:1254
@ NCX_AGT_TARG_LOCAL
TBD.
Definition: ncxtypes.h:521
@ NCX_AGT_TARG_NONE
not set
Definition: ncxtypes.h:518
@ NCX_AGT_TARG_CANDIDATE
target=candidate
Definition: ncxtypes.h:519
@ NCX_AGT_TARG_RUNNING
target=running
Definition: ncxtypes.h:520
@ NCX_AGT_TARG_REMOTE
TBD.
Definition: ncxtypes.h:522
@ NCX_AGT_TARG_CAND_RUNNING
TBD.
Definition: ncxtypes.h:523
@ NCX_NF_OCTAL
YANG octal format.
Definition: ncxtypes.h:499
@ NCX_NF_REAL
internal format for XPath
Definition: ncxtypes.h:502
@ NCX_NF_HEX
YANG hexidecimal format.
Definition: ncxtypes.h:501
@ NCX_NF_DEC
YANG deciaml format.
Definition: ncxtypes.h:500
@ NCX_NF_NONE
not set
Definition: ncxtypes.h:498
@ NCX_YANG_SID_MODE_SID_FILE
sid-file
Definition: ncxtypes.h:1759
@ NCX_YANG_SID_MODE_NONE
not set
Definition: ncxtypes.h:1758
@ NCX_YANG_SID_MODE_LSID_FILE
LSID FILE (Subscriber only)
Definition: ncxtypes.h:1761
@ NCX_YANG_SID_MODE_LSID
LSID (Publisher only)
Definition: ncxtypes.h:1760
@ NCX_IT_NONE
not set
Definition: ncxtypes.h:421
@ NCX_IT_INLINE
index simple type declared inline
Definition: ncxtypes.h:422
@ NCX_IT_SLOCAL
scoped local member within the table
Definition: ncxtypes.h:425
@ NCX_IT_LOCAL
local member within the table
Definition: ncxtypes.h:424
@ NCX_IT_NAMED
index named type declared inline
Definition: ncxtypes.h:423
@ NCX_IT_REMOTE
unscoped remote name
Definition: ncxtypes.h:426
@ NCX_IT_SREMOTE
scoped remote name
Definition: ncxtypes.h:427
@ NCX_CFGID_CANDIDATE
candidate datastore
Definition: ncxtypes.h:550
@ NCX_CFGID_STARTUP
startup datastore
Definition: ncxtypes.h:551
@ NCX_CFGID_RUNNING
running datastore (no value for not set!)
Definition: ncxtypes.h:549
@ NCX_CL_NAMED
a restriction of a named type
Definition: ncxtypes.h:412
@ NCX_CL_COMPLEX
a complex type
Definition: ncxtypes.h:411
@ NCX_CL_SIMPLE
a restriction of a base type
Definition: ncxtypes.h:410
@ NCX_CL_BASE
a built-in base type
Definition: ncxtypes.h:409
@ NCX_CL_REF
internal reference to another type
Definition: ncxtypes.h:413
@ NCX_CL_NONE
not set
Definition: ncxtypes.h:408
@ NCX_MSGTYP_RPCRPY
RFC 4741 or 6241 <rpc-reply>
Definition: ncxtypes.h:578
@ NCX_MSGTYP_RPCREQ
RFC 4741 or 6241 <rpc>
Definition: ncxtypes.h:577
@ NCX_MSGTYP_HELLO
RFC 4741 or 6241 <hello>
Definition: ncxtypes.h:576
@ NCX_MSGTYP_NOTIF
RFC 5277 <notification>
Definition: ncxtypes.h:579
@ NCX_MSGTYP_NONE
not set
Definition: ncxtypes.h:575
@ NCX_FEATURE_CODE_NONE
enum not explicitly set
Definition: ncxtypes.h:981
@ NCX_FEATURE_CODE_DYNAMIC
run-time if-feature code
Definition: ncxtypes.h:983
@ NCX_FEATURE_CODE_STATIC
compile-time if-feature code
Definition: ncxtypes.h:982
@ NCX_AGT_START_DISTINCT
with-startup=true
Definition: ncxtypes.h:531
@ NCX_AGT_START_MIRROR
with-startup=false
Definition: ncxtypes.h:530
@ NCX_AGT_START_NONE
not set
Definition: ncxtypes.h:529
@ NCX_IQUAL_NONE
value not set
Definition: ncxtypes.h:461
@ NCX_IQUAL_1MORE
'+' == 1 or more
Definition: ncxtypes.h:464
@ NCX_IQUAL_OPT
'?' == 0 or 1
Definition: ncxtypes.h:463
@ NCX_IQUAL_ZMORE
'*' == 0 or more
Definition: ncxtypes.h:465
@ NCX_IQUAL_ONE
no iqual == 1
Definition: ncxtypes.h:462
@ NCX_SR_BIT
bits restriction
Definition: ncxtypes.h:492
@ NCX_SR_NONE
not set
Definition: ncxtypes.h:489
@ NCX_SR_ENUM
enumeration restriction
Definition: ncxtypes.h:491
@ NCX_SR_PATTERN
pattern restriction
Definition: ncxtypes.h:490
@ NCX_MSG_ENCODING_JSON
JSON message encoding.
Definition: ncxtypes.h:654
@ NCX_MSG_ENCODING_NONE
not set
Definition: ncxtypes.h:648
@ NCX_MSG_ENCODING_XML
XML message encoding.
Definition: ncxtypes.h:651
@ NCX_MSG_ENCODING_CBOR
CBOR available if WITH_YANG_CBOR=1 set.
Definition: ncxtypes.h:657
@ NCX_SNMP_AGT_ROLE_NONE
not set
Definition: ncxtypes.h:1588
@ NCX_SNMP_AGT_ROLE_MASTER
SNMP master server role.
Definition: ncxtypes.h:1589
@ NCX_SNMP_AGT_ROLE_SUBAGENT
SNMP sub-agent role.
Definition: ncxtypes.h:1590
@ NCX_PROTO_YCONTROL
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:994
@ NCX_PROTO_NETCONF10
RFC 4741 base:1.0
Definition: ncxtypes.h:990
@ NCX_PROTO_NETCONF11
RFC 6241 base:1.1.
Definition: ncxtypes.h:991
@ NCX_PROTO_YUMA_YANGAPI
YumaPro YANG-API 1.0.
Definition: ncxtypes.h:992
@ NCX_PROTO_NONE
not set
Definition: ncxtypes.h:989
@ NCX_PROTO_RESTCONF
IETF RESTCONF.
Definition: ncxtypes.h:995
@ NCX_PROTO_YUMA_CLI
YumaPro Internal CLI 1.0.
Definition: ncxtypes.h:993
@ NCX_BT_NONE
No type has been set yet.
Definition: ncxtypes.h:219
@ NCX_BT_INT64
YANG int64 data type.
Definition: ncxtypes.h:270
@ NCX_BT_LEAFREF
YANG 'leafref' data type.
Definition: ncxtypes.h:338
@ NCX_BT_UINT32
YANG uint32 data type.
Definition: ncxtypes.h:285
@ NCX_BT_BOOLEAN
YANG boolean data type.
Definition: ncxtypes.h:250
@ NCX_BT_INSTANCE_ID
YANG instance-identifier data type.
Definition: ncxtypes.h:321
@ NCX_BT_CASE
YANG case.
Definition: ncxtypes.h:371
@ NCX_BT_FLOAT64
Hidden double type, used just for XPath.
Definition: ncxtypes.h:301
@ NCX_BT_INT8
YANG int8 data type.
Definition: ncxtypes.h:255
@ NCX_BT_UINT16
YANG uint16 data type.
Definition: ncxtypes.h:280
@ NCX_BT_STRING
YANG 'string' type.
Definition: ncxtypes.h:310
@ NCX_BT_LIST
YANG list instance node.
Definition: ncxtypes.h:376
@ NCX_BT_INT32
YANG int32 data type.
Definition: ncxtypes.h:265
@ NCX_BT_EMPTY
YANG empty data type.
Definition: ncxtypes.h:245
@ NCX_BT_BITS
YANG bits data type.
Definition: ncxtypes.h:233
@ NCX_BT_CHOICE
YANG choice.
Definition: ncxtypes.h:364
@ NCX_BT_UNION
YANG 'union' data type.
Definition: ncxtypes.h:330
@ NCX_BT_INT16
YANG int16 data type.
Definition: ncxtypes.h:260
@ NCX_BT_CONTAINER
YANG container node.
Definition: ncxtypes.h:357
@ NCX_BT_ENUM
YANG enumeration data type.
Definition: ncxtypes.h:239
@ NCX_BT_ANY
The node is a YANG 1.0 'anyxml' node.
Definition: ncxtypes.h:228
@ NCX_BT_UINT8
YANG uint8 data type.
Definition: ncxtypes.h:275
@ NCX_BT_EXTERN
Internal 'external' data type, used in server and yangcli-pro.
Definition: ncxtypes.h:390
@ NCX_BT_INTERN
Internal 'buffer' data type, used in server and yangcli-pro.
Definition: ncxtypes.h:396
@ NCX_BT_DECIMAL64
YANG decimal64 data type.
Definition: ncxtypes.h:295
@ NCX_BT_UINT64
YANG uint64 data type.
Definition: ncxtypes.h:290
@ NCX_BT_BINARY
YANG binary data type.
Definition: ncxtypes.h:316
@ NCX_BT_ANYDATA
The node is a YANG 1.1 'anydata' node.
Definition: ncxtypes.h:384
@ NCX_BT_IDREF
YANG identityref data type.
Definition: ncxtypes.h:346
@ NCX_BT_SLIST
ncx:xsdlist extension (internal, deprecated)
Definition: ncxtypes.h:352
@ NCX_ACCESS_NONE
enum not explicitly set
Definition: ncxtypes.h:184
@ NCX_ACCESS_RO
read-only
Definition: ncxtypes.h:185
@ NCX_ACCESS_RW
read-write (create/delete not allowed)
Definition: ncxtypes.h:186
@ NCX_ACCESS_RC
read-create (all access)
Definition: ncxtypes.h:187
@ NCX_BAD_REPLY_ADAPT
default; adapt node
Definition: ncxtypes.h:1740
@ NCX_BAD_REPLY_ERROR
report Error and stop parse
Definition: ncxtypes.h:1742
@ NCX_BAD_REPLY_PRUNE
prune failing node(s)
Definition: ncxtypes.h:1741
@ NCX_BAD_REPLY_NONE
not set
Definition: ncxtypes.h:1739
@ NCX_DC_CONFIG
persistent config
Definition: ncxtypes.h:205
@ NCX_DC_NONE
not set
Definition: ncxtypes.h:204
@ NCX_DC_STATE
state or statistics
Definition: ncxtypes.h:206
@ NCX_OPT
clause is optional
Definition: ncxtypes.h:1333
@ NCX_REQ
clause is required
Definition: ncxtypes.h:1332
@ NCX_BAD_DATA_CHECK
NCX_BAD_DATA_CHECK to prompt user to keep or re-enter value.
Definition: ncxtypes.h:604
@ NCX_BAD_DATA_NONE
not set
Definition: ncxtypes.h:595
@ NCX_BAD_DATA_ERROR
NCX_BAD_DATA_ERROR to prompt user to re-enter value.
Definition: ncxtypes.h:607
@ NCX_BAD_DATA_IGNORE
NCX_BAD_DATA_IGNORE to silently accept invalid input values.
Definition: ncxtypes.h:598
@ NCX_BAD_DATA_WARN
NCX_BAD_DATA_WARN to warn and accept invalid input values.
Definition: ncxtypes.h:601
@ NCX_SID_NS_NONE
not set
Definition: ncxtypes.h:1748
@ NCX_SID_NS_MODULE
module namespace
Definition: ncxtypes.h:1749
@ NCX_SID_NS_FEATURE
feature namespace
Definition: ncxtypes.h:1751
@ NCX_SID_NS_IDENTITY
identity namespace
Definition: ncxtypes.h:1750
@ NCX_SID_NS_DATA
data namespace
Definition: ncxtypes.h:1752
@ NCX_MATCH_EXACT
exact (default)
Definition: ncxtypes.h:697
@ NCX_MATCH_ONE_NOCASE
match all chars case-insensitive if only 1 match
Definition: ncxtypes.h:702
@ NCX_MATCH_FIRST_NOCASE
match all chars case-insensitive, return first match
Definition: ncxtypes.h:708
@ NCX_MATCH_NONE
not set
Definition: ncxtypes.h:696
@ NCX_MATCH_FIRST
match all chars case-insensitive, return first match
Definition: ncxtypes.h:705
@ NCX_MATCH_EXACT_NOCASE
exact but case-insensitive
Definition: ncxtypes.h:698
@ NCX_MATCH_ONE
match all chars if only 1 match
Definition: ncxtypes.h:699
@ NCX_LAYER_CONTENT
application layer
Definition: ncxtypes.h:512
@ NCX_LAYER_OPERATION
protocol operation layer
Definition: ncxtypes.h:511
@ NCX_LAYER_NONE
not set
Definition: ncxtypes.h:508
@ NCX_LAYER_RPC
RPC operation layer.
Definition: ncxtypes.h:510
@ NCX_LAYER_TRANSPORT
transport layer
Definition: ncxtypes.h:509
@ NCX_MERGE_SORT
merge sorted
Definition: ncxtypes.h:473
@ NCX_MERGE_LAST
merge last
Definition: ncxtypes.h:472
@ NCX_MERGE_NONE
value not set
Definition: ncxtypes.h:470
@ NCX_MERGE_FIRST
merge first
Definition: ncxtypes.h:471
@ NCX_NMDA_DS_INTENDED
intended datastore
Definition: ncxtypes.h:1616
@ NCX_NMDA_DS_OPERATIONAL
operational datastore
Definition: ncxtypes.h:1617
@ NCX_NMDA_DS_RUNNING
running datastore
Definition: ncxtypes.h:1614
@ NCX_NMDA_DS_NONE
not set
Definition: ncxtypes.h:1612
@ NCX_NMDA_DS_CANDIDATE
candidate datastore
Definition: ncxtypes.h:1613
@ NCX_NMDA_DS_STARTUP
startup datastore
Definition: ncxtypes.h:1615
@ NCX_RF_NONE
not set
Definition: ncxtypes.h:716
@ NCX_RF_XML
XML result.
Definition: ncxtypes.h:718
@ NCX_RF_JSON
JSON result.
Definition: ncxtypes.h:719
@ NCX_RF_TEXT
text result
Definition: ncxtypes.h:717
@ NCX_SQUAL_VAL
search values
Definition: ncxtypes.h:481
@ NCX_SQUAL_META
search metadata
Definition: ncxtypes.h:482
@ NCX_SQUAL_APPINFO
search appinfo
Definition: ncxtypes.h:483
@ NCX_SQUAL_RANGE
search range
Definition: ncxtypes.h:480
@ NCX_SQUAL_NONE
not set
Definition: ncxtypes.h:479
@ NCX_XPATH_TYPE_OTHER
not used
Definition: ncxtypes.h:1274
@ NCX_XPATH_TYPE_MUST
must=stmt
Definition: ncxtypes.h:1270
@ NCX_XPATH_TYPE_NACM
NACM data rule.
Definition: ncxtypes.h:1272
@ NCX_XPATH_TYPE_WHEN
when-stmt
Definition: ncxtypes.h:1271
@ NCX_XPATH_TYPE_LEAFREF
intermediate leafref node
Definition: ncxtypes.h:1273
@ NCX_XPATH_TYPE_NONE
not set
Definition: ncxtypes.h:1269
@ NCX_NMDA_ORIGIN_NONE
not set
Definition: ncxtypes.h:1623
@ NCX_NMDA_ORIGIN_LEARNED
learned origin
Definition: ncxtypes.h:1627
@ NCX_NMDA_ORIGIN_DYNAMIC
dynamic origin
Definition: ncxtypes.h:1625
@ NCX_NMDA_ORIGIN_INTENDED
intended origin
Definition: ncxtypes.h:1624
@ NCX_NMDA_ORIGIN_SYSTEM
system-set origin
Definition: ncxtypes.h:1626
@ NCX_NMDA_ORIGIN_DEFAULT
set by default origin
Definition: ncxtypes.h:1628
@ NCX_NMDA_ORIGIN_UNKNOWN
unknown origin
Definition: ncxtypes.h:1629
@ NCX_CFG_STATE_OK
normal state
Definition: ncxtypes.h:1694
@ NCX_CFG_STATE_INIT
initialization phase
Definition: ncxtypes.h:1693
@ NCX_CFG_STATE_NONE
not set
Definition: ncxtypes.h:1692
@ NCX_CFG_STATE_BAD
bad datastore being used anyway
Definition: ncxtypes.h:1695
@ NCX_DISPLAY_MODE_XML
XML display mode.
Definition: ncxtypes.h:630
@ NCX_DISPLAY_MODE_PREFIX
plain CLI display mode with YANG prefixes added to nodes
Definition: ncxtypes.h:624
@ NCX_DISPLAY_MODE_CBOR
server CBOR binary output (CANNOT DISPLAY)
Definition: ncxtypes.h:642
@ NCX_DISPLAY_MODE_NONE
not set
Definition: ncxtypes.h:618
@ NCX_DISPLAY_MODE_XML_NONS
XML display mode without any prefixes (not compliant XML!)
Definition: ncxtypes.h:633
@ NCX_DISPLAY_MODE_MODULE
plain CLI display mode with YANG module names added to nodes
Definition: ncxtypes.h:627
@ NCX_DISPLAY_MODE_JSON
JSON (RFC 7951 format)
Definition: ncxtypes.h:636
@ NCX_DISPLAY_MODE_PLAIN
plain CLI display mode
Definition: ncxtypes.h:621
@ NCX_DISPLAY_MODE_CLI
yangcli-pro CLI mode
Definition: ncxtypes.h:639
@ NCX_SM_ST_ERROR
setup completed with errors
Definition: ncxtypes.h:1772
@ NCX_SM_ST_NONE
not set
Definition: ncxtypes.h:1768
@ NCX_SM_ST_SETUP
setup is in progress
Definition: ncxtypes.h:1770
@ NCX_SM_ST_DONE
setup completed with OK
Definition: ncxtypes.h:1771
@ NCX_SM_ST_PENDING
server has this MP; needs setup
Definition: ncxtypes.h:1769
@ NCX_NO_WSP
whitespace not allowed: unquoted string
Definition: ncxtypes.h:1340
@ NCX_WSP
whitespace allowed: quoted string
Definition: ncxtypes.h:1339
@ NCX_MODFORMAT_YANG
YANG format.
Definition: ncxtypes.h:1478
@ NCX_MODFORMAT_YIN
YIN format.
Definition: ncxtypes.h:1479
@ NCX_MODFORMAT_RNG
RelaxNG format (not supported )
Definition: ncxtypes.h:1480
@ NCX_MODFORMAT_NONE
not set
Definition: ncxtypes.h:1476
@ NCX_MODFORMAT_XSD
XSD format.
Definition: ncxtypes.h:1477
@ NCX_MODFORMAT_RNC
RelaxNG compact (not supported)
Definition: ncxtypes.h:1481
@ NCX_WITHDEF_REPORT_ALL
report-all
Definition: ncxtypes.h:1261
@ NCX_WITHDEF_REPORT_ALL_TAGGED
report-all-tagged
Definition: ncxtypes.h:1262
@ NCX_WITHDEF_NONE
not set
Definition: ncxtypes.h:1260
@ NCX_WITHDEF_EXPLICIT
explicit
Definition: ncxtypes.h:1264
@ NCX_WITHDEF_TRIM
trim
Definition: ncxtypes.h:1263
@ NCX_SHUT_FALLBACK
, called from <shutdown>, SIGINT, SIGKILL, SIGQUIT, SIGABRT, SIGTRAP, SIGTERM
Definition: ncxtypes.h:543
@ NCX_SHUT_NONE
not set
Definition: ncxtypes.h:537
@ NCX_SHUT_RELOAD
kill -10 SIGUSR1
Definition: ncxtypes.h:539
@ NCX_SHUT_RESET
kill -1 SIGHUP
Definition: ncxtypes.h:538
@ NCX_SHUT_RESTART
called from <restart>
Definition: ncxtypes.h:540
@ XP_AX_ATTRIBUTE
attribute axis
Definition: ncxtypes.h:666
@ XP_AX_SELF
self axis
Definition: ncxtypes.h:690
@ XP_AX_NONE
not set
Definition: ncxtypes.h:663
@ XP_AX_PRECEDING
preceding axis (not allowed in YANG)
Definition: ncxtypes.h:684
@ XP_AX_ANCESTOR_OR_SELF
ancestor-or-self axis
Definition: ncxtypes.h:665
@ XP_AX_NAMESPACE
namespace axis (not allowed in YANG)
Definition: ncxtypes.h:678
@ XP_AX_PARENT
parent axis
Definition: ncxtypes.h:681
@ XP_AX_ANCESTOR
ancestor axis
Definition: ncxtypes.h:664
@ XP_AX_DESCENDANT_OR_SELF
descendant-or-self axis
Definition: ncxtypes.h:669
@ XP_AX_FOLLOWING
following axis (not allowed in YANG)
Definition: ncxtypes.h:672
@ XP_AX_DESCENDANT
descendant axis
Definition: ncxtypes.h:668
@ XP_AX_CHILD
child axis (default)
Definition: ncxtypes.h:667
@ XP_AX_FOLLOWING_SIBLING
following-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:675
@ XP_AX_PRECEDING_SIBLING
preceding-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:687
@ NCX_IFMT_XPATH2
double-quote Xpath for error-path
Definition: ncxtypes.h:565
@ NCX_IFMT_YANGAPI
YANG-API URI with list1/key1/key2.
Definition: ncxtypes.h:568
@ NCX_IFMT_XPATH1
single-quote Xpath for filter
Definition: ncxtypes.h:564
@ NCX_IFMT_NONE
not set
Definition: ncxtypes.h:562
@ NCX_IFMT_CLI2
CLI syntax used in yangcli config mode.
Definition: ncxtypes.h:567
@ NCX_IFMT_CLI
CLI syntax used in val_dump_value.
Definition: ncxtypes.h:566
@ NCX_IFMT_C
C format.
Definition: ncxtypes.h:563
@ NCX_IFMT_RESTCONF
RESTCONF URI with list1=key1,key2.
Definition: ncxtypes.h:569
YANG extension usage entry A nested external statement will produce a tree of ncx_appinfo_t.
Definition: ncxtypes.h:874
ncx_error_t tkerr
file and line info for the compiler
Definition: ncxtypes.h:897
xmlChar * value
argument string (if any)
Definition: ncxtypes.h:885
boolean isclone
flag to identfy cloned appinfo
Definition: ncxtypes.h:894
xmlChar * name
external statement name
Definition: ncxtypes.h:882
struct ext_template_t_ * ext
YANG extension found to match this external stmt.
Definition: ncxtypes.h:888
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:876
xmlChar * prefix
external prefix used
Definition: ncxtypes.h:879
dlq_hdr_t * appinfoQ
nested external statements within this one
Definition: ncxtypes.h:891
used with various structs to cache back-ptrs the 'node' pointer may or may not be malloced!...
Definition: ncxtypes.h:1511
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1512
void * node
const or plain malloced data pointer
Definition: ncxtypes.h:1513
NCX base64 string node for YANG 'binary' built-in type.
Definition: ncxtypes.h:853
uint32 ubufflen
binary buffer len
Definition: ncxtypes.h:855
uint32 ustrlen
binary buffer used
Definition: ncxtypes.h:856
unsigned char * ustr
binary string
Definition: ncxtypes.h:854
one NCX_BT_BITS bit value
Definition: ncxtypes.h:806
xmlChar * dname
malloced bit name (value not checked)
Definition: ncxtypes.h:808
uint32 pos
position value or implied position
Definition: ncxtypes.h:809
const xmlChar * name
bptr to typ_enum_t.name or this.dname
Definition: ncxtypes.h:807
Decimal64 data type.
Definition: ncxtypes.h:761
int64 val
adjusted number to fit in 64 bits
Definition: ncxtypes.h:762
uint8 digits
number of decimal digits 1 .
Definition: ncxtypes.h:763
uint8 zeroes
number of leading zeroes 0 .
Definition: ncxtypes.h:764
one NCX_BT_ENUM enumeration value (user may enter 1 of 3 forms)
Definition: ncxtypes.h:798
xmlChar * dname
malloced enum (value not checked)
Definition: ncxtypes.h:800
int32 val
YANG value-stmt or implied value.
Definition: ncxtypes.h:801
const xmlChar * name
bptr to typ_enum_t or dname
Definition: ncxtypes.h:799
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1347
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1354
xmlChar * error_app_tag
error-app-tag field
Definition: ncxtypes.h:1357
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1348
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1351
xmlChar * error_message
error-message field
Definition: ncxtypes.h:1360
boolean seen
for yangdiff
Definition: ncxtypes.h:1361
error message replacement record
Definition: ncxtypes.h:1604
status_t res
key
Definition: ncxtypes.h:1605
const xmlChar * errmsg
backptr to CLI param value string
Definition: ncxtypes.h:1606
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information
Definition: ncxtypes.h:864
uint32 linepos
line position
Definition: ncxtypes.h:867
uint32 linenum
line number
Definition: ncxtypes.h:866
struct ncx_module_t_ * mod
module back-ptr
Definition: ncxtypes.h:865
YANG feature entry.
Definition: ncxtypes.h:1008
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1029
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:1038
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1025
dlq_hdr_t iffeatureQ
Q of ncx_iffeature_t.
Definition: ncxtypes.h:1024
xmlChar * name
feature name
Definition: ncxtypes.h:1013
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1022
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1019
ncx_feature_code_t code
dynamic or static code-gen
Definition: ncxtypes.h:1028
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1010
boolean enabled
feature is enabled
Definition: ncxtypes.h:1027
status_t res
may be stored with errors
Definition: ncxtypes.h:1026
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1016
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1041
uint8 feature_flags
internal flags for YANG 1.1 processing
Definition: ncxtypes.h:1033
boolean seen
for yangdiff
Definition: ncxtypes.h:1030
struct for holding r/o pointer to generic internal node for filtering purposes
Definition: ncxtypes.h:1048
struct obj_template_t_ * objnode
get2 for complex node
Definition: ncxtypes.h:1052
struct val_value_t_ * useval
parent node of objnode
Definition: ncxtypes.h:1053
struct val_value_t_ * filnode
read-only backptr
Definition: ncxtypes.h:1051
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1049
struct getcb_get2_t_ * get2cb
get2 control block in use
Definition: ncxtypes.h:1054
dlq_hdr_t childQ
Q of ncx_filptr_t.
Definition: ncxtypes.h:1058
dlq_hdr_t selectQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1057
dlq_hdr_t matchQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1056
dlq_hdr_t lookupQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1055
struct val_value_t_ * node
read-only backptr
Definition: ncxtypes.h:1050
YANG identity base.
Definition: ncxtypes.h:1082
xmlChar * basename
base identity name
Definition: ncxtypes.h:1086
struct ncx_identity_t_ * base
back-ptr to base id
Definition: ncxtypes.h:1084
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1083
xmlChar * baseprefix
base identity prefix
Definition: ncxtypes.h:1085
YANG identity entry.
Definition: ncxtypes.h:1091
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1112
ncx_sid_t yang_sid
Each Identity is assigned a YANG SID for CBOR encoding.
Definition: ncxtypes.h:1116
boolean isroot
base==NULL not an error
Definition: ncxtypes.h:1110
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1106
dlq_hdr_t iffeatureQ
Q if ncx_iffeature_t structs.
Definition: ncxtypes.h:1107
xmlChar * name
identity name
Definition: ncxtypes.h:1094
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1104
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1100
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1092
status_t res
may be stored with errors
Definition: ncxtypes.h:1109
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1097
dlq_hdr_t childQ
Q of ncx_idlink_t.
Definition: ncxtypes.h:1105
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1119
uint8 feature_flags
internal YANG 1.1 flags
Definition: ncxtypes.h:1108
const xmlChar * modname
backptr into module
Definition: ncxtypes.h:1102
dlq_hdr_t baseQ
Q of ncx_identity_base_t.
Definition: ncxtypes.h:1093
boolean seen
for yangcli
Definition: ncxtypes.h:1113
ncx_idlink_t idlink
internal id link
Definition: ncxtypes.h:1111
xmlns_id_t nsid
from mod containing identity
Definition: ncxtypes.h:1103
back pointer to a YANG identity used to create an inline tree of valid values for an identity used as...
Definition: ncxtypes.h:1074
boolean inq
flag if in a queue
Definition: ncxtypes.h:1077
struct ncx_identity_t_ * identity
identity back-ptr
Definition: ncxtypes.h:1076
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1075
YANG 1.1 identifier-ref-arg that within an if-feature expression.
Definition: ncxtypes.h:924
struct ncx_feature_t_ * feature
backptr to found feature
Definition: ncxtypes.h:935
xmlChar * name
feature name used in if-feature
Definition: ncxtypes.h:932
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:926
xmlChar * prefix
prefix used in if-feature
Definition: ncxtypes.h:929
YANG if-feature entry.
Definition: ncxtypes.h:940
ncx_error_t tkerr
file, line info for compiler errors
Definition: ncxtypes.h:973
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:953
xmlChar * name
YANG 1.1 allows an expression.
Definition: ncxtypes.h:946
boolean expr_logerrors
true if logging errors; F: silent
Definition: ncxtypes.h:970
boolean expr_skipmode
internal optimization flag
Definition: ncxtypes.h:969
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:964
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:942
boolean expr_evalmode
internal field
Definition: ncxtypes.h:972
xmlChar * prefix
the prefix used in the if-feature stmt
Definition: ncxtypes.h:945
struct tk_chain_t_ * expr_tkc
the token control block contains the re-parsed string and used to evaluate expression logic
Definition: ncxtypes.h:958
boolean seen
for yangdiff
Definition: ncxtypes.h:975
boolean expr_set
state variables used for YANG 1.1 if-feature-stmt parsing
Definition: ncxtypes.h:967
boolean expr_result
expression result, if set
Definition: ncxtypes.h:968
One 'import' clause in YANG.
Definition: ncxtypes.h:1279
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1303
dlq_hdr_t appinfoQ
saved external stmts in this import
Definition: ncxtypes.h:1302
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1295
xmlChar * module
module name being imported
Definition: ncxtypes.h:1283
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1280
status_t res
set to NO_ERR if the import was parsed OK
Definition: ncxtypes.h:1304
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1292
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1300
xmlChar * revision
revision-stmt for import-by-revision
Definition: ncxtypes.h:1289
boolean used
for compiler not-used warning
Definition: ncxtypes.h:1299
ncx_module_t * mod
found module for this import
Definition: ncxtypes.h:1298
xmlChar * prefix
prefix used in import-stmt for module
Definition: ncxtypes.h:1286
boolean force_yuma_nc
HACK: TRUE if yuma-nc replacing ietf-nc.
Definition: ncxtypes.h:1301
One 'include' clause, YANG only.
Definition: ncxtypes.h:1309
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1326
dlq_hdr_t appinfoQ
saved external stmts in this include
Definition: ncxtypes.h:1325
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1320
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1310
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1317
struct ncx_module_t_ * submod
found submodule for this include
Definition: ncxtypes.h:1323
xmlChar * submodule
submodule name to include
Definition: ncxtypes.h:1311
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1324
xmlChar * revision
revision date for include-by-revision
Definition: ncxtypes.h:1314
header for a NCX List
Definition: ncxtypes.h:846
ncx_btype_t btyp
base type of each member
Definition: ncxtypes.h:847
dlq_hdr_t memQ
Q of ncx_lmem_t.
Definition: ncxtypes.h:848
NCX list member: list of string or number Usually used within a val_value_t structure.
Definition: ncxtypes.h:816
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:818
uint32 flags
flags to maintain list state
Definition: ncxtypes.h:841
server module info cache record for def_reg_add_mod
Definition: ncxtypes.h:1595
const xmlChar * modname
backptr
Definition: ncxtypes.h:1597
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1125
ncx_sid_t yang_sid
If the module SID is set then the SID file load is assumed to have worked.
Definition: ncxtypes.h:1227
dlq_hdr_t saveimpQ
Q of yang_import_ptr_t.
Definition: ncxtypes.h:1196
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1194
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: ncxtypes.h:1189
xmlChar * name
module name
Definition: ncxtypes.h:1127
xmlChar * ocversion
oc-ext:openconfig-version
Definition: ncxtypes.h:1134
xmlChar * source
full YANG/YIN filespec
Definition: ncxtypes.h:1158
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1146
xmlChar * contact_info
contact-stmt (not saved on server)
Definition: ncxtypes.h:1140
dlq_hdr_t featureQ
Q of ncx_feature_t.
Definition: ncxtypes.h:1192
dlq_hdr_t revhistQ
Q of ncx_revhist_t.
Definition: ncxtypes.h:1184
boolean unloadable
T: unload allowed.
Definition: ncxtypes.h:1211
dlq_hdr_t typnameQ
Q of ncx_typname_t.
Definition: ncxtypes.h:1195
xmlChar * xmlprefix
assigned prefix (may be different than YANG prefix)
Definition: ncxtypes.h:1155
dlq_hdr_t identityQ
Q of ncx_identity_t.
Definition: ncxtypes.h:1193
boolean mounted
T: SM mounted module.
Definition: ncxtypes.h:1214
boolean ocpattern_mode
T: openconfig patterns.
Definition: ncxtypes.h:1179
boolean dev_module
T: deviation; F: normal.
Definition: ncxtypes.h:1178
dlq_hdr_t includeQ
Q of ncx_include_t.
Definition: ncxtypes.h:1186
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1126
dlq_hdr_t importQ
Q of ncx_import_t.
Definition: ncxtypes.h:1185
xmlChar * version
module revision; this is allowed to be NULL in YANG identifying the one and only revision of the modu...
Definition: ncxtypes.h:1133
dlq_hdr_t allincQ
Q of yang_node_t to track all submodules.
Definition: ncxtypes.h:1204
dlq_hdr_t stmtQ
Q of yang_stmt_t.
Definition: ncxtypes.h:1198
dlq_hdr_t typeQ
Q of typ_template_t.
Definition: ncxtypes.h:1187
boolean ismod
module/submodule keyword
Definition: ncxtypes.h:1172
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1143
struct ncx_module_t_ * parent
if this is a submodule
Definition: ncxtypes.h:1201
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1230
uint32 errors
yangdump results
Definition: ncxtypes.h:1181
uint32 flags
internal flags
Definition: ncxtypes.h:1171
dlq_hdr_t groupingQ
Q of grp_template_t.
Definition: ncxtypes.h:1188
boolean defaultrev
T: use for default ver.
Definition: ncxtypes.h:1176
struct ncx_sm_rootcb_t_ * rootcb
Schema Mount pointers.
Definition: ncxtypes.h:1217
boolean sid_file_done
YANG_SID data used to support CBOR message encoding flag indicates SID file load has been attempted.
Definition: ncxtypes.h:1222
uint32 warnings
yangdump results
Definition: ncxtypes.h:1182
boolean stmtmode
T: save yang_stmt_t.
Definition: ncxtypes.h:1173
boolean defaults_added
agt: for mod load
Definition: ncxtypes.h:1177
xmlChar * ns
namespace URI
Definition: ncxtypes.h:1149
dlq_hdr_t extensionQ
Q of ext_template_t.
Definition: ncxtypes.h:1190
const xmlChar * belongsver
back ptr to mod ver
Definition: ncxtypes.h:1167
boolean supported
T: load: F: import only.
Definition: ncxtypes.h:1175
struct ncx_module_t_ * parentmod
backptr set if submod
Definition: ncxtypes.h:1164
ncx_yang_version_t langver
YANG lang.
Definition: ncxtypes.h:1170
xmlChar * prefix
module prefix
Definition: ncxtypes.h:1152
boolean unload_active
T: unload in progress.
Definition: ncxtypes.h:1212
const xmlChar * sourcefn
ptr to fn in source
Definition: ncxtypes.h:1166
dlq_hdr_t deviationQ
Q of obj_deviation_t.
Definition: ncxtypes.h:1191
xmlChar * organization
organization-stmt (not saved on server)
Definition: ncxtypes.h:1137
dlq_hdr_t incchainQ
used if parent == NULL
Definition: ncxtypes.h:1206
xmlChar * sid_source
full SID filespec if WITH_YANG_CBOR enabled
Definition: ncxtypes.h:1161
uint32 line_count
for EVAL_VERSION
Definition: ncxtypes.h:1210
ncx_list_t devmodlist
for deviations list
Definition: ncxtypes.h:1208
status_t status
module parse result
Definition: ncxtypes.h:1180
boolean added
T: don't free on err.
Definition: ncxtypes.h:1174
xmlns_id_t nsid
assigned by xmlns
Definition: ncxtypes.h:1169
xmlChar * belongs
set if submod
Definition: ncxtypes.h:1163
internal NMDA get-data state parameters; rest of parameter are stored directly in the xml_msg_hdr_t u...
Definition: ncxtypes.h:1643
boolean origin_filter_negated
T: origin filter is negated.
Definition: ncxtypes.h:1651
ncx_nmda_ds_t nmda_ds
NMDA datastore to use.
Definition: ncxtypes.h:1663
boolean config_filter
content filter (config or non-config)
Definition: ncxtypes.h:1657
ncx_cfg_t cfg_ds
internal config ID to use
Definition: ncxtypes.h:1666
dlq_hdr_t origin_filterQ
Q of ncx_nmda_origin_filter_t.
Definition: ncxtypes.h:1645
boolean origin_filter_set
T: origin filter is being used.
Definition: ncxtypes.h:1648
boolean config_filter_set
config content filter used
Definition: ncxtypes.h:1654
boolean with_origin
add origin attributes
Definition: ncxtypes.h:1660
internal NMDA origin filter (negate field stored separately)
Definition: ncxtypes.h:1634
ncx_nmda_origin_t origin
origin filter
Definition: ncxtypes.h:1636
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1635
gather the prefix/nsid bindings used in an XPath string needed to generate the correct xmlns directiv...
Definition: ncxtypes.h:1729
const xmlChar * prefix
backptr to token inside xpath pcb
Definition: ncxtypes.h:1730
xmlns_id_t nsid
namespace ID
Definition: ncxtypes.h:1731
YANG revision entry.
Definition: ncxtypes.h:902
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:919
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:913
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:904
xmlChar * version
revision data argument
Definition: ncxtypes.h:907
status_t res
parsing result
Definition: ncxtypes.h:916
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:910
used with obj_deviation_t to defer object lookups
Definition: ncxtypes.h:1486
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1487
struct ncx_module_t_ * devmod
deviations module
Definition: ncxtypes.h:1488
boolean annotation
T: annotation, F:deviation.
Definition: ncxtypes.h:1489
Moint Point Instance This struct lives in a val_value_t.val_extra struct.
Definition: ncxtypes.h:1782
xmlChar * module
Set for SIL-SA ONLY: module name for the mount point This is a malloced string.
Definition: ncxtypes.h:1811
xmlChar * label
Set for SIL-SA ONLY: label for the mount point This is a malloced string.
Definition: ncxtypes.h:1816
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1783
dlq_hdr_t anckeyQ
Q of malloced val_value_t; 1 entry for each key leaf includes the ancestor keys.
Definition: ncxtypes.h:1788
boolean backptr_queued
flag to indicate the backptr is actually in a rootcb->mpidQ.
Definition: ncxtypes.h:1806
struct val_value_t_ * valroot
Backptr to the value node that contains this MPID This is a SIL only field.
Definition: ncxtypes.h:1793
ncx_backptr_t backptr
inline backptr used to store this MPID in the rootcb->mpidQ.
Definition: ncxtypes.h:1800
xmlChar * objpath
Set for SIL-SA ONLY: path string for the object template This is a malloced string.
Definition: ncxtypes.h:1821
Schema Mount Root Control Block used in the object template.
Definition: ncxtypes.h:1860
xmlChar * modname
Name of a module containing the mount point, copied in case the module is deleted.
Definition: ncxtypes.h:1869
ncx_yanglib_cb_t yanglib_cb
YANG Library control block.
Definition: ncxtypes.h:1898
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:1884
dlq_hdr_t devQ
Queue of mounted ncx_save_deviations_t devitaion modules.
Definition: ncxtypes.h:1909
xmlChar * label
Mount Point label string: copied in case module deleted.
Definition: ncxtypes.h:1864
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:1892
dlq_hdr_t mpidQ
Mount Point ID Queue of ncx_sm_mpid_t containing val_root and ancestor keys.
Definition: ncxtypes.h:1903
boolean config
TRUE if the subtree of this MP is config TRUE.
Definition: ncxtypes.h:1875
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1861
dlq_hdr_t modQ
Queue of mounted ncx_module_t modules.
Definition: ncxtypes.h:1906
uint16 bundles_waiting
non-zero if any bundles are waiting
Definition: ncxtypes.h:1887
struct obj_template_t_ * rootobj
root object of a new mounted top root
Definition: ncxtypes.h:1895
xmlChar * loadpath
loadpath name
Definition: ncxtypes.h:1911
boolean toproot
TRUE if the this is TOP level Root Control Block.
Definition: ncxtypes.h:1878
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:1917
xmlChar * objpath
Object path to the current Mount Point.
Definition: ncxtypes.h:1872
keep track of the typenames used for local typedefs only used by ncxdump to generate XSDs OBSOLETE: D...
Definition: ncxtypes.h:1369
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1370
struct typ_template_t_ * typ
backptr to type
Definition: ncxtypes.h:1371
const xmlChar * typname
typename
Definition: ncxtypes.h:1372
xmlChar * typname_malloc
replaced type name
Definition: ncxtypes.h:1373
one context for a yang library.
Definition: ncxtypes.h:1830
struct val_value_t_ * modset_val
value instance for /yang-library/module-set
Definition: ncxtypes.h:1845
boolean free_yanglib_val
NMDA lib: will be TRUE for a SM rootcb and FALSE for the toplib.
Definition: ncxtypes.h:1854
struct val_value_t_ * mymoduleid_val
value used for /modules-state/module-set-id
Definition: ncxtypes.h:1839
struct val_value_t_ * yanglib_val
value for /yang-library
Definition: ncxtypes.h:1842
uint32 myhash_val
data for value used for /modules-state/module-set-id
Definition: ncxtypes.h:1836
struct val_value_t_ * content_id_val
value node for /yang-library/content-id
Definition: ncxtypes.h:1848
boolean free_mymodules_val
will be TRUE for a SM rootcb and FALSE for the toplib
Definition: ncxtypes.h:1851
struct val_value_t_ * mymodules_val
value for /modules-state
Definition: ncxtypes.h:1833
union of various data structures to represent different base types
Definition: ncxtypes.h:823
ncx_num_t num
list member is a number
Definition: ncxtypes.h:825
boolean boo
list member is a boolean
Definition: ncxtypes.h:837
ncx_bit_t bit
list member is a bit
Definition: ncxtypes.h:834
ncx_enum_t enu
list member is a enum
Definition: ncxtypes.h:831
ncx_str_t str
list member is a string
Definition: ncxtypes.h:828
union of all the basic number types if float not supported, then it is stored as an int64
Definition: ncxtypes.h:771
ncx_dec64_t dec
NCX_BT_DECIMAL64.
Definition: ncxtypes.h:782
uint32 u
NCX_BT_UINT.
Definition: ncxtypes.h:774
uint64 ul
NCX_BT_ULONG.
Definition: ncxtypes.h:775
int64 l
NCX_BT_LONG.
Definition: ncxtypes.h:773
int64 d
NCX_BT_DOUBLE.
Definition: ncxtypes.h:780
int32 i
NCX_BT_INT.
Definition: ncxtypes.h:772