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_ {
739#define MAX_YANG_SID 0x7fffU
744#define MAX_YANG_SID 0x7fffffffU
749#define MAX_YANG_SID 0x7fffffffffffffffUU
753#define MAX_YANG_SID 0x7fffffffU
762#define TXID_T long long unsigned int
770typedef struct ncx_dec64_t_ {
780typedef union ncx_num_t_ {
804typedef const xmlChar * ncx_const_str_t;
807typedef struct ncx_enum_t_ {
815typedef struct ncx_bit_t_ {
825typedef struct ncx_lmem_t_ {
855typedef struct ncx_list_t_ {
862typedef struct ncx_binary_t_ {
873typedef struct ncx_error_t_ {
874 struct ncx_module_t_ *
mod;
883typedef struct ncx_appinfo_t_ {
897 struct ext_template_t_ *
ext;
911typedef struct ncx_revhist_t_ {
933typedef struct ncx_iff_ref_t_ {
949typedef struct ncx_iffeature_t_ {
989typedef enum ncx_feature_code_t_ {
997typedef enum ncx_protocol_t_ {
1009typedef enum ncx_yang_version_t_ {
1017typedef struct ncx_feature_t_ {
1057typedef struct ncx_filptr_t_ {
1083typedef struct ncx_idlink_t_ {
1091typedef struct ncx_identity_base_t_ {
1100typedef struct ncx_identity_t_ {
1134typedef struct ncx_module_t_ {
1251typedef enum ncx_cvttyp_t_ {
1274typedef enum ncx_withdefaults_t_ {
1283typedef enum ncx_xpath_type_t_ {
1294typedef struct ncx_import_t_ {
1324typedef struct ncx_include_t_ {
1346typedef enum ncx_opt_t_ {
1353typedef enum ncx_strtyp_t_ {
1362typedef struct ncx_errinfo_t_ {
1384typedef struct ncx_typname_t_ {
1439 struct obj_template_t_ *obj);
1460 struct obj_template_t_ *object,
1490typedef enum ncx_modformat_t_ {
1501typedef struct ncx_save_deviations_t_ {
1511typedef enum ncx_confirm_event_t_ {
1526typedef struct ncx_backptr_t_ {
1560typedef const xmlChar *
1567typedef enum ncx_leafref_class_t_ {
1568 NCX_LEAFREF_CLASS_NONE,
1602typedef enum ncx_snmp_agt_role_t_ {
1610typedef struct ncx_modcache_t_ {
1619typedef struct ncx_errmsg_t_ {
1626typedef enum ncx_nmda_ds_t_ {
1637typedef enum ncx_nmda_origin_t_ {
1649typedef struct ncx_origin_filter_t_ {
1658typedef struct ncx_nmda_params_t_ {
1690typedef enum ncx_nmda_filtyp_t_ {
1691 NCX_NMDA_FILTYP_NONE,
1692 NCX_NMDA_FILTYP_STREAM,
1693 NCX_NMDA_FILTYP_SELECTION,
1698typedef enum ncx_ses_event_t_ {
1706typedef enum ncx_config_state_t_ {
1735 struct obj_template_t_ *obj,
1744typedef struct ncx_prefix_info_t_ {
1753typedef enum ncx_bad_reply_enum_t_ {
1762typedef enum ncx_sid_ns_t_ {
1772typedef enum ncx_yang_sid_mode_t_ {
1782typedef enum ncx_sm_state_t_ {
1796typedef enum ncx_sort_type_t_ {
1810typedef struct ncx_sm_mpid_t_ {
1858typedef struct ncx_yanglib_cb_t_ {
1888typedef struct ncx_sm_rootcb_t_ {
dlq provides general double-linked list and queue support:
status_t
global error return code
Definition: status_enum.h:210
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:1567
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:767
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:1734
ncx_ses_event_t
internal enumerations for session event types
Definition: ncxtypes.h:1698
ncx_confirm_event_t
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well
Definition: ncxtypes.h:1511
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:1438
ncx_sort_type_t
the sort type enumeration used for system-ordered list aand leaf-list objects
Definition: ncxtypes.h:1796
ncx_cvttyp_t
enumeration for different NCX module conversion output types
Definition: ncxtypes.h:1251
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:1772
uint32 ncx_sid_t
Standard YANG SID is a 63-bit integer defined as uint64.
Definition: ncxtypes.h:752
ncx_yang_version_t
enumeration for different YANG language versions
Definition: ncxtypes.h:1009
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:989
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:802
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:1602
ncx_protocol_t
NCX session protocol versions supported.
Definition: ncxtypes.h:997
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:1418
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:1546
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:1753
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:1550
ncx_opt_t
enum for REQUIRED vs.
Definition: ncxtypes.h:1346
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:1690
ncx_sid_ns_t
enumeration for YANG SID namespace identifiers
Definition: ncxtypes.h:1762
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:1626
ncx_result_format_t
specify the requested result format type Used by yangcli-pro assign statement
Definition: ncxtypes.h:715
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:1459
ncx_xpath_type_t
enumeration for different XPath back pointer types
Definition: ncxtypes.h:1283
ncx_nmda_origin_t
internal enumerations for standard NMDA origins
Definition: ncxtypes.h:1637
ncx_config_state_t
server config state Root Check
Definition: ncxtypes.h:1706
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:1782
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:1482
ncx_strtyp_t
enum for WHITESPACE ALLOWED vs.
Definition: ncxtypes.h:1353
ncx_modformat_t
enum for get-schema format type enum values matches the schema-format identities in RFC 6022
Definition: ncxtypes.h:1490
ncx_withdefaults_t
enum for with-defaults enum values
Definition: ncxtypes.h:1274
void(* ncx_load_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is loaded into the system
Definition: ncxtypes.h:1404
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:1596
@ 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:1582
@ NCX_LEAFREF_CLASS_LOCAL
the object class will have the same result for any instance of a specific object node (static,...
Definition: ncxtypes.h:1588
@ 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:1577
@ 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:1699
@ NCX_SES_EVENT_END
session ended event
Definition: ncxtypes.h:1701
@ NCX_SES_EVENT_START
session started event
Definition: ncxtypes.h:1700
@ NCX_CC_EVENT_CANCEL
cancel event
Definition: ncxtypes.h:1514
@ NCX_CC_EVENT_START
start event
Definition: ncxtypes.h:1513
@ NCX_CC_EVENT_COMPLETE
CC complete event.
Definition: ncxtypes.h:1517
@ NCX_CC_EVENT_TIMEOUT
timeout event
Definition: ncxtypes.h:1515
@ NCX_CC_EVENT_EXTEND
extend event
Definition: ncxtypes.h:1516
@ NCX_CC_EVENT_NONE
not set
Definition: ncxtypes.h:1512
@ NCX_SORT_OFF
no sorting at all
Definition: ncxtypes.h:1798
@ NCX_SORT_NONE
not set
Definition: ncxtypes.h:1797
@ NCX_SORT_ASCENDING
sort in ascending order
Definition: ncxtypes.h:1799
@ NCX_SORT_DESCENDING
sort in descending order
Definition: ncxtypes.h:1800
@ NCX_CVTTYP_TG2
turbogears2 (not supported)
Definition: ncxtypes.h:1263
@ NCX_CVTTYP_UH
split u_foo.h file
Definition: ncxtypes.h:1266
@ NCX_CVTTYP_YH
split y_foo.h file
Definition: ncxtypes.h:1264
@ NCX_CVTTYP_BC
bundle y_foo.c file
Definition: ncxtypes.h:1268
@ NCX_CVTTYP_CPP_TEST
obsolete; not used
Definition: ncxtypes.h:1261
@ NCX_CVTTYP_UC
split u_foo.c file
Definition: ncxtypes.h:1267
@ NCX_CVTTYP_YC
split y_foo.c file
Definition: ncxtypes.h:1265
@ NCX_CVTTYP_C
SIL or SIL-SA C file.
Definition: ncxtypes.h:1260
@ NCX_CVTTYP_H
SIL or SIL-SA H file.
Definition: ncxtypes.h:1259
@ NCX_CVTTYP_YANG
canonical YANG (not supported)
Definition: ncxtypes.h:1257
@ NCX_CVTTYP_SQL
SQL format (not supported)
Definition: ncxtypes.h:1254
@ NCX_CVTTYP_NONE
not set
Definition: ncxtypes.h:1252
@ NCX_CVTTYP_SQLDB
netconfcentral.org dB format
Definition: ncxtypes.h:1255
@ NCX_CVTTYP_YIN
YIN format.
Definition: ncxtypes.h:1262
@ NCX_CVTTYP_XSD
XSD format (obsolete)
Definition: ncxtypes.h:1253
@ NCX_CVTTYP_HTML
netconfcentral WEB page format
Definition: ncxtypes.h:1256
@ NCX_CVTTYP_COPY
copy with new name
Definition: ncxtypes.h:1258
@ NCX_CVTTYP_BH
bundle y_foo.h file
Definition: ncxtypes.h:1269
@ 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:1774
@ NCX_YANG_SID_MODE_NONE
not set
Definition: ncxtypes.h:1773
@ NCX_YANG_SID_MODE_LSID_FILE
LSID FILE (Subscriber only)
Definition: ncxtypes.h:1776
@ NCX_YANG_SID_MODE_LSID
LSID (Publisher only)
Definition: ncxtypes.h:1775
@ 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:990
@ NCX_FEATURE_CODE_DYNAMIC
run-time if-feature code
Definition: ncxtypes.h:992
@ NCX_FEATURE_CODE_STATIC
compile-time if-feature code
Definition: ncxtypes.h:991
@ 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:1603
@ NCX_SNMP_AGT_ROLE_MASTER
SNMP master server role.
Definition: ncxtypes.h:1604
@ NCX_SNMP_AGT_ROLE_SUBAGENT
SNMP sub-agent role.
Definition: ncxtypes.h:1605
@ NCX_PROTO_YCONTROL
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:1003
@ NCX_PROTO_NETCONF10
RFC 4741 base:1.0
Definition: ncxtypes.h:999
@ NCX_PROTO_NETCONF11
RFC 6241 base:1.1.
Definition: ncxtypes.h:1000
@ NCX_PROTO_YUMA_YANGAPI
YumaPro YANG-API 1.0.
Definition: ncxtypes.h:1001
@ NCX_PROTO_NONE
not set
Definition: ncxtypes.h:998
@ NCX_PROTO_RESTCONF
IETF RESTCONF.
Definition: ncxtypes.h:1004
@ NCX_PROTO_YUMA_CLI
YumaPro Internal CLI 1.0.
Definition: ncxtypes.h:1002
@ 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:1755
@ NCX_BAD_REPLY_ERROR
report Error and stop parse
Definition: ncxtypes.h:1757
@ NCX_BAD_REPLY_PRUNE
prune failing node(s)
Definition: ncxtypes.h:1756
@ NCX_BAD_REPLY_NONE
not set
Definition: ncxtypes.h:1754
@ 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:1348
@ NCX_REQ
clause is required
Definition: ncxtypes.h:1347
@ 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:1763
@ NCX_SID_NS_MODULE
module namespace
Definition: ncxtypes.h:1764
@ NCX_SID_NS_FEATURE
feature namespace
Definition: ncxtypes.h:1766
@ NCX_SID_NS_IDENTITY
identity namespace
Definition: ncxtypes.h:1765
@ NCX_SID_NS_DATA
data namespace
Definition: ncxtypes.h:1767
@ 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:1631
@ NCX_NMDA_DS_OPERATIONAL
operational datastore
Definition: ncxtypes.h:1632
@ NCX_NMDA_DS_RUNNING
running datastore
Definition: ncxtypes.h:1629
@ NCX_NMDA_DS_NONE
not set
Definition: ncxtypes.h:1627
@ NCX_NMDA_DS_CANDIDATE
candidate datastore
Definition: ncxtypes.h:1628
@ NCX_NMDA_DS_STARTUP
startup datastore
Definition: ncxtypes.h:1630
@ 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:1289
@ NCX_XPATH_TYPE_MUST
must=stmt
Definition: ncxtypes.h:1285
@ NCX_XPATH_TYPE_NACM
NACM data rule.
Definition: ncxtypes.h:1287
@ NCX_XPATH_TYPE_WHEN
when-stmt
Definition: ncxtypes.h:1286
@ NCX_XPATH_TYPE_LEAFREF
intermediate leafref node
Definition: ncxtypes.h:1288
@ NCX_XPATH_TYPE_NONE
not set
Definition: ncxtypes.h:1284
@ NCX_NMDA_ORIGIN_NONE
not set
Definition: ncxtypes.h:1638
@ NCX_NMDA_ORIGIN_LEARNED
learned origin
Definition: ncxtypes.h:1642
@ NCX_NMDA_ORIGIN_DYNAMIC
dynamic origin
Definition: ncxtypes.h:1640
@ NCX_NMDA_ORIGIN_INTENDED
intended origin
Definition: ncxtypes.h:1639
@ NCX_NMDA_ORIGIN_SYSTEM
system-set origin
Definition: ncxtypes.h:1641
@ NCX_NMDA_ORIGIN_DEFAULT
set by default origin
Definition: ncxtypes.h:1643
@ NCX_NMDA_ORIGIN_UNKNOWN
unknown origin
Definition: ncxtypes.h:1644
@ NCX_CFG_STATE_OK
normal state
Definition: ncxtypes.h:1709
@ NCX_CFG_STATE_INIT
initialization phase
Definition: ncxtypes.h:1708
@ NCX_CFG_STATE_NONE
not set
Definition: ncxtypes.h:1707
@ NCX_CFG_STATE_BAD
bad datastore being used anyway
Definition: ncxtypes.h:1710
@ 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:1787
@ NCX_SM_ST_NONE
not set
Definition: ncxtypes.h:1783
@ NCX_SM_ST_SETUP
setup is in progress
Definition: ncxtypes.h:1785
@ NCX_SM_ST_DONE
setup completed with OK
Definition: ncxtypes.h:1786
@ NCX_SM_ST_PENDING
server has this MP; needs setup
Definition: ncxtypes.h:1784
@ NCX_NO_WSP
whitespace not allowed: unquoted string
Definition: ncxtypes.h:1355
@ NCX_WSP
whitespace allowed: quoted string
Definition: ncxtypes.h:1354
@ NCX_MODFORMAT_YANG
YANG format.
Definition: ncxtypes.h:1493
@ NCX_MODFORMAT_YIN
YIN format.
Definition: ncxtypes.h:1494
@ NCX_MODFORMAT_RNG
RelaxNG format (not supported )
Definition: ncxtypes.h:1495
@ NCX_MODFORMAT_NONE
not set
Definition: ncxtypes.h:1491
@ NCX_MODFORMAT_XSD
XSD format.
Definition: ncxtypes.h:1492
@ NCX_MODFORMAT_RNC
RelaxNG compact (not supported)
Definition: ncxtypes.h:1496
@ NCX_WITHDEF_REPORT_ALL
report-all
Definition: ncxtypes.h:1276
@ NCX_WITHDEF_REPORT_ALL_TAGGED
report-all-tagged
Definition: ncxtypes.h:1277
@ NCX_WITHDEF_NONE
not set
Definition: ncxtypes.h:1275
@ NCX_WITHDEF_EXPLICIT
explicit
Definition: ncxtypes.h:1279
@ NCX_WITHDEF_TRIM
trim
Definition: ncxtypes.h:1278
@ 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:883
ncx_error_t tkerr
file and line info for the compiler
Definition: ncxtypes.h:906
xmlChar * value
argument string (if any)
Definition: ncxtypes.h:894
boolean isclone
flag to identfy cloned appinfo
Definition: ncxtypes.h:903
xmlChar * name
external statement name
Definition: ncxtypes.h:891
struct ext_template_t_ * ext
YANG extension found to match this external stmt.
Definition: ncxtypes.h:897
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:885
xmlChar * prefix
external prefix used
Definition: ncxtypes.h:888
dlq_hdr_t * appinfoQ
nested external statements within this one
Definition: ncxtypes.h:900
used with various structs to cache back-ptrs the 'node' pointer may or may not be malloced!...
Definition: ncxtypes.h:1526
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1527
void * node
const or plain malloced data pointer
Definition: ncxtypes.h:1528
NCX base64 string node for YANG 'binary' built-in type.
Definition: ncxtypes.h:862
uint32 ubufflen
binary buffer len
Definition: ncxtypes.h:864
uint32 ustrlen
binary buffer used
Definition: ncxtypes.h:865
unsigned char * ustr
binary string
Definition: ncxtypes.h:863
one NCX_BT_BITS bit value
Definition: ncxtypes.h:815
xmlChar * dname
malloced bit name (value not checked)
Definition: ncxtypes.h:817
uint32 pos
position value or implied position
Definition: ncxtypes.h:818
const xmlChar * name
bptr to typ_enum_t.name or this.dname
Definition: ncxtypes.h:816
Decimal64 data type.
Definition: ncxtypes.h:770
int64 val
adjusted number to fit in 64 bits
Definition: ncxtypes.h:771
uint8 digits
number of decimal digits 1 .
Definition: ncxtypes.h:772
uint8 zeroes
number of leading zeroes 0 .
Definition: ncxtypes.h:773
one NCX_BT_ENUM enumeration value (user may enter 1 of 3 forms)
Definition: ncxtypes.h:807
xmlChar * dname
malloced enum (value not checked)
Definition: ncxtypes.h:809
int32 val
YANG value-stmt or implied value.
Definition: ncxtypes.h:810
const xmlChar * name
bptr to typ_enum_t or dname
Definition: ncxtypes.h:808
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1362
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1369
xmlChar * error_app_tag
error-app-tag field
Definition: ncxtypes.h:1372
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1363
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1366
xmlChar * error_message
error-message field
Definition: ncxtypes.h:1375
boolean seen
for yangdiff
Definition: ncxtypes.h:1376
error message replacement record
Definition: ncxtypes.h:1619
status_t res
key
Definition: ncxtypes.h:1620
const xmlChar * errmsg
backptr to CLI param value string
Definition: ncxtypes.h:1621
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information
Definition: ncxtypes.h:873
uint32 linepos
line position
Definition: ncxtypes.h:876
uint32 linenum
line number
Definition: ncxtypes.h:875
struct ncx_module_t_ * mod
module back-ptr
Definition: ncxtypes.h:874
YANG feature entry.
Definition: ncxtypes.h:1017
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1038
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:1047
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1034
dlq_hdr_t iffeatureQ
Q of ncx_iffeature_t.
Definition: ncxtypes.h:1033
xmlChar * name
feature name
Definition: ncxtypes.h:1022
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1031
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1028
ncx_feature_code_t code
dynamic or static code-gen
Definition: ncxtypes.h:1037
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1019
boolean enabled
feature is enabled
Definition: ncxtypes.h:1036
status_t res
may be stored with errors
Definition: ncxtypes.h:1035
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1025
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1050
uint8 feature_flags
internal flags for YANG 1.1 processing
Definition: ncxtypes.h:1042
boolean seen
for yangdiff
Definition: ncxtypes.h:1039
struct for holding r/o pointer to generic internal node for filtering purposes
Definition: ncxtypes.h:1057
struct obj_template_t_ * objnode
get2 for complex node
Definition: ncxtypes.h:1061
struct val_value_t_ * useval
parent node of objnode
Definition: ncxtypes.h:1062
struct val_value_t_ * filnode
read-only backptr
Definition: ncxtypes.h:1060
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1058
struct getcb_get2_t_ * get2cb
get2 control block in use
Definition: ncxtypes.h:1063
dlq_hdr_t childQ
Q of ncx_filptr_t.
Definition: ncxtypes.h:1067
dlq_hdr_t selectQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1066
dlq_hdr_t matchQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1065
dlq_hdr_t lookupQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1064
struct val_value_t_ * node
read-only backptr
Definition: ncxtypes.h:1059
YANG identity base.
Definition: ncxtypes.h:1091
xmlChar * basename
base identity name
Definition: ncxtypes.h:1095
struct ncx_identity_t_ * base
back-ptr to base id
Definition: ncxtypes.h:1093
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1092
xmlChar * baseprefix
base identity prefix
Definition: ncxtypes.h:1094
YANG identity entry.
Definition: ncxtypes.h:1100
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1121
ncx_sid_t yang_sid
Each Identity is assigned a YANG SID for CBOR encoding.
Definition: ncxtypes.h:1125
boolean isroot
base==NULL not an error
Definition: ncxtypes.h:1119
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1115
dlq_hdr_t iffeatureQ
Q if ncx_iffeature_t structs.
Definition: ncxtypes.h:1116
xmlChar * name
identity name
Definition: ncxtypes.h:1103
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1113
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1109
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1101
status_t res
may be stored with errors
Definition: ncxtypes.h:1118
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1106
dlq_hdr_t childQ
Q of ncx_idlink_t.
Definition: ncxtypes.h:1114
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1128
uint8 feature_flags
internal YANG 1.1 flags
Definition: ncxtypes.h:1117
const xmlChar * modname
backptr into module
Definition: ncxtypes.h:1111
dlq_hdr_t baseQ
Q of ncx_identity_base_t.
Definition: ncxtypes.h:1102
boolean seen
for yangcli
Definition: ncxtypes.h:1122
ncx_idlink_t idlink
internal id link
Definition: ncxtypes.h:1120
xmlns_id_t nsid
from mod containing identity
Definition: ncxtypes.h:1112
back pointer to a YANG identity used to create an inline tree of valid values for an identity used as...
Definition: ncxtypes.h:1083
boolean inq
flag if in a queue
Definition: ncxtypes.h:1086
struct ncx_identity_t_ * identity
identity back-ptr
Definition: ncxtypes.h:1085
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1084
YANG 1.1 identifier-ref-arg that within an if-feature expression.
Definition: ncxtypes.h:933
struct ncx_feature_t_ * feature
backptr to found feature
Definition: ncxtypes.h:944
xmlChar * name
feature name used in if-feature
Definition: ncxtypes.h:941
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:935
xmlChar * prefix
prefix used in if-feature
Definition: ncxtypes.h:938
YANG if-feature entry.
Definition: ncxtypes.h:949
ncx_error_t tkerr
file, line info for compiler errors
Definition: ncxtypes.h:982
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:962
xmlChar * name
YANG 1.1 allows an expression.
Definition: ncxtypes.h:955
boolean expr_logerrors
true if logging errors; F: silent
Definition: ncxtypes.h:979
boolean expr_skipmode
internal optimization flag
Definition: ncxtypes.h:978
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:973
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:951
boolean expr_evalmode
internal field
Definition: ncxtypes.h:981
xmlChar * prefix
the prefix used in the if-feature stmt
Definition: ncxtypes.h:954
struct tk_chain_t_ * expr_tkc
the token control block contains the re-parsed string and used to evaluate expression logic
Definition: ncxtypes.h:967
boolean seen
for yangdiff
Definition: ncxtypes.h:984
boolean expr_set
state variables used for YANG 1.1 if-feature-stmt parsing
Definition: ncxtypes.h:976
boolean expr_result
expression result, if set
Definition: ncxtypes.h:977
One 'import' clause in YANG.
Definition: ncxtypes.h:1294
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1318
dlq_hdr_t appinfoQ
saved external stmts in this import
Definition: ncxtypes.h:1317
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1310
xmlChar * module
module name being imported
Definition: ncxtypes.h:1298
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1295
status_t res
set to NO_ERR if the import was parsed OK
Definition: ncxtypes.h:1319
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1307
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1315
xmlChar * revision
revision-stmt for import-by-revision
Definition: ncxtypes.h:1304
boolean used
for compiler not-used warning
Definition: ncxtypes.h:1314
ncx_module_t * mod
found module for this import
Definition: ncxtypes.h:1313
xmlChar * prefix
prefix used in import-stmt for module
Definition: ncxtypes.h:1301
boolean force_yuma_nc
HACK: TRUE if yuma-nc replacing ietf-nc.
Definition: ncxtypes.h:1316
One 'include' clause, YANG only.
Definition: ncxtypes.h:1324
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1341
dlq_hdr_t appinfoQ
saved external stmts in this include
Definition: ncxtypes.h:1340
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1335
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1325
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1332
struct ncx_module_t_ * submod
found submodule for this include
Definition: ncxtypes.h:1338
xmlChar * submodule
submodule name to include
Definition: ncxtypes.h:1326
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1339
xmlChar * revision
revision date for include-by-revision
Definition: ncxtypes.h:1329
header for a NCX List
Definition: ncxtypes.h:855
ncx_btype_t btyp
base type of each member
Definition: ncxtypes.h:856
dlq_hdr_t memQ
Q of ncx_lmem_t.
Definition: ncxtypes.h:857
NCX list member: list of string or number Usually used within a val_value_t structure.
Definition: ncxtypes.h:825
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:827
uint32 flags
flags to maintain list state
Definition: ncxtypes.h:850
server module info cache record for def_reg_add_mod
Definition: ncxtypes.h:1610
const xmlChar * modname
backptr
Definition: ncxtypes.h:1612
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1134
ncx_sid_t yang_sid
If the module SID is set then the SID file load is assumed to have worked.
Definition: ncxtypes.h:1236
dlq_hdr_t saveimpQ
Q of yang_import_ptr_t.
Definition: ncxtypes.h:1205
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1203
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: ncxtypes.h:1198
xmlChar * name
module name
Definition: ncxtypes.h:1136
xmlChar * ocversion
oc-ext:openconfig-version
Definition: ncxtypes.h:1143
xmlChar * source
full YANG/YIN filespec
Definition: ncxtypes.h:1167
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1155
xmlChar * contact_info
contact-stmt (not saved on server)
Definition: ncxtypes.h:1149
dlq_hdr_t featureQ
Q of ncx_feature_t.
Definition: ncxtypes.h:1201
dlq_hdr_t revhistQ
Q of ncx_revhist_t.
Definition: ncxtypes.h:1193
boolean unloadable
T: unload allowed.
Definition: ncxtypes.h:1220
dlq_hdr_t typnameQ
Q of ncx_typname_t.
Definition: ncxtypes.h:1204
xmlChar * xmlprefix
assigned prefix (may be different than YANG prefix)
Definition: ncxtypes.h:1164
dlq_hdr_t identityQ
Q of ncx_identity_t.
Definition: ncxtypes.h:1202
boolean mounted
T: SM mounted module.
Definition: ncxtypes.h:1223
boolean ocpattern_mode
T: openconfig patterns.
Definition: ncxtypes.h:1188
boolean dev_module
T: deviation; F: normal.
Definition: ncxtypes.h:1187
dlq_hdr_t includeQ
Q of ncx_include_t.
Definition: ncxtypes.h:1195
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1135
dlq_hdr_t importQ
Q of ncx_import_t.
Definition: ncxtypes.h:1194
xmlChar * version
module revision; this is allowed to be NULL in YANG identifying the one and only revision of the modu...
Definition: ncxtypes.h:1142
dlq_hdr_t allincQ
Q of yang_node_t to track all submodules.
Definition: ncxtypes.h:1213
dlq_hdr_t stmtQ
Q of yang_stmt_t.
Definition: ncxtypes.h:1207
dlq_hdr_t typeQ
Q of typ_template_t.
Definition: ncxtypes.h:1196
boolean ismod
module/submodule keyword
Definition: ncxtypes.h:1181
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:1245
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1152
struct ncx_module_t_ * parent
if this is a submodule
Definition: ncxtypes.h:1210
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1239
uint32 errors
yangdump results
Definition: ncxtypes.h:1190
uint32 flags
internal flags
Definition: ncxtypes.h:1180
dlq_hdr_t groupingQ
Q of grp_template_t.
Definition: ncxtypes.h:1197
boolean defaultrev
T: use for default ver.
Definition: ncxtypes.h:1185
struct ncx_sm_rootcb_t_ * rootcb
Schema Mount pointers.
Definition: ncxtypes.h:1226
boolean sid_file_done
YANG_SID data used to support CBOR message encoding flag indicates SID file load has been attempted.
Definition: ncxtypes.h:1231
uint32 warnings
yangdump results
Definition: ncxtypes.h:1191
boolean stmtmode
T: save yang_stmt_t.
Definition: ncxtypes.h:1182
boolean defaults_added
agt: for mod load
Definition: ncxtypes.h:1186
xmlChar * ns
namespace URI
Definition: ncxtypes.h:1158
dlq_hdr_t extensionQ
Q of ext_template_t.
Definition: ncxtypes.h:1199
const xmlChar * belongsver
back ptr to mod ver
Definition: ncxtypes.h:1176
boolean supported
T: load: F: import only.
Definition: ncxtypes.h:1184
struct ncx_module_t_ * parentmod
backptr set if submod
Definition: ncxtypes.h:1173
ncx_yang_version_t langver
YANG lang.
Definition: ncxtypes.h:1179
xmlChar * prefix
module prefix
Definition: ncxtypes.h:1161
boolean unload_active
T: unload in progress.
Definition: ncxtypes.h:1221
const xmlChar * sourcefn
ptr to fn in source
Definition: ncxtypes.h:1175
dlq_hdr_t deviationQ
Q of obj_deviation_t.
Definition: ncxtypes.h:1200
xmlChar * organization
organization-stmt (not saved on server)
Definition: ncxtypes.h:1146
dlq_hdr_t incchainQ
used if parent == NULL
Definition: ncxtypes.h:1215
xmlChar * sid_source
full SID filespec if WITH_YANG_CBOR enabled
Definition: ncxtypes.h:1170
uint32 line_count
for EVAL_VERSION
Definition: ncxtypes.h:1219
ncx_list_t devmodlist
for deviations list
Definition: ncxtypes.h:1217
status_t status
module parse result
Definition: ncxtypes.h:1189
boolean added
T: don't free on err.
Definition: ncxtypes.h:1183
xmlns_id_t nsid
assigned by xmlns
Definition: ncxtypes.h:1178
xmlChar * belongs
set if submod
Definition: ncxtypes.h:1172
internal NMDA get-data state parameters; rest of parameter are stored directly in the xml_msg_hdr_t u...
Definition: ncxtypes.h:1658
boolean origin_filter_negated
T: origin filter is negated.
Definition: ncxtypes.h:1666
ncx_nmda_ds_t nmda_ds
NMDA datastore to use.
Definition: ncxtypes.h:1678
boolean config_filter
content filter (config or non-config)
Definition: ncxtypes.h:1672
ncx_cfg_t cfg_ds
internal config ID to use
Definition: ncxtypes.h:1681
dlq_hdr_t origin_filterQ
Q of ncx_nmda_origin_filter_t.
Definition: ncxtypes.h:1660
boolean origin_filter_set
T: origin filter is being used.
Definition: ncxtypes.h:1663
boolean config_filter_set
config content filter used
Definition: ncxtypes.h:1669
boolean with_origin
add origin attributes
Definition: ncxtypes.h:1675
internal NMDA origin filter (negate field stored separately)
Definition: ncxtypes.h:1649
ncx_nmda_origin_t origin
origin filter
Definition: ncxtypes.h:1651
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1650
gather the prefix/nsid bindings used in an XPath string needed to generate the correct xmlns directiv...
Definition: ncxtypes.h:1744
const xmlChar * prefix
backptr to token inside xpath pcb
Definition: ncxtypes.h:1745
xmlns_id_t nsid
namespace ID
Definition: ncxtypes.h:1746
YANG revision entry.
Definition: ncxtypes.h:911
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:928
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:922
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:913
xmlChar * version
revision data argument
Definition: ncxtypes.h:916
status_t res
parsing result
Definition: ncxtypes.h:925
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:919
used with obj_deviation_t to defer object lookups
Definition: ncxtypes.h:1501
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1502
struct ncx_module_t_ * devmod
deviations module
Definition: ncxtypes.h:1503
boolean annotation
T: annotation, F:deviation.
Definition: ncxtypes.h:1504
Moint Point Instance This struct lives in a val_value_t.val_extra struct.
Definition: ncxtypes.h:1810
xmlChar * module
Set for SIL-SA ONLY: module name for the mount point This is a malloced string.
Definition: ncxtypes.h:1839
xmlChar * label
Set for SIL-SA ONLY: label for the mount point This is a malloced string.
Definition: ncxtypes.h:1844
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1811
dlq_hdr_t anckeyQ
Q of malloced val_value_t; 1 entry for each key leaf includes the ancestor keys.
Definition: ncxtypes.h:1816
boolean backptr_queued
flag to indicate the backptr is actually in a rootcb->mpidQ.
Definition: ncxtypes.h:1834
struct val_value_t_ * valroot
Backptr to the value node that contains this MPID This is a SIL only field.
Definition: ncxtypes.h:1821
ncx_backptr_t backptr
inline backptr used to store this MPID in the rootcb->mpidQ.
Definition: ncxtypes.h:1828
xmlChar * objpath
Set for SIL-SA ONLY: path string for the object template This is a malloced string.
Definition: ncxtypes.h:1849
Schema Mount Root Control Block used in the object template.
Definition: ncxtypes.h:1888
xmlChar * modname
Name of a module containing the mount point, copied in case the module is deleted.
Definition: ncxtypes.h:1897
ncx_yanglib_cb_t yanglib_cb
YANG Library control block.
Definition: ncxtypes.h:1926
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:1912
dlq_hdr_t devQ
Queue of mounted ncx_save_deviations_t devitaion modules.
Definition: ncxtypes.h:1937
xmlChar * label
Mount Point label string: copied in case module deleted.
Definition: ncxtypes.h:1892
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:1920
dlq_hdr_t mpidQ
Mount Point ID Queue of ncx_sm_mpid_t containing val_root and ancestor keys.
Definition: ncxtypes.h:1931
boolean config
TRUE if the subtree of this MP is config TRUE.
Definition: ncxtypes.h:1903
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1889
dlq_hdr_t modQ
Queue of mounted ncx_module_t modules.
Definition: ncxtypes.h:1934
uint16 bundles_waiting
non-zero if any bundles are waiting
Definition: ncxtypes.h:1915
struct obj_template_t_ * rootobj
root object of a new mounted top root
Definition: ncxtypes.h:1923
xmlChar * loadpath
loadpath name
Definition: ncxtypes.h:1939
boolean toproot
TRUE if the this is TOP level Root Control Block.
Definition: ncxtypes.h:1906
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:1945
xmlChar * objpath
Object path to the current Mount Point.
Definition: ncxtypes.h:1900
keep track of the typenames used for local typedefs only used by ncxdump to generate XSDs OBSOLETE: D...
Definition: ncxtypes.h:1384
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1385
struct typ_template_t_ * typ
backptr to type
Definition: ncxtypes.h:1386
const xmlChar * typname
typename
Definition: ncxtypes.h:1387
xmlChar * typname_malloc
replaced type name
Definition: ncxtypes.h:1388
one context for a yang library.
Definition: ncxtypes.h:1858
struct val_value_t_ * modset_val
value instance for /yang-library/module-set
Definition: ncxtypes.h:1873
boolean free_yanglib_val
NMDA lib: will be TRUE for a SM rootcb and FALSE for the toplib.
Definition: ncxtypes.h:1882
struct val_value_t_ * mymoduleid_val
value used for /modules-state/module-set-id
Definition: ncxtypes.h:1867
struct val_value_t_ * yanglib_val
value for /yang-library
Definition: ncxtypes.h:1870
uint32 myhash_val
data for value used for /modules-state/module-set-id
Definition: ncxtypes.h:1864
struct val_value_t_ * content_id_val
value node for /yang-library/content-id
Definition: ncxtypes.h:1876
boolean free_mymodules_val
will be TRUE for a SM rootcb and FALSE for the toplib
Definition: ncxtypes.h:1879
struct val_value_t_ * mymodules_val
value for /modules-state
Definition: ncxtypes.h:1861
union of various data structures to represent different base types
Definition: ncxtypes.h:832
ncx_num_t num
list member is a number
Definition: ncxtypes.h:834
boolean boo
list member is a boolean
Definition: ncxtypes.h:846
ncx_bit_t bit
list member is a bit
Definition: ncxtypes.h:843
ncx_enum_t enu
list member is a enum
Definition: ncxtypes.h:840
ncx_str_t str
list member is a string
Definition: ncxtypes.h:837
union of all the basic number types if float not supported, then it is stored as an int64
Definition: ncxtypes.h:780
ncx_dec64_t dec
NCX_BT_DECIMAL64.
Definition: ncxtypes.h:791
uint32 u
NCX_BT_UINT.
Definition: ncxtypes.h:783
uint64 ul
NCX_BT_ULONG.
Definition: ncxtypes.h:784
int64 l
NCX_BT_LONG.
Definition: ncxtypes.h:782
int64 d
NCX_BT_DOUBLE.
Definition: ncxtypes.h:789
int32 i
NCX_BT_INT.
Definition: ncxtypes.h:781