yumapro  24.10-1
YumaPro SDK
Loading...
Searching...
No Matches
ncxtypes.h
Go to the documentation of this file.
1
7/*
8 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
9 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
10 *
11 * Unless required by applicable law or agreed to in writing,
12 * software distributed under the License is distributed on an
13 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 * KIND, either express or implied. See the License for the
15 * specific language governing permissions and limitations
16 * under the License.
17 */
18#ifndef _H_ncxtypes
19#define _H_ncxtypes
20
21/* FILE: ncxtypes.h
22*********************************************************************
23* *
24* P U R P O S E *
25* *
26*********************************************************************
27
28 Contains NCX typedefs
29
30*********************************************************************
31* *
32* C H A N G E H I S T O R Y *
33* *
34*********************************************************************
35
36date init comment
37----------------------------------------------------------------------
3814-nov-05 abb Begun; split from ncx.h
3904-feb-06 abb Move base/nc.h constants into this file
4010-nov-07 abb Split out from ncxconst.h
41*/
42
43#include <xmlstring.h>
44#include <xmlregexp.h>
45
46#ifndef _H_dlq
47#include "dlq.h"
48#endif
49
50#ifndef _H_xmlns
51#include "xmlns.h"
52#endif
53
54#ifdef __cplusplus
55extern "C" {
56#endif
57
58
67#define SET_MOD_ABORTED(M) (M)->flags |= NCX_FL_MOD_ABORTED
68
70#define GET_MOD_ABORTED(M) ((M)->flags & NCX_FL_MOD_ABORTED)
71
72
76#define SET_MOD_SIL_LOADED(M) (M)->flags |= NCX_FL_MOD_SIL_LOADED
77
79#define GET_MOD_SIL_LOADED(M) ((M)->flags & NCX_FL_MOD_SIL_LOADED)
80
84#define SET_MOD_NO_SIL_CODE(M) (M)->flags |= NCX_FL_MOD_NO_SIL_CODE
85
87#define GET_MOD_NO_SIL_CODE(M) ((M)->flags & NCX_FL_MOD_NO_SIL_CODE)
88
93#define SET_MOD_SILSA_DONE(M) (M)->flags |= NCX_FL_MOD_SILSA_DONE
94
96#define GET_MOD_SILSA_DONE(M) ((M)->flags & NCX_FL_MOD_SILSA_DONE)
97
98
99
104#define NCX_YANG_SID(X) (X)->yang_sid
105
110#define NCX_YANG_SID_TREE(X) (X)->yang_sid_tree
111
112/********************************************************************
113* *
114* T Y P E S *
115* *
116*********************************************************************/
117
118
182typedef enum ncx_access_t_ {
183
189
190
192#define NCX_DEF_ACCESS NCX_ACCESS_RC
193
194
203typedef enum ncx_data_class_t_ {
208
209
213typedef enum ncx_btype_t_ {
214
220
229
234
240
246
251
256
261
266
271
276
281
286
291
296
302
311
317
322
331
339
347
353
358
365
372
377
385
391
397
399
400
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)
404
405
407typedef enum ncx_tclass_t_ {
415
416
420typedef enum ncx_indextyp_t_ {
429
430
437typedef enum ncx_node_t_ {
457
458
460typedef enum ncx_iqual_t_ {
467
469typedef enum ncx_merge_t_ {
475
476
478typedef enum ncx_squal_t_ {
485
486
488typedef enum ncx_strrest_t_ {
494
495
497typedef enum ncx_numfmt_t_ {
504
505
507typedef enum ncx_layer_t_ {
514
515
517typedef enum ncx_agttarg_t_ {
525
526
528typedef enum ncx_agtstart_t_ {
533
534
536typedef enum ncx_shutdowntyp_t_ {
541 NCX_SHUT_EXIT,
545
546
548typedef enum ncx_cfg_t_ {
552} YPACK ncx_cfg_t;
553
554
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_ {
571
572
574typedef enum ncx_msgtyp_t_ {
581
583typedef enum ncx_status_t_ {
589
590
594typedef enum ncx_bad_data_t_ {
599
602
605
609
610
617typedef enum ncx_display_mode_t_ {
622
625
628
631
634
637
640
643
644} YPACK ncx_display_mode_t;
645
647typedef enum ncx_msg_encoding_t_ {
652
655
659
660
662typedef enum ncx_xpath_axis_t_ {
673
676
679
682
685
688
692
693
695typedef enum ncx_name_match_t_ {
703
708
714
715
725
726
728typedef uint64 ncx_transaction_id_t;
729
739#ifdef WITH_YANG_CBOR
740 #ifdef YANG_SID16
741/* 16 bit YANG SIDs are not used!! */
742typedef uint16 ncx_sid_t;
743#define MAX_YANG_SID 0x7fffU
744 #else
745 #ifdef YANG_SID32
746/* 32 bit YANG SIDs are now the default starting 23.10-6 */
747typedef uint32 ncx_sid_t;
748#define MAX_YANG_SID 0x7fffffffU
749 #else
750 #ifdef YANG_SID64
751/* 64 bit YANG SID needed for IETF SID mode! */
752typedef uint64 ncx_sid_t;
753#define MAX_YANG_SID 0x7fffffffffffffffUU
754 #else
755/* DEFAULT starting in 23.10-6: YANG_SID32 */
756typedef uint32 ncx_sid_t;
757#define MAX_YANG_SID 0x7fffffffU
758 #endif // YANG_SID64
759 #endif // YANG_SID32
760 #endif // YANG_SID16
761#else
762typedef uint8 ncx_sid_t;
763#endif // WITH_YANG_CBOR
764
765
766#define TXID_T long long unsigned int
771typedef uint32 ncx_etag_t;
772
774typedef struct ncx_dec64_t_ {
775 int64 val;
776 uint8 digits;
777 uint8 zeroes;
778} YPACK ncx_dec64_t;
779
780
784typedef union ncx_num_t_ {
785 int32 i;
786 int64 l;
787 uint32 u;
788 uint64 ul;
790#ifdef HAS_FLOAT
791 double d;
792#else
793 int64 d;
794#endif
796} YPACK ncx_num_t;
797
798
806typedef xmlChar * ncx_str_t;
807
808typedef const xmlChar * ncx_const_str_t;
809
811typedef struct ncx_enum_t_ {
812 const xmlChar *name;
813 xmlChar *dname;
814 int32 val;
815} YPACK ncx_enum_t;
816
817
819typedef struct ncx_bit_t_ {
820 const xmlChar *name;
821 xmlChar *dname;
822 uint32 pos;
823} YPACK ncx_bit_t;
824
825
829typedef struct ncx_lmem_t_ {
831 dlq_hdr_t qhdr;
832
836 union val_ {
839
842
845
848
850 boolean boo;
851 } val;
852
854 uint32 flags;
855} YPACK ncx_lmem_t;
856
857
859typedef struct ncx_list_t_ {
861 dlq_hdr_t memQ;
862} ncx_list_t;
863
864
866typedef struct ncx_binary_t_ {
867 unsigned char *ustr;
868 uint32 ubufflen;
869 uint32 ustrlen;
871
872
877typedef struct ncx_error_t_ {
878 struct ncx_module_t_ *mod;
879 uint32 linenum;
880 uint32 linepos;
882
883
887typedef struct ncx_appinfo_t_ {
889 dlq_hdr_t qhdr;
890
892 xmlChar *prefix;
893
895 xmlChar *name;
896
898 xmlChar *value;
899
901 struct ext_template_t_ *ext;
902
904 dlq_hdr_t *appinfoQ;
905
907 boolean isclone;
908
911} YPACK ncx_appinfo_t;
912
913
915typedef struct ncx_revhist_t_ {
917 dlq_hdr_t qhdr;
918
920 xmlChar *version;
921
923 xmlChar *descr;
924
926 xmlChar *ref;
927
930
933} YPACK ncx_revhist_t;
934
935
937typedef struct ncx_iff_ref_t_ {
939 dlq_hdr_t qhdr;
940
942 xmlChar *prefix;
943
945 xmlChar *name;
946
948 struct ncx_feature_t_ *feature;
949} YPACK ncx_iff_ref_t;
950
951
953typedef struct ncx_iffeature_t_ {
955 dlq_hdr_t qhdr;
956
958 xmlChar *prefix;
959 xmlChar *name;
966 struct ncx_feature_t_ *feature;
971 struct tk_chain_t_ *expr_tkc;
972
977 dlq_hdr_t expr_iff_refQ;
980 boolean expr_set;
981 boolean expr_result;
988 boolean seen;
989} YPACK ncx_iffeature_t;
990
991
993typedef enum ncx_feature_code_t_ {
998
999
1001typedef enum ncx_protocol_t_ {
1010
1011
1013typedef enum ncx_yang_version_t_ {
1014 NCX_YANG_VER_NONE,
1015 NCX_YANG_VER_10,
1016 NCX_YANG_VER_11
1017} YPACK ncx_yang_version_t;
1018
1019
1021typedef struct ncx_feature_t_ {
1023 dlq_hdr_t qhdr;
1024
1026 xmlChar *name;
1027
1029 xmlChar *descr;
1030
1032 xmlChar *ref;
1033
1036
1037 dlq_hdr_t iffeatureQ;
1038 dlq_hdr_t appinfoQ;
1040 boolean enabled;
1043 boolean seen;
1047
1052
1055
1056} YPACK ncx_feature_t;
1057
1061typedef struct ncx_filptr_t_ {
1062 dlq_hdr_t qhdr;
1063 struct val_value_t_ *node;
1064 struct val_value_t_ *filnode;
1065 struct obj_template_t_ *objnode;
1066 struct val_value_t_ *useval;
1067 struct getcb_get2_t_ *get2cb;
1068 dlq_hdr_t lookupQ;
1069 dlq_hdr_t matchQ;
1070 dlq_hdr_t selectQ;
1071 dlq_hdr_t childQ;
1072} YPACK ncx_filptr_t;
1073
1074
1087typedef struct ncx_idlink_t_ {
1088 dlq_hdr_t qhdr;
1089 struct ncx_identity_t_ *identity;
1090 boolean inq;
1091} YPACK ncx_idlink_t;
1092
1093
1095typedef struct ncx_identity_base_t_ {
1096 dlq_hdr_t qhdr;
1097 struct ncx_identity_t_ *base;
1098 xmlChar *baseprefix;
1099 xmlChar *basename;
1100} YPACK ncx_identity_base_t;
1101
1102
1104typedef struct ncx_identity_t_ {
1105 dlq_hdr_t qhdr;
1106 dlq_hdr_t baseQ;
1107 xmlChar *name;
1110 xmlChar *descr;
1111
1113 xmlChar *ref;
1114
1115 const xmlChar *modname;
1118 dlq_hdr_t childQ;
1119 dlq_hdr_t appinfoQ;
1120 dlq_hdr_t iffeatureQ;
1123 boolean isroot;
1126 boolean seen;
1130
1133
1134} YPACK ncx_identity_t;
1135
1136
1138typedef struct ncx_module_t_ {
1139 dlq_hdr_t qhdr;
1140 xmlChar *name;
1146 xmlChar *version;
1147 xmlChar *ocversion;
1151
1154
1156 xmlChar *descr;
1157
1159 xmlChar *ref;
1160
1162 xmlChar *ns;
1165 xmlChar *prefix;
1168 xmlChar *xmlprefix;
1171 xmlChar *source;
1172
1174 xmlChar *sid_source;
1175
1176 xmlChar *belongs;
1177 struct ncx_module_t_ *parentmod;
1179 const xmlChar *sourcefn;
1180 const xmlChar *belongsver;
1184 uint32 flags;
1185 boolean ismod;
1186 boolean stmtmode;
1187 boolean added;
1188 boolean supported;
1189 boolean defaultrev;
1191 boolean dev_module;
1194 uint32 errors;
1195 uint32 warnings;
1197 dlq_hdr_t revhistQ;
1198 dlq_hdr_t importQ;
1199 dlq_hdr_t includeQ;
1200 dlq_hdr_t typeQ;
1201 dlq_hdr_t groupingQ;
1202 dlq_hdr_t datadefQ;
1203 dlq_hdr_t extensionQ;
1204 dlq_hdr_t deviationQ;
1205 dlq_hdr_t featureQ;
1206 dlq_hdr_t identityQ;
1207 dlq_hdr_t appinfoQ;
1208 dlq_hdr_t typnameQ;
1209 dlq_hdr_t saveimpQ;
1211 dlq_hdr_t stmtQ;
1214 struct ncx_module_t_ *parent;
1217 dlq_hdr_t allincQ;
1219 dlq_hdr_t incchainQ;
1223 uint32 line_count;
1224 boolean unloadable;
1227 boolean mounted;
1230 struct ncx_sm_rootcb_t_ *rootcb;
1236
1241
1244
1250
1251} YPACK ncx_module_t;
1252
1253
1255typedef enum ncx_cvttyp_t_ {
1275
1276
1278typedef enum ncx_withdefaults_t_ {
1285
1287typedef enum ncx_xpath_type_t_ {
1295
1296
1298typedef struct ncx_import_t_ {
1299 dlq_hdr_t qhdr;
1302 xmlChar *module;
1303
1305 xmlChar *prefix;
1306
1308 xmlChar *revision;
1309
1311 xmlChar *descr;
1312
1314 xmlChar *ref;
1315
1318 boolean used;
1319 boolean usexsd;
1321 dlq_hdr_t appinfoQ;
1324} YPACK ncx_import_t;
1325
1326
1328typedef struct ncx_include_t_ {
1329 dlq_hdr_t qhdr;
1330 xmlChar *submodule;
1333 xmlChar *revision;
1334
1336 xmlChar *descr;
1337
1339 xmlChar *ref;
1340
1342 struct ncx_module_t_ *submod;
1343 boolean usexsd;
1344 dlq_hdr_t appinfoQ;
1346} YPACK ncx_include_t;
1347
1348
1350typedef enum ncx_opt_t_ {
1352 NCX_OPT
1354
1355
1357typedef enum ncx_strtyp_t_ {
1359 NCX_NO_WSP
1361
1362
1366typedef struct ncx_errinfo_t_ {
1367 dlq_hdr_t qhdr;
1370 xmlChar *descr;
1371
1373 xmlChar *ref;
1374
1377
1380 boolean seen;
1381} YPACK ncx_errinfo_t;
1382
1383
1388typedef struct ncx_typname_t_ {
1389 dlq_hdr_t qhdr;
1390 struct typ_template_t_ *typ;
1391 const xmlChar *typname;
1393} YPACK ncx_typname_t;
1394
1395
1408typedef void (*ncx_load_cbfn_t) (ncx_module_t *mod);
1409
1410
1422typedef void (*ncx_unload_cbfn_t) (ncx_module_t *mod);
1423
1424
1441typedef void
1443 struct obj_template_t_ *obj);
1444
1445
1446
1463typedef boolean (*ncx_object_cbfn_t) (const ncx_module_t *mod,
1464 struct obj_template_t_ *object,
1465 void *cookie);
1466
1467
1468
1469
1486typedef boolean (*ncx_feature_cbfn_t) (const ncx_module_t *mod,
1487 ncx_feature_t *feature,
1488 void *cookie);
1489
1490
1494typedef enum ncx_modformat_t_ {
1502
1503
1505typedef struct ncx_save_deviations_t_ {
1506 dlq_hdr_t qhdr;
1507 struct ncx_module_t_ *devmod;
1508 boolean annotation;
1509} YPACK ncx_save_deviations_t;
1510
1511
1515typedef enum ncx_confirm_event_t_ {
1523
1524
1530typedef struct ncx_backptr_t_ {
1531 dlq_hdr_t qhdr;
1532 void *node;
1533} YPACK ncx_backptr_t;
1534
1535
1550typedef boolean (*ncx_identity_cbfn_t) (ncx_identity_t *identity,
1551 void *cookie);
1552
1554typedef uint8 ncx_owner_id_t;
1555
1556
1564typedef const xmlChar *
1565 (*ncx_get_owner_fn_t) (ncx_owner_id_t owner_id);
1566
1567
1571typedef enum ncx_leafref_class_t_ {
1574
1583
1588
1594
1602
1604
1605
1607typedef enum ncx_snmp_agt_role_t_ {
1612
1613
1615typedef struct ncx_modcache_t_ {
1616 dlq_hdr_t qhdr;
1617 const xmlChar *modname;
1618 boolean hidemod;
1619 //ncx_module_t *modptr; // not used yet
1620} YPACK ncx_modcache_t;
1621
1622
1624typedef struct ncx_errmsg_t_ {
1626 const xmlChar *errmsg;
1627} YPACK ncx_errmsg_t;
1628
1629
1631typedef enum ncx_nmda_ds_t_ {
1638} YPACK ncx_nmda_ds_t;
1639
1640
1642typedef enum ncx_nmda_origin_t_ {
1650} YPACK ncx_nmda_origin_t;
1651
1652
1654typedef struct ncx_origin_filter_t_ {
1655 dlq_hdr_t qhdr;
1657} YPACK ncx_origin_filter_t;
1658
1659
1663typedef struct ncx_nmda_params_t_ {
1666
1669
1672
1675
1678
1681
1684
1687} YPACK ncx_nmda_params_t;
1688
1689
1695typedef enum ncx_nmda_filtyp_t_ {
1696 NCX_NMDA_FILTYP_NONE,
1697 NCX_NMDA_FILTYP_STREAM,
1698 NCX_NMDA_FILTYP_SELECTION,
1699} YPACK ncx_nmda_filtyp_t;
1700
1701
1703typedef enum ncx_ses_event_t_ {
1707} YPACK ncx_ses_event_t;
1708
1709
1711typedef enum ncx_config_state_t_ {
1717
1718
1739 (*ncx_def_hook_cbfn_t) (struct val_value_t_ *parentval,
1740 struct obj_template_t_ *obj,
1741 xmlChar **buff);
1742
1743
1749typedef struct ncx_prefix_info_t_ {
1750 const xmlChar *prefix;
1752} YPACK ncx_prefix_info_t;
1753
1754
1758typedef enum ncx_bad_reply_enum_t_ {
1764
1765
1767typedef enum ncx_sid_ns_t_ {
1773} YPACK ncx_sid_ns_t;
1774
1775
1777typedef enum ncx_yang_sid_mode_t_ {
1782} YPACK ncx_yang_sid_mode_t;
1783
1784
1787typedef enum ncx_sm_state_t_ {
1793} YPACK ncx_sm_state_t;
1794
1795
1801typedef enum ncx_sort_type_t_ {
1806} YPACK ncx_sort_type_t;
1807
1808
1815typedef struct ncx_sm_mpid_t_ {
1816 dlq_hdr_t qhdr;
1821 dlq_hdr_t anckeyQ; // Q of val_value_t
1822
1826 struct val_value_t_ *valroot;
1827
1834
1840
1844 xmlChar *module;
1845
1849 xmlChar *label;
1850
1854 xmlChar *objpath;
1855
1856} YPACK ncx_sm_mpid_t;
1857
1858
1863typedef struct ncx_yanglib_cb_t_ {
1864
1866 struct val_value_t_ *mymodules_val;
1867
1870
1872 struct val_value_t_ *mymoduleid_val;
1873
1875 struct val_value_t_ *yanglib_val;
1876
1878 struct val_value_t_ *modset_val;
1879
1881 struct val_value_t_ *content_id_val;
1882
1885
1888
1890
1891
1893typedef struct ncx_sm_rootcb_t_ {
1894 dlq_hdr_t qhdr;
1897 xmlChar *label;
1898
1902 xmlChar *modname;
1903
1905 xmlChar *objpath;
1906
1908 boolean config;
1909
1911 boolean toproot;
1912
1917 boolean active;
1918
1921
1926
1928 struct obj_template_t_ *rootobj;
1929
1932
1936 dlq_hdr_t mpidQ;
1937
1939 dlq_hdr_t modQ;
1940
1942 dlq_hdr_t devQ;
1943
1944 xmlChar *loadpath;
1950 struct cap_list_t_ *caplist;
1951
1952} YPACK ncx_sm_rootcb_t;
1953
1954
1955
1956 // END ncxtypes
1958
1959
1960#ifdef __cplusplus
1961} /* end extern 'C' */
1962#endif
1963
1964#endif /* _H_ncxtypes */
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:1571
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:771
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:1739
ncx_ses_event_t
internal enumerations for session event types
Definition: ncxtypes.h:1703
ncx_confirm_event_t
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well
Definition: ncxtypes.h:1515
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:1442
ncx_sort_type_t
the sort type enumeration used for system-ordered list aand leaf-list objects
Definition: ncxtypes.h:1801
ncx_cvttyp_t
enumeration for different NCX module conversion output types
Definition: ncxtypes.h:1255
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:1777
uint32 ncx_sid_t
Standard YANG SID is a 63-bit integer defined as uint64.
Definition: ncxtypes.h:756
ncx_yang_version_t
enumeration for different YANG language versions
Definition: ncxtypes.h:1013
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:728
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:993
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:806
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:1607
ncx_protocol_t
NCX session protocol versions supported.
Definition: ncxtypes.h:1001
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:1422
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:1550
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:1758
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:1554
ncx_opt_t
enum for REQUIRED vs.
Definition: ncxtypes.h:1350
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:1695
ncx_sid_ns_t
enumeration for YANG SID namespace identifiers
Definition: ncxtypes.h:1767
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:1631
ncx_result_format_t
specify the requested result format type Used by yangcli-pro assign statement
Definition: ncxtypes.h:719
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:1463
ncx_xpath_type_t
enumeration for different XPath back pointer types
Definition: ncxtypes.h:1287
ncx_nmda_origin_t
internal enumerations for standard NMDA origins
Definition: ncxtypes.h:1642
ncx_config_state_t
server config state Root Check
Definition: ncxtypes.h:1711
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:1787
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:1486
ncx_strtyp_t
enum for WHITESPACE ALLOWED vs.
Definition: ncxtypes.h:1357
ncx_modformat_t
enum for get-schema format type enum values matches the schema-format identities in RFC 6022
Definition: ncxtypes.h:1494
ncx_withdefaults_t
enum for with-defaults enum values
Definition: ncxtypes.h:1278
void(* ncx_load_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is loaded into the system
Definition: ncxtypes.h:1408
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:1601
@ 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:1587
@ NCX_LEAFREF_CLASS_LOCAL
the object class will have the same result for any instance of a specific object node (static,...
Definition: ncxtypes.h:1593
@ 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:1582
@ NCX_LEAFREF_CLASS_NONE
class not set
Definition: ncxtypes.h:1573
@ 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:1704
@ NCX_SES_EVENT_END
session ended event
Definition: ncxtypes.h:1706
@ NCX_SES_EVENT_START
session started event
Definition: ncxtypes.h:1705
@ NCX_CC_EVENT_CANCEL
cancel event
Definition: ncxtypes.h:1518
@ NCX_CC_EVENT_START
start event
Definition: ncxtypes.h:1517
@ NCX_CC_EVENT_COMPLETE
CC complete event.
Definition: ncxtypes.h:1521
@ NCX_CC_EVENT_TIMEOUT
timeout event
Definition: ncxtypes.h:1519
@ NCX_CC_EVENT_EXTEND
extend event
Definition: ncxtypes.h:1520
@ NCX_CC_EVENT_NONE
not set
Definition: ncxtypes.h:1516
@ NCX_SORT_OFF
no sorting at all
Definition: ncxtypes.h:1803
@ NCX_SORT_NONE
not set
Definition: ncxtypes.h:1802
@ NCX_SORT_ASCENDING
sort in ascending order
Definition: ncxtypes.h:1804
@ NCX_SORT_DESCENDING
sort in descending order
Definition: ncxtypes.h:1805
@ NCX_CVTTYP_TG2
turbogears2 (not supported)
Definition: ncxtypes.h:1267
@ NCX_CVTTYP_UH
split u_foo.h file
Definition: ncxtypes.h:1270
@ NCX_CVTTYP_YH
split y_foo.h file
Definition: ncxtypes.h:1268
@ NCX_CVTTYP_BC
bundle y_foo.c file
Definition: ncxtypes.h:1272
@ NCX_CVTTYP_CPP_TEST
obsolete; not used
Definition: ncxtypes.h:1265
@ NCX_CVTTYP_UC
split u_foo.c file
Definition: ncxtypes.h:1271
@ NCX_CVTTYP_YC
split y_foo.c file
Definition: ncxtypes.h:1269
@ NCX_CVTTYP_C
SIL or SIL-SA C file.
Definition: ncxtypes.h:1264
@ NCX_CVTTYP_H
SIL or SIL-SA H file.
Definition: ncxtypes.h:1263
@ NCX_CVTTYP_YANG
canonical YANG (not supported)
Definition: ncxtypes.h:1261
@ NCX_CVTTYP_SQL
SQL format (not supported)
Definition: ncxtypes.h:1258
@ NCX_CVTTYP_NONE
not set
Definition: ncxtypes.h:1256
@ NCX_CVTTYP_SQLDB
netconfcentral.org dB format
Definition: ncxtypes.h:1259
@ NCX_CVTTYP_YIN
YIN format.
Definition: ncxtypes.h:1266
@ NCX_CVTTYP_XSD
XSD format (obsolete)
Definition: ncxtypes.h:1257
@ NCX_CVTTYP_HTML
netconfcentral WEB page format
Definition: ncxtypes.h:1260
@ NCX_CVTTYP_COPY
copy with new name
Definition: ncxtypes.h:1262
@ NCX_CVTTYP_BH
bundle y_foo.h file
Definition: ncxtypes.h:1273
@ 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:1779
@ NCX_YANG_SID_MODE_NONE
not set
Definition: ncxtypes.h:1778
@ NCX_YANG_SID_MODE_LSID_FILE
LSID FILE (Subscriber only)
Definition: ncxtypes.h:1781
@ NCX_YANG_SID_MODE_LSID
LSID (Publisher only)
Definition: ncxtypes.h:1780
@ 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:994
@ NCX_FEATURE_CODE_DYNAMIC
run-time if-feature code
Definition: ncxtypes.h:996
@ NCX_FEATURE_CODE_STATIC
compile-time if-feature code
Definition: ncxtypes.h:995
@ 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:1608
@ NCX_SNMP_AGT_ROLE_MASTER
SNMP master server role.
Definition: ncxtypes.h:1609
@ NCX_SNMP_AGT_ROLE_SUBAGENT
SNMP sub-agent role.
Definition: ncxtypes.h:1610
@ NCX_PROTO_YCONTROL
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:1007
@ NCX_PROTO_NETCONF10
RFC 4741 base:1.0
Definition: ncxtypes.h:1003
@ NCX_PROTO_NETCONF11
RFC 6241 base:1.1.
Definition: ncxtypes.h:1004
@ NCX_PROTO_YUMA_YANGAPI
YumaPro YANG-API 1.0.
Definition: ncxtypes.h:1005
@ NCX_PROTO_NONE
not set
Definition: ncxtypes.h:1002
@ NCX_PROTO_RESTCONF
IETF RESTCONF.
Definition: ncxtypes.h:1008
@ NCX_PROTO_YUMA_CLI
YumaPro Internal CLI 1.0.
Definition: ncxtypes.h:1006
@ 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:1760
@ NCX_BAD_REPLY_ERROR
report Error and stop parse
Definition: ncxtypes.h:1762
@ NCX_BAD_REPLY_PRUNE
prune failing node(s)
Definition: ncxtypes.h:1761
@ NCX_BAD_REPLY_NONE
not set
Definition: ncxtypes.h:1759
@ 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:1352
@ NCX_REQ
clause is required
Definition: ncxtypes.h:1351
@ 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:1768
@ NCX_SID_NS_MODULE
module namespace
Definition: ncxtypes.h:1769
@ NCX_SID_NS_FEATURE
feature namespace
Definition: ncxtypes.h:1771
@ NCX_SID_NS_IDENTITY
identity namespace
Definition: ncxtypes.h:1770
@ NCX_SID_NS_DATA
data namespace
Definition: ncxtypes.h:1772
@ 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
The name must exactly match the first N characters of any node name.
Definition: ncxtypes.h:712
@ NCX_MATCH_NONE
not set
Definition: ncxtypes.h:696
@ NCX_MATCH_FIRST
The name must exactly match the first N characters of any node name.
Definition: ncxtypes.h:707
@ 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:1636
@ NCX_NMDA_DS_OPERATIONAL
operational datastore
Definition: ncxtypes.h:1637
@ NCX_NMDA_DS_RUNNING
running datastore
Definition: ncxtypes.h:1634
@ NCX_NMDA_DS_NONE
not set
Definition: ncxtypes.h:1632
@ NCX_NMDA_DS_CANDIDATE
candidate datastore
Definition: ncxtypes.h:1633
@ NCX_NMDA_DS_STARTUP
startup datastore
Definition: ncxtypes.h:1635
@ NCX_RF_NONE
not set
Definition: ncxtypes.h:720
@ NCX_RF_XML
XML result.
Definition: ncxtypes.h:722
@ NCX_RF_JSON
JSON result.
Definition: ncxtypes.h:723
@ NCX_RF_TEXT
text result
Definition: ncxtypes.h:721
@ 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:1293
@ NCX_XPATH_TYPE_MUST
must=stmt
Definition: ncxtypes.h:1289
@ NCX_XPATH_TYPE_NACM
NACM data rule.
Definition: ncxtypes.h:1291
@ NCX_XPATH_TYPE_WHEN
when-stmt
Definition: ncxtypes.h:1290
@ NCX_XPATH_TYPE_LEAFREF
intermediate leafref node
Definition: ncxtypes.h:1292
@ NCX_XPATH_TYPE_NONE
not set
Definition: ncxtypes.h:1288
@ NCX_NMDA_ORIGIN_NONE
not set
Definition: ncxtypes.h:1643
@ NCX_NMDA_ORIGIN_LEARNED
learned origin
Definition: ncxtypes.h:1647
@ NCX_NMDA_ORIGIN_DYNAMIC
dynamic origin
Definition: ncxtypes.h:1645
@ NCX_NMDA_ORIGIN_INTENDED
intended origin
Definition: ncxtypes.h:1644
@ NCX_NMDA_ORIGIN_SYSTEM
system-set origin
Definition: ncxtypes.h:1646
@ NCX_NMDA_ORIGIN_DEFAULT
set by default origin
Definition: ncxtypes.h:1648
@ NCX_NMDA_ORIGIN_UNKNOWN
unknown origin
Definition: ncxtypes.h:1649
@ NCX_CFG_STATE_OK
normal state
Definition: ncxtypes.h:1714
@ NCX_CFG_STATE_INIT
initialization phase
Definition: ncxtypes.h:1713
@ NCX_CFG_STATE_NONE
not set
Definition: ncxtypes.h:1712
@ NCX_CFG_STATE_BAD
bad datastore being used anyway
Definition: ncxtypes.h:1715
@ 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:1792
@ NCX_SM_ST_NONE
not set
Definition: ncxtypes.h:1788
@ NCX_SM_ST_SETUP
setup is in progress
Definition: ncxtypes.h:1790
@ NCX_SM_ST_DONE
setup completed with OK
Definition: ncxtypes.h:1791
@ NCX_SM_ST_PENDING
server has this MP; needs setup
Definition: ncxtypes.h:1789
@ NCX_NO_WSP
whitespace not allowed: unquoted string
Definition: ncxtypes.h:1359
@ NCX_WSP
whitespace allowed: quoted string
Definition: ncxtypes.h:1358
@ NCX_MODFORMAT_YANG
YANG format.
Definition: ncxtypes.h:1497
@ NCX_MODFORMAT_YIN
YIN format.
Definition: ncxtypes.h:1498
@ NCX_MODFORMAT_RNG
RelaxNG format (not supported )
Definition: ncxtypes.h:1499
@ NCX_MODFORMAT_NONE
not set
Definition: ncxtypes.h:1495
@ NCX_MODFORMAT_XSD
XSD format.
Definition: ncxtypes.h:1496
@ NCX_MODFORMAT_RNC
RelaxNG compact (not supported)
Definition: ncxtypes.h:1500
@ NCX_WITHDEF_REPORT_ALL
report-all
Definition: ncxtypes.h:1280
@ NCX_WITHDEF_REPORT_ALL_TAGGED
report-all-tagged
Definition: ncxtypes.h:1281
@ NCX_WITHDEF_NONE
not set
Definition: ncxtypes.h:1279
@ NCX_WITHDEF_EXPLICIT
explicit
Definition: ncxtypes.h:1283
@ NCX_WITHDEF_TRIM
trim
Definition: ncxtypes.h:1282
@ 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:887
ncx_error_t tkerr
file and line info for the compiler
Definition: ncxtypes.h:910
xmlChar * value
argument string (if any)
Definition: ncxtypes.h:898
boolean isclone
flag to identfy cloned appinfo
Definition: ncxtypes.h:907
xmlChar * name
external statement name
Definition: ncxtypes.h:895
struct ext_template_t_ * ext
YANG extension found to match this external stmt.
Definition: ncxtypes.h:901
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:889
xmlChar * prefix
external prefix used
Definition: ncxtypes.h:892
dlq_hdr_t * appinfoQ
nested external statements within this one
Definition: ncxtypes.h:904
used with various structs to cache back-ptrs the 'node' pointer may or may not be malloced!...
Definition: ncxtypes.h:1530
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1531
void * node
const or plain malloced data pointer
Definition: ncxtypes.h:1532
NCX base64 string node for YANG 'binary' built-in type.
Definition: ncxtypes.h:866
uint32 ubufflen
binary buffer len
Definition: ncxtypes.h:868
uint32 ustrlen
binary buffer used
Definition: ncxtypes.h:869
unsigned char * ustr
binary string
Definition: ncxtypes.h:867
one NCX_BT_BITS bit value
Definition: ncxtypes.h:819
xmlChar * dname
malloced bit name (value not checked)
Definition: ncxtypes.h:821
uint32 pos
position value or implied position
Definition: ncxtypes.h:822
const xmlChar * name
bptr to typ_enum_t.name or this.dname
Definition: ncxtypes.h:820
Decimal64 data type.
Definition: ncxtypes.h:774
int64 val
adjusted number to fit in 64 bits
Definition: ncxtypes.h:775
uint8 digits
number of decimal digits 1 .
Definition: ncxtypes.h:776
uint8 zeroes
number of leading zeroes 0 .
Definition: ncxtypes.h:777
one NCX_BT_ENUM enumeration value (user may enter 1 of 3 forms)
Definition: ncxtypes.h:811
xmlChar * dname
malloced enum (value not checked)
Definition: ncxtypes.h:813
int32 val
YANG value-stmt or implied value.
Definition: ncxtypes.h:814
const xmlChar * name
bptr to typ_enum_t or dname
Definition: ncxtypes.h:812
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1366
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1373
xmlChar * error_app_tag
error-app-tag field
Definition: ncxtypes.h:1376
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1367
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1370
xmlChar * error_message
error-message field
Definition: ncxtypes.h:1379
boolean seen
for yangdiff
Definition: ncxtypes.h:1380
error message replacement record
Definition: ncxtypes.h:1624
status_t res
key
Definition: ncxtypes.h:1625
const xmlChar * errmsg
backptr to CLI param value string
Definition: ncxtypes.h:1626
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information
Definition: ncxtypes.h:877
uint32 linepos
line position
Definition: ncxtypes.h:880
uint32 linenum
line number
Definition: ncxtypes.h:879
struct ncx_module_t_ * mod
module back-ptr
Definition: ncxtypes.h:878
YANG feature entry.
Definition: ncxtypes.h:1021
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1042
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:1051
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1038
dlq_hdr_t iffeatureQ
Q of ncx_iffeature_t.
Definition: ncxtypes.h:1037
xmlChar * name
feature name
Definition: ncxtypes.h:1026
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1035
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1032
ncx_feature_code_t code
dynamic or static code-gen
Definition: ncxtypes.h:1041
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1023
boolean enabled
feature is enabled
Definition: ncxtypes.h:1040
status_t res
may be stored with errors
Definition: ncxtypes.h:1039
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1029
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1054
uint8 feature_flags
internal flags for YANG 1.1 processing
Definition: ncxtypes.h:1046
boolean seen
for yangdiff
Definition: ncxtypes.h:1043
struct for holding r/o pointer to generic internal node for filtering purposes
Definition: ncxtypes.h:1061
struct obj_template_t_ * objnode
get2 for complex node
Definition: ncxtypes.h:1065
struct val_value_t_ * useval
parent node of objnode
Definition: ncxtypes.h:1066
struct val_value_t_ * filnode
read-only backptr
Definition: ncxtypes.h:1064
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1062
struct getcb_get2_t_ * get2cb
get2 control block in use
Definition: ncxtypes.h:1067
dlq_hdr_t childQ
Q of ncx_filptr_t.
Definition: ncxtypes.h:1071
dlq_hdr_t selectQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1070
dlq_hdr_t matchQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1069
dlq_hdr_t lookupQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1068
struct val_value_t_ * node
read-only backptr
Definition: ncxtypes.h:1063
YANG identity base.
Definition: ncxtypes.h:1095
xmlChar * basename
base identity name
Definition: ncxtypes.h:1099
struct ncx_identity_t_ * base
back-ptr to base id
Definition: ncxtypes.h:1097
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1096
xmlChar * baseprefix
base identity prefix
Definition: ncxtypes.h:1098
YANG identity entry.
Definition: ncxtypes.h:1104
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1125
ncx_sid_t yang_sid
Each Identity is assigned a YANG SID for CBOR encoding.
Definition: ncxtypes.h:1129
boolean isroot
base==NULL not an error
Definition: ncxtypes.h:1123
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1119
dlq_hdr_t iffeatureQ
Q if ncx_iffeature_t structs.
Definition: ncxtypes.h:1120
xmlChar * name
identity name
Definition: ncxtypes.h:1107
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1117
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1113
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1105
status_t res
may be stored with errors
Definition: ncxtypes.h:1122
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1110
dlq_hdr_t childQ
Q of ncx_idlink_t.
Definition: ncxtypes.h:1118
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1132
uint8 feature_flags
internal YANG 1.1 flags
Definition: ncxtypes.h:1121
const xmlChar * modname
backptr into module
Definition: ncxtypes.h:1115
dlq_hdr_t baseQ
Q of ncx_identity_base_t.
Definition: ncxtypes.h:1106
boolean seen
for yangcli
Definition: ncxtypes.h:1126
ncx_idlink_t idlink
internal id link
Definition: ncxtypes.h:1124
xmlns_id_t nsid
from mod containing identity
Definition: ncxtypes.h:1116
YANG 1.1 identifier-ref-arg that within an if-feature expression.
Definition: ncxtypes.h:937
struct ncx_feature_t_ * feature
backptr to found feature
Definition: ncxtypes.h:948
xmlChar * name
feature name used in if-feature
Definition: ncxtypes.h:945
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:939
xmlChar * prefix
prefix used in if-feature
Definition: ncxtypes.h:942
YANG if-feature entry.
Definition: ncxtypes.h:953
ncx_error_t tkerr
file, line info for compiler errors
Definition: ncxtypes.h:986
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:966
xmlChar * name
YANG 1.1 allows an expression.
Definition: ncxtypes.h:959
boolean expr_logerrors
true if logging errors; F: silent
Definition: ncxtypes.h:983
boolean expr_skipmode
internal optimization flag
Definition: ncxtypes.h:982
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:977
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:955
boolean expr_evalmode
internal field
Definition: ncxtypes.h:985
xmlChar * prefix
the prefix used in the if-feature stmt
Definition: ncxtypes.h:958
struct tk_chain_t_ * expr_tkc
the token control block contains the re-parsed string and used to evaluate expression logic
Definition: ncxtypes.h:971
boolean seen
for yangdiff
Definition: ncxtypes.h:988
boolean expr_set
state variables used for YANG 1.1 if-feature-stmt parsing
Definition: ncxtypes.h:980
boolean expr_result
expression result, if set
Definition: ncxtypes.h:981
One 'import' clause in YANG.
Definition: ncxtypes.h:1298
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1322
dlq_hdr_t appinfoQ
saved external stmts in this import
Definition: ncxtypes.h:1321
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1314
xmlChar * module
module name being imported
Definition: ncxtypes.h:1302
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1299
status_t res
set to NO_ERR if the import was parsed OK
Definition: ncxtypes.h:1323
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1311
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1319
xmlChar * revision
revision-stmt for import-by-revision
Definition: ncxtypes.h:1308
boolean used
for compiler not-used warning
Definition: ncxtypes.h:1318
ncx_module_t * mod
found module for this import
Definition: ncxtypes.h:1317
xmlChar * prefix
prefix used in import-stmt for module
Definition: ncxtypes.h:1305
boolean force_yuma_nc
HACK: TRUE if yuma-nc replacing ietf-nc.
Definition: ncxtypes.h:1320
One 'include' clause, YANG only.
Definition: ncxtypes.h:1328
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1345
dlq_hdr_t appinfoQ
saved external stmts in this include
Definition: ncxtypes.h:1344
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1339
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1329
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1336
struct ncx_module_t_ * submod
found submodule for this include
Definition: ncxtypes.h:1342
xmlChar * submodule
submodule name to include
Definition: ncxtypes.h:1330
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1343
xmlChar * revision
revision date for include-by-revision
Definition: ncxtypes.h:1333
header for a NCX List
Definition: ncxtypes.h:859
ncx_btype_t btyp
base type of each member
Definition: ncxtypes.h:860
dlq_hdr_t memQ
Q of ncx_lmem_t.
Definition: ncxtypes.h:861
NCX list member: list of string or number Usually used within a val_value_t structure.
Definition: ncxtypes.h:829
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:831
uint32 flags
flags to maintain list state
Definition: ncxtypes.h:854
server module info cache record for def_reg_add_mod
Definition: ncxtypes.h:1615
const xmlChar * modname
backptr
Definition: ncxtypes.h:1617
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1138
ncx_sid_t yang_sid
If the module SID is set then the SID file load is assumed to have worked.
Definition: ncxtypes.h:1240
dlq_hdr_t saveimpQ
Q of yang_import_ptr_t.
Definition: ncxtypes.h:1209
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1207
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: ncxtypes.h:1202
xmlChar * name
module name
Definition: ncxtypes.h:1140
xmlChar * ocversion
oc-ext:openconfig-version
Definition: ncxtypes.h:1147
xmlChar * source
full YANG/YIN filespec
Definition: ncxtypes.h:1171
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1159
xmlChar * contact_info
contact-stmt (not saved on server)
Definition: ncxtypes.h:1153
dlq_hdr_t featureQ
Q of ncx_feature_t.
Definition: ncxtypes.h:1205
dlq_hdr_t revhistQ
Q of ncx_revhist_t.
Definition: ncxtypes.h:1197
boolean unloadable
T: unload allowed.
Definition: ncxtypes.h:1224
dlq_hdr_t typnameQ
Q of ncx_typname_t.
Definition: ncxtypes.h:1208
xmlChar * xmlprefix
assigned prefix (may be different than YANG prefix)
Definition: ncxtypes.h:1168
dlq_hdr_t identityQ
Q of ncx_identity_t.
Definition: ncxtypes.h:1206
boolean mounted
T: SM mounted module.
Definition: ncxtypes.h:1227
boolean ocpattern_mode
T: openconfig patterns.
Definition: ncxtypes.h:1192
boolean dev_module
T: deviation; F: normal.
Definition: ncxtypes.h:1191
dlq_hdr_t includeQ
Q of ncx_include_t.
Definition: ncxtypes.h:1199
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1139
dlq_hdr_t importQ
Q of ncx_import_t.
Definition: ncxtypes.h:1198
xmlChar * version
module revision; this is allowed to be NULL in YANG identifying the one and only revision of the modu...
Definition: ncxtypes.h:1146
dlq_hdr_t allincQ
Q of yang_node_t to track all submodules.
Definition: ncxtypes.h:1217
dlq_hdr_t stmtQ
Q of yang_stmt_t.
Definition: ncxtypes.h:1211
dlq_hdr_t typeQ
Q of typ_template_t.
Definition: ncxtypes.h:1200
boolean ismod
module/submodule keyword
Definition: ncxtypes.h:1185
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:1249
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1156
struct ncx_module_t_ * parent
if this is a submodule
Definition: ncxtypes.h:1214
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1243
uint32 errors
yangdump results
Definition: ncxtypes.h:1194
uint32 flags
internal flags
Definition: ncxtypes.h:1184
dlq_hdr_t groupingQ
Q of grp_template_t.
Definition: ncxtypes.h:1201
boolean defaultrev
T: use for default ver.
Definition: ncxtypes.h:1189
struct ncx_sm_rootcb_t_ * rootcb
Schema Mount pointers.
Definition: ncxtypes.h:1230
boolean sid_file_done
YANG_SID data used to support CBOR message encoding flag indicates SID file load has been attempted.
Definition: ncxtypes.h:1235
uint32 warnings
yangdump results
Definition: ncxtypes.h:1195
boolean stmtmode
T: save yang_stmt_t.
Definition: ncxtypes.h:1186
boolean defaults_added
agt: for mod load
Definition: ncxtypes.h:1190
xmlChar * ns
namespace URI
Definition: ncxtypes.h:1162
dlq_hdr_t extensionQ
Q of ext_template_t.
Definition: ncxtypes.h:1203
const xmlChar * belongsver
back ptr to mod ver
Definition: ncxtypes.h:1180
boolean supported
T: load: F: import only.
Definition: ncxtypes.h:1188
struct ncx_module_t_ * parentmod
backptr set if submod
Definition: ncxtypes.h:1177
ncx_yang_version_t langver
YANG lang.
Definition: ncxtypes.h:1183
xmlChar * prefix
module prefix
Definition: ncxtypes.h:1165
boolean unload_active
T: unload in progress.
Definition: ncxtypes.h:1225
const xmlChar * sourcefn
ptr to fn in source
Definition: ncxtypes.h:1179
dlq_hdr_t deviationQ
Q of obj_deviation_t.
Definition: ncxtypes.h:1204
xmlChar * organization
organization-stmt (not saved on server)
Definition: ncxtypes.h:1150
dlq_hdr_t incchainQ
used if parent == NULL
Definition: ncxtypes.h:1219
xmlChar * sid_source
full SID filespec if WITH_YANG_CBOR enabled
Definition: ncxtypes.h:1174
uint32 line_count
for EVAL_VERSION
Definition: ncxtypes.h:1223
ncx_list_t devmodlist
for deviations list
Definition: ncxtypes.h:1221
status_t status
module parse result
Definition: ncxtypes.h:1193
boolean added
T: don't free on err.
Definition: ncxtypes.h:1187
xmlns_id_t nsid
assigned by xmlns
Definition: ncxtypes.h:1182
xmlChar * belongs
set if submod
Definition: ncxtypes.h:1176
internal NMDA get-data state parameters; rest of parameter are stored directly in the xml_msg_hdr_t u...
Definition: ncxtypes.h:1663
boolean origin_filter_negated
T: origin filter is negated.
Definition: ncxtypes.h:1671
ncx_nmda_ds_t nmda_ds
NMDA datastore to use.
Definition: ncxtypes.h:1683
boolean config_filter
content filter (config or non-config)
Definition: ncxtypes.h:1677
ncx_cfg_t cfg_ds
internal config ID to use
Definition: ncxtypes.h:1686
dlq_hdr_t origin_filterQ
Q of ncx_nmda_origin_filter_t.
Definition: ncxtypes.h:1665
boolean origin_filter_set
T: origin filter is being used.
Definition: ncxtypes.h:1668
boolean config_filter_set
config content filter used
Definition: ncxtypes.h:1674
boolean with_origin
add origin attributes
Definition: ncxtypes.h:1680
internal NMDA origin filter (negate field stored separately)
Definition: ncxtypes.h:1654
ncx_nmda_origin_t origin
origin filter
Definition: ncxtypes.h:1656
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1655
gather the prefix/nsid bindings used in an XPath string needed to generate the correct xmlns directiv...
Definition: ncxtypes.h:1749
const xmlChar * prefix
backptr to token inside xpath pcb
Definition: ncxtypes.h:1750
xmlns_id_t nsid
namespace ID
Definition: ncxtypes.h:1751
YANG revision entry.
Definition: ncxtypes.h:915
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:932
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:926
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:917
xmlChar * version
revision data argument
Definition: ncxtypes.h:920
status_t res
parsing result
Definition: ncxtypes.h:929
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:923
used with obj_deviation_t to defer object lookups
Definition: ncxtypes.h:1505
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1506
struct ncx_module_t_ * devmod
deviations module
Definition: ncxtypes.h:1507
boolean annotation
T: annotation, F:deviation.
Definition: ncxtypes.h:1508
Moint Point Instance This struct lives in a val_value_t.val_extra struct.
Definition: ncxtypes.h:1815
xmlChar * module
Set for SIL-SA ONLY: module name for the mount point This is a malloced string.
Definition: ncxtypes.h:1844
xmlChar * label
Set for SIL-SA ONLY: label for the mount point This is a malloced string.
Definition: ncxtypes.h:1849
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1816
dlq_hdr_t anckeyQ
Q of malloced val_value_t; 1 entry for each key leaf includes the ancestor keys.
Definition: ncxtypes.h:1821
boolean backptr_queued
flag to indicate the backptr is actually in a rootcb->mpidQ.
Definition: ncxtypes.h:1839
struct val_value_t_ * valroot
Backptr to the value node that contains this MPID This is a SIL only field.
Definition: ncxtypes.h:1826
ncx_backptr_t backptr
inline backptr used to store this MPID in the rootcb->mpidQ.
Definition: ncxtypes.h:1833
xmlChar * objpath
Set for SIL-SA ONLY: path string for the object template This is a malloced string.
Definition: ncxtypes.h:1854
Schema Mount Root Control Block used in the object template.
Definition: ncxtypes.h:1893
xmlChar * modname
Name of a module containing the mount point, copied in case the module is deleted.
Definition: ncxtypes.h:1902
ncx_yanglib_cb_t yanglib_cb
YANG Library control block.
Definition: ncxtypes.h:1931
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:1917
dlq_hdr_t devQ
Queue of mounted ncx_save_deviations_t devitaion modules.
Definition: ncxtypes.h:1942
xmlChar * label
Mount Point label string: copied in case module deleted.
Definition: ncxtypes.h:1897
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:1925
dlq_hdr_t mpidQ
Mount Point ID Queue of ncx_sm_mpid_t containing val_root and ancestor keys.
Definition: ncxtypes.h:1936
boolean config
TRUE if the subtree of this MP is config TRUE.
Definition: ncxtypes.h:1908
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1894
dlq_hdr_t modQ
Queue of mounted ncx_module_t modules.
Definition: ncxtypes.h:1939
uint16 bundles_waiting
non-zero if any bundles are waiting
Definition: ncxtypes.h:1920
struct obj_template_t_ * rootobj
root object of a new mounted top root
Definition: ncxtypes.h:1928
xmlChar * loadpath
loadpath name
Definition: ncxtypes.h:1944
boolean toproot
TRUE if the this is TOP level Root Control Block.
Definition: ncxtypes.h:1911
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:1950
xmlChar * objpath
Object path to the current Mount Point.
Definition: ncxtypes.h:1905
keep track of the typenames used for local typedefs only used by ncxdump to generate XSDs OBSOLETE: D...
Definition: ncxtypes.h:1388
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1389
struct typ_template_t_ * typ
backptr to type
Definition: ncxtypes.h:1390
const xmlChar * typname
typename
Definition: ncxtypes.h:1391
xmlChar * typname_malloc
replaced type name
Definition: ncxtypes.h:1392
one context for a yang library.
Definition: ncxtypes.h:1863
struct val_value_t_ * modset_val
value instance for /yang-library/module-set
Definition: ncxtypes.h:1878
boolean free_yanglib_val
NMDA lib: will be TRUE for a SM rootcb and FALSE for the toplib.
Definition: ncxtypes.h:1887
struct val_value_t_ * mymoduleid_val
value used for /modules-state/module-set-id
Definition: ncxtypes.h:1872
struct val_value_t_ * yanglib_val
value for /yang-library
Definition: ncxtypes.h:1875
uint32 myhash_val
data for value used for /modules-state/module-set-id
Definition: ncxtypes.h:1869
struct val_value_t_ * content_id_val
value node for /yang-library/content-id
Definition: ncxtypes.h:1881
boolean free_mymodules_val
will be TRUE for a SM rootcb and FALSE for the toplib
Definition: ncxtypes.h:1884
struct val_value_t_ * mymodules_val
value for /modules-state
Definition: ncxtypes.h:1866
union of various data structures to represent different base types
Definition: ncxtypes.h:836
ncx_num_t num
list member is a number
Definition: ncxtypes.h:838
boolean boo
list member is a boolean
Definition: ncxtypes.h:850
ncx_bit_t bit
list member is a bit
Definition: ncxtypes.h:847
ncx_enum_t enu
list member is a enum
Definition: ncxtypes.h:844
ncx_str_t str
list member is a string
Definition: ncxtypes.h:841
union of all the basic number types if float not supported, then it is stored as an int64
Definition: ncxtypes.h:784
ncx_dec64_t dec
NCX_BT_DECIMAL64.
Definition: ncxtypes.h:795
uint32 u
NCX_BT_UINT.
Definition: ncxtypes.h:787
uint64 ul
NCX_BT_ULONG.
Definition: ncxtypes.h:788
int64 l
NCX_BT_LONG.
Definition: ncxtypes.h:786
int64 d
NCX_BT_DOUBLE.
Definition: ncxtypes.h:793
int32 i
NCX_BT_INT.
Definition: ncxtypes.h:785
XML namespace support.