yumapro  25.10-4
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
109#define SID_IS_UPDATE(M) ((M)->yang_sid_flags & NCX_FL_SID_UPDATE)
110
112#define SID_IS_UNSTABLE(M) ((M)->yang_sid_flags & NCX_FL_SID_UNSTABLE)
113
115#define SID_IS_OBSOLETE(M) ((M)->yang_sid_flags & NCX_FL_SID_OBSOLETE)
116
117
118
123#define NCX_YANG_SID(X) (X)->yang_sid
124
129#define NCX_YANG_SID_TREE(X) (X)->yang_sid_tree
130
131
133#define NCX_YANG_SID_FLAGS(X) (X)->yang_sid_flags
134
135/********************************************************************
136* *
137* T Y P E S *
138* *
139*********************************************************************/
140
141
205typedef enum ncx_access_t_ {
206
212
213
215#define NCX_DEF_ACCESS NCX_ACCESS_RC
216
217
226typedef enum ncx_data_class_t_ {
231
232
236typedef enum ncx_btype_t_ {
237
243
252
257
263
269
274
279
284
289
294
299
304
309
314
319
325
334
340
345
354
362
370
376
381
388
395
400
408
414
420
422
423
424#define NCX_FIRST_DATATYPE NCX_BT_ANY
425#define NCX_LAST_DATATYPE NCX_BT_ANYDATA
426#define NCX_NUM_BASETYPES (NCX_LAST_DATATYPE-NCX_FIRST_DATATYPE+1)
427
428
430typedef enum ncx_tclass_t_ {
438
439
443typedef enum ncx_indextyp_t_ {
452
453
460typedef enum ncx_node_t_ {
480
481
483typedef enum ncx_iqual_t_ {
490
492typedef enum ncx_merge_t_ {
498
499
501typedef enum ncx_squal_t_ {
508
509
511typedef enum ncx_strrest_t_ {
517
518
520typedef enum ncx_numfmt_t_ {
527
528
530typedef enum ncx_layer_t_ {
537
538
540typedef enum ncx_agttarg_t_ {
548
549
551typedef enum ncx_agtstart_t_ {
556
557
559typedef enum ncx_shutdowntyp_t_ {
564 NCX_SHUT_EXIT,
568
569
571typedef enum ncx_cfg_t_ {
577} YPACK ncx_cfg_t;
578
579
580#define NCX_CFGID_MIN NCX_CFGID_RUNNING
581#define NCX_CFGID_MAX NCX_CFGID_FACTORY
582#define NCX_CFGID_CNT (NCX_CFGID_MAX+1)
586typedef enum ncx_instfmt_t_ {
596
597
599typedef enum ncx_msgtyp_t_ {
606
608typedef enum ncx_status_t_ {
614
615
619typedef enum ncx_bad_data_t_ {
624
627
630
634
635
642typedef enum ncx_display_mode_t_ {
647
650
653
656
659
662
665
668
669} YPACK ncx_display_mode_t;
670
672typedef enum ncx_msg_encoding_t_ {
677
680
684
685
687typedef enum ncx_xpath_axis_t_ {
698
701
704
707
710
713
717
718
720typedef enum ncx_name_match_t_ {
728
733
739
740
750
751
753typedef uint64 ncx_transaction_id_t;
754
764#define YANG_SID64 1
765typedef uint64 ncx_sid_t;
766#define MAX_YANG_SID 0x7fffffffffffffff
767#define SID_T unsigned long long int
768
770#define MAX_SID_RANGE_SIZE 0xffffffff
771
773#define TXID_T long long unsigned int
774
778typedef uint32 ncx_etag_t;
779
780
782typedef struct ncx_sid_range_t_ {
784 dlq_hdr_t qhdr;
785
790
794 ncx_sid_t sid_range_end;
795
800
805
807
808
810typedef struct ncx_dec64_t_ {
811 int64 val;
812 uint8 digits;
813 uint8 zeroes;
814} YPACK ncx_dec64_t;
815
816
820typedef union ncx_num_t_ {
821 int32 i;
822 int64 l;
823 uint32 u;
824 uint64 ul;
826#ifdef HAS_FLOAT
827 double d;
828#else
829 int64 d;
830#endif
832} YPACK ncx_num_t;
833
834
842typedef xmlChar * ncx_str_t;
843
844typedef const xmlChar * ncx_const_str_t;
845
847typedef struct ncx_enum_t_ {
848 const xmlChar *name;
849 xmlChar *dname;
850 int32 val;
851} YPACK ncx_enum_t;
852
853
855typedef struct ncx_bit_t_ {
856 const xmlChar *name;
857 xmlChar *dname;
858 uint32 pos;
859} YPACK ncx_bit_t;
860
861
865typedef struct ncx_lmem_t_ {
867 dlq_hdr_t qhdr;
868
872 union val_ {
875
878
881
884
886 boolean boo;
887 } val;
888
890 uint32 flags;
891} YPACK ncx_lmem_t;
892
893
895typedef struct ncx_list_t_ {
897 dlq_hdr_t memQ;
898} ncx_list_t;
899
900
902typedef struct ncx_binary_t_ {
903 unsigned char *ustr;
904 uint32 ubufflen;
905 uint32 ustrlen;
907
908
913typedef struct ncx_error_t_ {
914 struct ncx_module_t_ *mod;
915 uint32 linenum;
916 uint32 linepos;
918
919
923typedef struct ncx_appinfo_t_ {
925 dlq_hdr_t qhdr;
926
928 xmlChar *prefix;
929
931 xmlChar *name;
932
934 xmlChar *value;
935
937 struct ext_template_t_ *ext;
938
940 dlq_hdr_t *appinfoQ;
941
943 boolean isclone;
944
947} YPACK ncx_appinfo_t;
948
949
951typedef struct ncx_revhist_t_ {
953 dlq_hdr_t qhdr;
954
956 xmlChar *version;
957
959 xmlChar *descr;
960
962 xmlChar *ref;
963
966
969} YPACK ncx_revhist_t;
970
971
973typedef struct ncx_iff_ref_t_ {
975 dlq_hdr_t qhdr;
976
978 xmlChar *prefix;
979
981 xmlChar *name;
982
984 struct ncx_feature_t_ *feature;
985} YPACK ncx_iff_ref_t;
986
987
989typedef struct ncx_iffeature_t_ {
991 dlq_hdr_t qhdr;
992
994 xmlChar *prefix;
995 xmlChar *name;
1002 struct ncx_feature_t_ *feature;
1007 struct tk_chain_t_ *expr_tkc;
1008
1013 dlq_hdr_t expr_iff_refQ;
1016 boolean expr_set;
1017 boolean expr_result;
1024 boolean seen;
1025} YPACK ncx_iffeature_t;
1026
1027
1029typedef enum ncx_feature_code_t_ {
1034
1035
1037typedef enum ncx_protocol_t_ {
1047
1048
1050typedef enum ncx_yang_version_t_ {
1051 NCX_YANG_VER_NONE,
1052 NCX_YANG_VER_10,
1053 NCX_YANG_VER_11
1054} YPACK ncx_yang_version_t;
1055
1056
1058typedef struct ncx_feature_t_ {
1060 dlq_hdr_t qhdr;
1061
1063 xmlChar *name;
1064
1066 xmlChar *descr;
1067
1069 xmlChar *ref;
1070
1073
1074 dlq_hdr_t iffeatureQ;
1075 dlq_hdr_t appinfoQ;
1077 boolean enabled;
1080 boolean seen;
1084
1087
1091 ncx_sid_t yang_sid;
1092
1095
1096} YPACK ncx_feature_t;
1097
1101typedef struct ncx_filptr_t_ {
1102 dlq_hdr_t qhdr;
1103 struct val_value_t_ *node;
1104 struct val_value_t_ *filnode;
1105 struct obj_template_t_ *objnode;
1106 struct val_value_t_ *useval;
1107 struct getcb_get2_t_ *get2cb;
1108 dlq_hdr_t lookupQ;
1109 dlq_hdr_t matchQ;
1110 dlq_hdr_t selectQ;
1111 dlq_hdr_t childQ;
1112} YPACK ncx_filptr_t;
1113
1114
1127typedef struct ncx_idlink_t_ {
1128 dlq_hdr_t qhdr;
1129 struct ncx_identity_t_ *identity;
1130 boolean inq;
1131} YPACK ncx_idlink_t;
1132
1133
1135typedef struct ncx_identity_base_t_ {
1136 dlq_hdr_t qhdr;
1137 struct ncx_identity_t_ *base;
1138 xmlChar *baseprefix;
1139 xmlChar *basename;
1140} YPACK ncx_identity_base_t;
1141
1142
1144typedef struct ncx_identity_t_ {
1145 dlq_hdr_t qhdr;
1146 dlq_hdr_t baseQ;
1147 xmlChar *name;
1150 xmlChar *descr;
1151
1153 xmlChar *ref;
1154
1155 const xmlChar *modname;
1158 dlq_hdr_t childQ;
1159 dlq_hdr_t appinfoQ;
1160 dlq_hdr_t iffeatureQ;
1163 boolean isroot;
1166 boolean seen;
1170
1172 ncx_sid_t yang_sid;
1173
1176
1177} YPACK ncx_identity_t;
1178
1179
1181typedef struct ncx_module_t_ {
1182 dlq_hdr_t qhdr;
1183 xmlChar *name;
1189 xmlChar *version;
1190 xmlChar *ocversion;
1191 xmlChar *ietfversion;
1195
1198
1200 xmlChar *descr;
1201
1203 xmlChar *ref;
1204
1206 xmlChar *ns;
1209 xmlChar *prefix;
1212 xmlChar *xmlprefix;
1215 xmlChar *source;
1216
1220 xmlChar *sid_source;
1221
1226
1227 xmlChar *belongs;
1228 struct ncx_module_t_ *parentmod;
1230 const xmlChar *sourcefn;
1231 const xmlChar *belongsver;
1235 uint32 flags;
1236 boolean ismod;
1237 boolean stmtmode;
1238 boolean added;
1239 boolean supported;
1240 boolean defaultrev;
1242 boolean dev_module;
1245 uint32 errors;
1246 uint32 warnings;
1248 dlq_hdr_t revhistQ;
1249 dlq_hdr_t importQ;
1250 dlq_hdr_t includeQ;
1251 dlq_hdr_t annotQ;
1252 dlq_hdr_t typeQ;
1253 dlq_hdr_t groupingQ;
1254 dlq_hdr_t datadefQ;
1255 dlq_hdr_t extensionQ;
1256 dlq_hdr_t deviationQ;
1257 dlq_hdr_t featureQ;
1258 dlq_hdr_t identityQ;
1259 dlq_hdr_t appinfoQ;
1260 dlq_hdr_t typnameQ;
1261 dlq_hdr_t saveimpQ;
1263 dlq_hdr_t stmtQ;
1266 struct ncx_module_t_ *parent;
1269 dlq_hdr_t allincQ;
1271 dlq_hdr_t incchainQ;
1277 dlq_hdr_t augmentedbyQ;
1278
1281 uint32 line_count;
1282 boolean unloadable;
1285 boolean mounted;
1288 struct ncx_sm_rootcb_t_ *rootcb;
1294
1297
1301 ncx_sid_t yang_sid;
1302
1305
1311
1312} YPACK ncx_module_t;
1313
1314
1316typedef enum ncx_cvttyp_t_ {
1336
1337
1339typedef enum ncx_withdefaults_t_ {
1346
1348typedef enum ncx_xpath_type_t_ {
1356
1357
1359typedef struct ncx_import_t_ {
1360 dlq_hdr_t qhdr;
1363 xmlChar *module;
1364
1366 xmlChar *prefix;
1367
1369 xmlChar *revision;
1370
1372 xmlChar *descr;
1373
1375 xmlChar *ref;
1376
1379 boolean used;
1380 boolean usexsd;
1382 dlq_hdr_t appinfoQ;
1385} YPACK ncx_import_t;
1386
1387
1389typedef struct ncx_include_t_ {
1390 dlq_hdr_t qhdr;
1391 xmlChar *submodule;
1394 xmlChar *revision;
1395
1397 xmlChar *descr;
1398
1400 xmlChar *ref;
1401
1403 struct ncx_module_t_ *submod;
1404 boolean usexsd;
1405 dlq_hdr_t appinfoQ;
1407} YPACK ncx_include_t;
1408
1409
1411typedef enum ncx_opt_t_ {
1413 NCX_OPT
1415
1416
1418typedef enum ncx_strtyp_t_ {
1420 NCX_NO_WSP
1422
1423
1427typedef struct ncx_errinfo_t_ {
1428 dlq_hdr_t qhdr;
1431 xmlChar *descr;
1432
1434 xmlChar *ref;
1435
1438
1441 boolean seen;
1442} YPACK ncx_errinfo_t;
1443
1444
1449typedef struct ncx_typname_t_ {
1450 dlq_hdr_t qhdr;
1451 struct typ_template_t_ *typ;
1452 const xmlChar *typname;
1454} YPACK ncx_typname_t;
1455
1456
1469typedef void (*ncx_load_cbfn_t) (ncx_module_t *mod);
1470
1471
1483typedef void (*ncx_unload_cbfn_t) (ncx_module_t *mod);
1484
1485
1502typedef void
1504 struct obj_template_t_ *obj);
1505
1506
1507
1524typedef boolean (*ncx_object_cbfn_t) (const ncx_module_t *mod,
1525 struct obj_template_t_ *object,
1526 void *cookie);
1527
1528
1529
1530
1547typedef boolean (*ncx_feature_cbfn_t) (const ncx_module_t *mod,
1548 ncx_feature_t *feature,
1549 void *cookie);
1550
1551
1552
1553
1575typedef boolean
1576 (*ncx_augmentedby_cbfn_t) (const ncx_module_t *mod,
1577 struct obj_template_t_ *augmodobj,
1578 const xmlChar *augmodname,
1579 void *cookie);
1580
1581
1582
1586typedef enum ncx_modformat_t_ {
1594
1595
1597typedef struct ncx_save_deviations_t_ {
1598 dlq_hdr_t qhdr;
1599 struct ncx_module_t_ *devmod;
1600 boolean annotation;
1601} YPACK ncx_save_deviations_t;
1602
1603
1607typedef enum ncx_confirm_event_t_ {
1615
1616
1622typedef struct ncx_backptr_t_ {
1623 dlq_hdr_t qhdr;
1624 void *node;
1625} YPACK ncx_backptr_t;
1626
1627
1642typedef boolean (*ncx_identity_cbfn_t) (ncx_identity_t *identity,
1643 void *cookie);
1644
1646typedef uint8 ncx_owner_id_t;
1647
1648
1656typedef const xmlChar *
1657 (*ncx_get_owner_fn_t) (ncx_owner_id_t owner_id);
1658
1659
1663typedef enum ncx_leafref_class_t_ {
1666
1675
1680
1686
1694
1696
1697
1699typedef enum ncx_snmp_agt_role_t_ {
1704
1705
1707typedef struct ncx_modcache_t_ {
1708 dlq_hdr_t qhdr;
1709 const xmlChar *modname;
1710 boolean hidemod;
1711 //ncx_module_t *modptr; // not used yet
1712} YPACK ncx_modcache_t;
1713
1714
1716typedef struct ncx_errmsg_t_ {
1718 const xmlChar *errmsg;
1719} YPACK ncx_errmsg_t;
1720
1721
1723typedef enum ncx_nmda_ds_t_ {
1731} YPACK ncx_nmda_ds_t;
1732
1733
1735typedef enum ncx_nmda_origin_t_ {
1743} YPACK ncx_nmda_origin_t;
1744
1745
1747typedef struct ncx_origin_filter_t_ {
1748 dlq_hdr_t qhdr;
1750} YPACK ncx_origin_filter_t;
1751
1752
1756typedef struct ncx_nmda_params_t_ {
1759
1762
1765
1768
1771
1774
1777
1780} YPACK ncx_nmda_params_t;
1781
1782
1788typedef enum ncx_nmda_filtyp_t_ {
1789 NCX_NMDA_FILTYP_NONE,
1790 NCX_NMDA_FILTYP_STREAM,
1791 NCX_NMDA_FILTYP_SELECTION,
1792} YPACK ncx_nmda_filtyp_t;
1793
1794
1796typedef enum ncx_ses_event_t_ {
1800} YPACK ncx_ses_event_t;
1801
1802
1804typedef enum ncx_config_state_t_ {
1810
1811
1832 (*ncx_def_hook_cbfn_t) (struct val_value_t_ *parentval,
1833 struct obj_template_t_ *obj,
1834 xmlChar **buff);
1835
1836
1842typedef struct ncx_prefix_info_t_ {
1843 const xmlChar *prefix;
1845} YPACK ncx_prefix_info_t;
1846
1847
1851typedef enum ncx_bad_reply_enum_t_ {
1857
1858
1860typedef enum ncx_sid_ns_t_ {
1866} YPACK ncx_sid_ns_t;
1867
1868
1870typedef enum ncx_yang_sid_mode_t_ {
1875} YPACK ncx_yang_sid_mode_t;
1876
1877
1880typedef enum ncx_sm_state_t_ {
1886} YPACK ncx_sm_state_t;
1887
1888
1894typedef enum ncx_sort_type_t_ {
1899} YPACK ncx_sort_type_t;
1900
1901
1908typedef struct ncx_sm_mpid_t_ {
1909 dlq_hdr_t qhdr;
1914 dlq_hdr_t anckeyQ; // Q of val_value_t
1915
1919 struct val_value_t_ *valroot;
1920
1927
1933
1937 xmlChar *module;
1938
1942 xmlChar *label;
1943
1947 xmlChar *objpath;
1948
1949} YPACK ncx_sm_mpid_t;
1950
1951
1956typedef struct ncx_yanglib_cb_t_ {
1957
1959 struct val_value_t_ *mymodules_val;
1960
1963
1965 struct val_value_t_ *mymoduleid_val;
1966
1968 struct val_value_t_ *yanglib_val;
1969
1971 struct val_value_t_ *modset_val;
1972
1974 struct val_value_t_ *content_id_val;
1975
1978
1981
1983
1984
1986typedef struct ncx_sm_rootcb_t_ {
1987 dlq_hdr_t qhdr;
1990 xmlChar *label;
1991
1995 xmlChar *modname;
1996
1998 xmlChar *objpath;
1999
2001 boolean config;
2002
2004 boolean toproot;
2005
2010 boolean active;
2011
2014
2019
2021 struct obj_template_t_ *rootobj;
2022
2025
2029 dlq_hdr_t mpidQ;
2030
2032 dlq_hdr_t modQ;
2033
2035 dlq_hdr_t devQ;
2036
2037 xmlChar *loadpath;
2043 struct cap_list_t_ *caplist;
2044
2045} YPACK ncx_sm_rootcb_t;
2046
2047
2048 // END ncxtypes
2050
2051
2052#ifdef __cplusplus
2053} /* end extern 'C' */
2054#endif
2055
2056#endif /* _H_ncxtypes */
dlq provides general double-linked list and queue support:
status_t
global error return code
Definition: status_enum.h:219
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
ncx_node_t
NCX Internal Node Types.
Definition: ncxtypes.h:460
ncx_leafref_class_t
Classification for the types of leafref path statements wrt/ how they can be cached.
Definition: ncxtypes.h:1663
ncx_status_t
enumeration for different YANG data-def status values
Definition: ncxtypes.h:608
uint32 ncx_etag_t
The ETag used in RESTCONF messages is the lower 32 bits of a ncx_transaction_id_t.
Definition: ncxtypes.h:778
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:1832
ncx_ses_event_t
internal enumerations for session event types
Definition: ncxtypes.h:1796
ncx_confirm_event_t
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well
Definition: ncxtypes.h:1607
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:1503
ncx_sort_type_t
the sort type enumeration used for system-ordered list aand leaf-list objects
Definition: ncxtypes.h:1894
ncx_cvttyp_t
enumeration for different NCX module conversion output types
Definition: ncxtypes.h:1316
ncx_agttarg_t
enum to identify the agent native target
Definition: ncxtypes.h:540
ncx_numfmt_t
Enumeration of number format types.
Definition: ncxtypes.h:520
ncx_yang_sid_mode_t
YANG SID Allocation mode from yang-sid-mode typedef.
Definition: ncxtypes.h:1870
ncx_yang_version_t
enumeration for different YANG language versions
Definition: ncxtypes.h:1050
ncx_indextyp_t
Enumeration of the different types of index components YANG ONLY SUPPORTS NCX_IT_LOCAL.
Definition: ncxtypes.h:443
ncx_cfg_t
hardwire the 3 standard configs
Definition: ncxtypes.h:571
ncx_tclass_t
Enumeration of the basic value type classifications.
Definition: ncxtypes.h:430
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:753
ncx_msgtyp_t
enumeration for different NETCONF message types
Definition: ncxtypes.h:599
ncx_feature_code_t
Feature code generation type (deprecated)
Definition: ncxtypes.h:1029
boolean(* ncx_augmentedby_cbfn_t)(const ncx_module_t *mod, struct obj_template_t_ *augmodobj, const xmlChar *augmodname, void *cookie)
user function callback template to traverse all module augmented-by module names for a specified modu...
Definition: ncxtypes.h:1576
ncx_agtstart_t
enum to identify the agent native startup mode
Definition: ncxtypes.h:551
xmlChar * ncx_str_t
string alias for data types:
Definition: ncxtypes.h:842
ncx_iqual_t
The instance qualifier types are borrowed from ABNF and RelaxNG.
Definition: ncxtypes.h:483
ncx_strrest_t
Enumeration of string restriction types.
Definition: ncxtypes.h:511
ncx_msg_encoding_t
enumeration for message encoding formats
Definition: ncxtypes.h:672
ncx_snmp_agt_role_t
enum to identify the SNMP agent native mode
Definition: ncxtypes.h:1699
ncx_protocol_t
NCX session protocol versions supported.
Definition: ncxtypes.h:1037
ncx_btype_t
enumeration of the built-in NCX types These types cannot be overridden and cannot be imported
Definition: ncxtypes.h:236
ncx_access_t
NCX Access Control 'max-access' enumeration values Note that access control is applied to the session...
Definition: ncxtypes.h:205
void(* ncx_unload_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is unloaded from the system
Definition: ncxtypes.h:1483
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:1642
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:1851
ncx_data_class_t
NCX Persistence Control.
Definition: ncxtypes.h:226
uint8 ncx_owner_id_t
used as index into the agt_owner registry
Definition: ncxtypes.h:1646
ncx_opt_t
enum for REQUIRED vs.
Definition: ncxtypes.h:1411
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:619
ncx_nmda_filtyp_t
internal enumerations for NMDA filter types used in the /filters container NCX_NMDA_FILTYP_STREAM == ...
Definition: ncxtypes.h:1788
ncx_sid_ns_t
enumeration for YANG SID namespace identifiers
Definition: ncxtypes.h:1860
ncx_name_match_t
Node name match modes.
Definition: ncxtypes.h:720
ncx_layer_t
Enumeration of NETCONF protocol layers.
Definition: ncxtypes.h:530
ncx_merge_t
The merge type for the NETCONF merge operation.
Definition: ncxtypes.h:492
ncx_nmda_ds_t
internal enumerations for standard NMDA datastores
Definition: ncxtypes.h:1723
ncx_result_format_t
specify the requested result format type Used by yangcli-pro assign statement
Definition: ncxtypes.h:744
ncx_squal_t
typdef search qualifier list (internal compiler modes)
Definition: ncxtypes.h:501
boolean(* ncx_object_cbfn_t)(const ncx_module_t *mod, struct obj_template_t_ *object, void *cookie)
user function callback template to traverse all module objects for a specified module
Definition: ncxtypes.h:1524
ncx_xpath_type_t
enumeration for different XPath back pointer types
Definition: ncxtypes.h:1348
ncx_nmda_origin_t
internal enumerations for standard NMDA origins
Definition: ncxtypes.h:1735
ncx_config_state_t
server config state Root Check
Definition: ncxtypes.h:1804
ncx_display_mode_t
enumeration of val_dump_value display modes Some RESTCONF code uses this field incorrectly for messag...
Definition: ncxtypes.h:642
ncx_sm_state_t
enumeration for yangcli processsing of schema mount info
Definition: ncxtypes.h:1880
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:1547
ncx_strtyp_t
enum for WHITESPACE ALLOWED vs.
Definition: ncxtypes.h:1418
ncx_modformat_t
enum for get-schema format type enum values matches the schema-format identities in RFC 6022
Definition: ncxtypes.h:1586
ncx_withdefaults_t
enum for with-defaults enum values
Definition: ncxtypes.h:1339
void(* ncx_load_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is loaded into the system
Definition: ncxtypes.h:1469
ncx_shutdowntyp_t
enumeration of the different program shutdown modes
Definition: ncxtypes.h:559
ncx_xpath_axis_t
XPath expression axis types.
Definition: ncxtypes.h:687
ncx_instfmt_t
instance identifier string format types
Definition: ncxtypes.h:586
@ NCX_NT_STRING
xmlChar *, error only
Definition: ncxtypes.h:467
@ NCX_NT_GRP
grp_template_t
Definition: ncxtypes.h:463
@ NCX_NT_TYP
typ_template_t
Definition: ncxtypes.h:462
@ NCX_NT_INDEX
obj_key_t *, error only
Definition: ncxtypes.h:469
@ NCX_NT_EXTENSION_CB
ext_template_t
Definition: ncxtypes.h:475
@ NCX_NT_INCLUDE_CB
ncx_include_t
Definition: ncxtypes.h:473
@ NCX_NT_UINT32_PTR
session ID, error only
Definition: ncxtypes.h:471
@ NCX_NT_IMPORT_CB
ncx_import_t
Definition: ncxtypes.h:472
@ NCX_NT_VAL
val_value_t
Definition: ncxtypes.h:464
@ NCX_NT_ERRINFO
ncx_errinfo_t, error only
Definition: ncxtypes.h:466
@ NCX_NT_FEATURE_CB
ncx_feature_t
Definition: ncxtypes.h:476
@ NCX_NT_TYPDEF_CB
typ_def_t
Definition: ncxtypes.h:478
@ NCX_NT_CFG
cfg_template_t *, error only
Definition: ncxtypes.h:468
@ NCX_NT_REVISION_CB
ncx_revhist_t
Definition: ncxtypes.h:474
@ NCX_NT_NONE
not set
Definition: ncxtypes.h:461
@ NCX_NT_IDENTITY_CB
ncx_identity_t
Definition: ncxtypes.h:477
@ NCX_NT_QNAME
xmlns_qname_t *, error only
Definition: ncxtypes.h:470
@ NCX_NT_OBJ
obj_template_t
Definition: ncxtypes.h:465
@ NCX_LEAFREF_CLASS_INSTANCE
the 'instance' class will have the same result for 1 or more instances of a specific object node (sta...
Definition: ncxtypes.h:1693
@ 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:1679
@ NCX_LEAFREF_CLASS_LOCAL
the object class will have the same result for any instance of a specific object node (static,...
Definition: ncxtypes.h:1685
@ 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:1674
@ NCX_LEAFREF_CLASS_NONE
class not set
Definition: ncxtypes.h:1665
@ NCX_STATUS_NONE
not set
Definition: ncxtypes.h:609
@ NCX_STATUS_OBSOLETE
obsolete removed from tree
Definition: ncxtypes.h:612
@ NCX_STATUS_CURRENT
current (default)
Definition: ncxtypes.h:610
@ NCX_STATUS_DEPRECATED
deprecated (treated as current
Definition: ncxtypes.h:611
@ NCX_SES_EVENT_NONE
not set
Definition: ncxtypes.h:1797
@ NCX_SES_EVENT_END
session ended event
Definition: ncxtypes.h:1799
@ NCX_SES_EVENT_START
session started event
Definition: ncxtypes.h:1798
@ NCX_CC_EVENT_CANCEL
cancel event
Definition: ncxtypes.h:1610
@ NCX_CC_EVENT_START
start event
Definition: ncxtypes.h:1609
@ NCX_CC_EVENT_COMPLETE
CC complete event.
Definition: ncxtypes.h:1613
@ NCX_CC_EVENT_TIMEOUT
timeout event
Definition: ncxtypes.h:1611
@ NCX_CC_EVENT_EXTEND
extend event
Definition: ncxtypes.h:1612
@ NCX_CC_EVENT_NONE
not set
Definition: ncxtypes.h:1608
@ NCX_SORT_OFF
no sorting at all
Definition: ncxtypes.h:1896
@ NCX_SORT_NONE
not set
Definition: ncxtypes.h:1895
@ NCX_SORT_ASCENDING
sort in ascending order
Definition: ncxtypes.h:1897
@ NCX_SORT_DESCENDING
sort in descending order
Definition: ncxtypes.h:1898
@ NCX_CVTTYP_TG2
turbogears2 (not supported)
Definition: ncxtypes.h:1328
@ NCX_CVTTYP_UH
split u_foo.h file
Definition: ncxtypes.h:1331
@ NCX_CVTTYP_YH
split y_foo.h file
Definition: ncxtypes.h:1329
@ NCX_CVTTYP_BC
bundle y_foo.c file
Definition: ncxtypes.h:1333
@ NCX_CVTTYP_CPP_TEST
obsolete; not used
Definition: ncxtypes.h:1326
@ NCX_CVTTYP_UC
split u_foo.c file
Definition: ncxtypes.h:1332
@ NCX_CVTTYP_YC
split y_foo.c file
Definition: ncxtypes.h:1330
@ NCX_CVTTYP_C
SIL or SIL-SA C file.
Definition: ncxtypes.h:1325
@ NCX_CVTTYP_H
SIL or SIL-SA H file.
Definition: ncxtypes.h:1324
@ NCX_CVTTYP_YANG
canonical YANG (not supported)
Definition: ncxtypes.h:1322
@ NCX_CVTTYP_SQL
SQL format (not supported)
Definition: ncxtypes.h:1319
@ NCX_CVTTYP_NONE
not set
Definition: ncxtypes.h:1317
@ NCX_CVTTYP_SQLDB
netconfcentral.org dB format
Definition: ncxtypes.h:1320
@ NCX_CVTTYP_YIN
YIN format.
Definition: ncxtypes.h:1327
@ NCX_CVTTYP_XSD
XSD format (obsolete)
Definition: ncxtypes.h:1318
@ NCX_CVTTYP_HTML
netconfcentral WEB page format
Definition: ncxtypes.h:1321
@ NCX_CVTTYP_COPY
copy with new name
Definition: ncxtypes.h:1323
@ NCX_CVTTYP_BH
bundle y_foo.h file
Definition: ncxtypes.h:1334
@ NCX_AGT_TARG_LOCAL
TBD.
Definition: ncxtypes.h:544
@ NCX_AGT_TARG_NONE
not set
Definition: ncxtypes.h:541
@ NCX_AGT_TARG_CANDIDATE
target=candidate
Definition: ncxtypes.h:542
@ NCX_AGT_TARG_RUNNING
target=running
Definition: ncxtypes.h:543
@ NCX_AGT_TARG_REMOTE
TBD.
Definition: ncxtypes.h:545
@ NCX_AGT_TARG_CAND_RUNNING
TBD.
Definition: ncxtypes.h:546
@ NCX_NF_OCTAL
YANG octal format.
Definition: ncxtypes.h:522
@ NCX_NF_REAL
internal format for XPath
Definition: ncxtypes.h:525
@ NCX_NF_HEX
YANG hexidecimal format.
Definition: ncxtypes.h:524
@ NCX_NF_DEC
YANG deciaml format.
Definition: ncxtypes.h:523
@ NCX_NF_NONE
not set
Definition: ncxtypes.h:521
@ NCX_YANG_SID_MODE_SID_FILE
sid-file
Definition: ncxtypes.h:1872
@ NCX_YANG_SID_MODE_NONE
not set
Definition: ncxtypes.h:1871
@ NCX_YANG_SID_MODE_LSID_FILE
LSID FILE (Subscriber only)
Definition: ncxtypes.h:1874
@ NCX_YANG_SID_MODE_LSID
LSID (Publisher only)
Definition: ncxtypes.h:1873
@ NCX_IT_NONE
not set
Definition: ncxtypes.h:444
@ NCX_IT_INLINE
index simple type declared inline
Definition: ncxtypes.h:445
@ NCX_IT_SLOCAL
scoped local member within the table
Definition: ncxtypes.h:448
@ NCX_IT_LOCAL
local member within the table
Definition: ncxtypes.h:447
@ NCX_IT_NAMED
index named type declared inline
Definition: ncxtypes.h:446
@ NCX_IT_REMOTE
unscoped remote name
Definition: ncxtypes.h:449
@ NCX_IT_SREMOTE
scoped remote name
Definition: ncxtypes.h:450
@ NCX_CFGID_CANDIDATE
candidate datastore
Definition: ncxtypes.h:573
@ NCX_CFGID_FACTORY
factory-default datastore
Definition: ncxtypes.h:576
@ NCX_CFGID_OPERATIONAL
operational datastore
Definition: ncxtypes.h:575
@ NCX_CFGID_STARTUP
startup datastore
Definition: ncxtypes.h:574
@ NCX_CFGID_RUNNING
running datastore (no value for not set!)
Definition: ncxtypes.h:572
@ NCX_CL_NAMED
a restriction of a named type
Definition: ncxtypes.h:435
@ NCX_CL_COMPLEX
a complex type
Definition: ncxtypes.h:434
@ NCX_CL_SIMPLE
a restriction of a base type
Definition: ncxtypes.h:433
@ NCX_CL_BASE
a built-in base type
Definition: ncxtypes.h:432
@ NCX_CL_REF
internal reference to another type
Definition: ncxtypes.h:436
@ NCX_CL_NONE
not set
Definition: ncxtypes.h:431
@ NCX_MSGTYP_RPCRPY
RFC 4741 or 6241 <rpc-reply>
Definition: ncxtypes.h:603
@ NCX_MSGTYP_RPCREQ
RFC 4741 or 6241 <rpc>
Definition: ncxtypes.h:602
@ NCX_MSGTYP_HELLO
RFC 4741 or 6241 <hello>
Definition: ncxtypes.h:601
@ NCX_MSGTYP_NOTIF
RFC 5277 <notification>
Definition: ncxtypes.h:604
@ NCX_MSGTYP_NONE
not set
Definition: ncxtypes.h:600
@ NCX_FEATURE_CODE_NONE
enum not explicitly set
Definition: ncxtypes.h:1030
@ NCX_FEATURE_CODE_DYNAMIC
run-time if-feature code
Definition: ncxtypes.h:1032
@ NCX_FEATURE_CODE_STATIC
compile-time if-feature code
Definition: ncxtypes.h:1031
@ NCX_AGT_START_DISTINCT
with-startup=true
Definition: ncxtypes.h:554
@ NCX_AGT_START_MIRROR
with-startup=false
Definition: ncxtypes.h:553
@ NCX_AGT_START_NONE
not set
Definition: ncxtypes.h:552
@ NCX_IQUAL_NONE
value not set
Definition: ncxtypes.h:484
@ NCX_IQUAL_1MORE
'+' == 1 or more
Definition: ncxtypes.h:487
@ NCX_IQUAL_OPT
'?' == 0 or 1
Definition: ncxtypes.h:486
@ NCX_IQUAL_ZMORE
'*' == 0 or more
Definition: ncxtypes.h:488
@ NCX_IQUAL_ONE
no iqual == 1
Definition: ncxtypes.h:485
@ NCX_SR_BIT
bits restriction
Definition: ncxtypes.h:515
@ NCX_SR_NONE
not set
Definition: ncxtypes.h:512
@ NCX_SR_ENUM
enumeration restriction
Definition: ncxtypes.h:514
@ NCX_SR_PATTERN
pattern restriction
Definition: ncxtypes.h:513
@ NCX_MSG_ENCODING_JSON
JSON message encoding.
Definition: ncxtypes.h:679
@ NCX_MSG_ENCODING_NONE
not set
Definition: ncxtypes.h:673
@ NCX_MSG_ENCODING_XML
XML message encoding.
Definition: ncxtypes.h:676
@ NCX_MSG_ENCODING_CBOR
CBOR available if WITH_YANG_CBOR=1 set.
Definition: ncxtypes.h:682
@ NCX_SNMP_AGT_ROLE_NONE
not set
Definition: ncxtypes.h:1700
@ NCX_SNMP_AGT_ROLE_MASTER
SNMP master server role.
Definition: ncxtypes.h:1701
@ NCX_SNMP_AGT_ROLE_SUBAGENT
SNMP sub-agent role.
Definition: ncxtypes.h:1702
@ NCX_PROTO_YCONTROL
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:1043
@ NCX_PROTO_NETCONF10
RFC 4741 base:1.0
Definition: ncxtypes.h:1039
@ NCX_PROTO_NETCONF11
RFC 6241 base:1.1.
Definition: ncxtypes.h:1040
@ NCX_PROTO_UDPNOTIF
IETF UDP-Notif.
Definition: ncxtypes.h:1045
@ NCX_PROTO_YUMA_YANGAPI
YumaPro YANG-API 1.0.
Definition: ncxtypes.h:1041
@ NCX_PROTO_NONE
not set
Definition: ncxtypes.h:1038
@ NCX_PROTO_RESTCONF
IETF RESTCONF.
Definition: ncxtypes.h:1044
@ NCX_PROTO_YUMA_CLI
YumaPro Internal CLI 1.0.
Definition: ncxtypes.h:1042
@ NCX_BT_NONE
No type has been set yet.
Definition: ncxtypes.h:242
@ NCX_BT_INT64
YANG int64 data type.
Definition: ncxtypes.h:293
@ NCX_BT_LEAFREF
YANG 'leafref' data type.
Definition: ncxtypes.h:361
@ NCX_BT_UINT32
YANG uint32 data type.
Definition: ncxtypes.h:308
@ NCX_BT_BOOLEAN
YANG boolean data type.
Definition: ncxtypes.h:273
@ NCX_BT_INSTANCE_ID
YANG instance-identifier data type.
Definition: ncxtypes.h:344
@ NCX_BT_CASE
YANG case.
Definition: ncxtypes.h:394
@ NCX_BT_FLOAT64
Hidden double type, used just for XPath.
Definition: ncxtypes.h:324
@ NCX_BT_INT8
YANG int8 data type.
Definition: ncxtypes.h:278
@ NCX_BT_UINT16
YANG uint16 data type.
Definition: ncxtypes.h:303
@ NCX_BT_STRING
YANG 'string' type.
Definition: ncxtypes.h:333
@ NCX_BT_LIST
YANG list instance node.
Definition: ncxtypes.h:399
@ NCX_BT_INT32
YANG int32 data type.
Definition: ncxtypes.h:288
@ NCX_BT_EMPTY
YANG empty data type.
Definition: ncxtypes.h:268
@ NCX_BT_BITS
YANG bits data type.
Definition: ncxtypes.h:256
@ NCX_BT_CHOICE
YANG choice.
Definition: ncxtypes.h:387
@ NCX_BT_UNION
YANG 'union' data type.
Definition: ncxtypes.h:353
@ NCX_BT_INT16
YANG int16 data type.
Definition: ncxtypes.h:283
@ NCX_BT_CONTAINER
YANG container node.
Definition: ncxtypes.h:380
@ NCX_BT_ENUM
YANG enumeration data type.
Definition: ncxtypes.h:262
@ NCX_BT_ANY
The node is a YANG 1.0 'anyxml' node.
Definition: ncxtypes.h:251
@ NCX_BT_UINT8
YANG uint8 data type.
Definition: ncxtypes.h:298
@ NCX_BT_EXTERN
Internal 'external' data type, used in server and yangcli-pro.
Definition: ncxtypes.h:413
@ NCX_BT_INTERN
Internal 'buffer' data type, used in server and yangcli-pro.
Definition: ncxtypes.h:419
@ NCX_BT_DECIMAL64
YANG decimal64 data type.
Definition: ncxtypes.h:318
@ NCX_BT_UINT64
YANG uint64 data type.
Definition: ncxtypes.h:313
@ NCX_BT_BINARY
YANG binary data type.
Definition: ncxtypes.h:339
@ NCX_BT_ANYDATA
The node is a YANG 1.1 'anydata' node.
Definition: ncxtypes.h:407
@ NCX_BT_IDREF
YANG identityref data type.
Definition: ncxtypes.h:369
@ NCX_BT_SLIST
ncx:xsdlist extension (internal, deprecated)
Definition: ncxtypes.h:375
@ NCX_ACCESS_NONE
enum not explicitly set
Definition: ncxtypes.h:207
@ NCX_ACCESS_RO
read-only
Definition: ncxtypes.h:208
@ NCX_ACCESS_RW
read-write (create/delete not allowed)
Definition: ncxtypes.h:209
@ NCX_ACCESS_RC
read-create (all access)
Definition: ncxtypes.h:210
@ NCX_BAD_REPLY_ADAPT
default; adapt node
Definition: ncxtypes.h:1853
@ NCX_BAD_REPLY_ERROR
report Error and stop parse
Definition: ncxtypes.h:1855
@ NCX_BAD_REPLY_PRUNE
prune failing node(s)
Definition: ncxtypes.h:1854
@ NCX_BAD_REPLY_NONE
not set
Definition: ncxtypes.h:1852
@ NCX_DC_CONFIG
persistent config
Definition: ncxtypes.h:228
@ NCX_DC_NONE
not set
Definition: ncxtypes.h:227
@ NCX_DC_STATE
state or statistics
Definition: ncxtypes.h:229
@ NCX_OPT
clause is optional
Definition: ncxtypes.h:1413
@ NCX_REQ
clause is required
Definition: ncxtypes.h:1412
@ NCX_BAD_DATA_CHECK
NCX_BAD_DATA_CHECK to prompt user to keep or re-enter value.
Definition: ncxtypes.h:629
@ NCX_BAD_DATA_NONE
not set
Definition: ncxtypes.h:620
@ NCX_BAD_DATA_ERROR
NCX_BAD_DATA_ERROR to prompt user to re-enter value.
Definition: ncxtypes.h:632
@ NCX_BAD_DATA_IGNORE
NCX_BAD_DATA_IGNORE to silently accept invalid input values.
Definition: ncxtypes.h:623
@ NCX_BAD_DATA_WARN
NCX_BAD_DATA_WARN to warn and accept invalid input values.
Definition: ncxtypes.h:626
@ NCX_SID_NS_NONE
not set
Definition: ncxtypes.h:1861
@ NCX_SID_NS_MODULE
module namespace
Definition: ncxtypes.h:1862
@ NCX_SID_NS_FEATURE
feature namespace
Definition: ncxtypes.h:1864
@ NCX_SID_NS_IDENTITY
identity namespace
Definition: ncxtypes.h:1863
@ NCX_SID_NS_DATA
data namespace
Definition: ncxtypes.h:1865
@ NCX_MATCH_EXACT
exact (default)
Definition: ncxtypes.h:722
@ NCX_MATCH_ONE_NOCASE
match all chars case-insensitive if only 1 match
Definition: ncxtypes.h:727
@ NCX_MATCH_FIRST_NOCASE
The name must exactly match the first N characters of any node name.
Definition: ncxtypes.h:737
@ NCX_MATCH_NONE
not set
Definition: ncxtypes.h:721
@ NCX_MATCH_FIRST
The name must exactly match the first N characters of any node name.
Definition: ncxtypes.h:732
@ NCX_MATCH_EXACT_NOCASE
exact but case-insensitive
Definition: ncxtypes.h:723
@ NCX_MATCH_ONE
match all chars if only 1 match
Definition: ncxtypes.h:724
@ NCX_LAYER_CONTENT
application layer
Definition: ncxtypes.h:535
@ NCX_LAYER_OPERATION
protocol operation layer
Definition: ncxtypes.h:534
@ NCX_LAYER_NONE
not set
Definition: ncxtypes.h:531
@ NCX_LAYER_RPC
RPC operation layer.
Definition: ncxtypes.h:533
@ NCX_LAYER_TRANSPORT
transport layer
Definition: ncxtypes.h:532
@ NCX_MERGE_SORT
merge sorted
Definition: ncxtypes.h:496
@ NCX_MERGE_LAST
merge last
Definition: ncxtypes.h:495
@ NCX_MERGE_NONE
value not set
Definition: ncxtypes.h:493
@ NCX_MERGE_FIRST
merge first
Definition: ncxtypes.h:494
@ NCX_NMDA_DS_FACTORY
factory-default datastore
Definition: ncxtypes.h:1730
@ NCX_NMDA_DS_INTENDED
intended datastore
Definition: ncxtypes.h:1728
@ NCX_NMDA_DS_OPERATIONAL
operational datastore
Definition: ncxtypes.h:1729
@ NCX_NMDA_DS_RUNNING
running datastore
Definition: ncxtypes.h:1726
@ NCX_NMDA_DS_NONE
not set
Definition: ncxtypes.h:1724
@ NCX_NMDA_DS_CANDIDATE
candidate datastore
Definition: ncxtypes.h:1725
@ NCX_NMDA_DS_STARTUP
startup datastore
Definition: ncxtypes.h:1727
@ NCX_RF_NONE
not set
Definition: ncxtypes.h:745
@ NCX_RF_XML
XML result.
Definition: ncxtypes.h:747
@ NCX_RF_JSON
JSON result.
Definition: ncxtypes.h:748
@ NCX_RF_TEXT
text result
Definition: ncxtypes.h:746
@ NCX_SQUAL_VAL
search values
Definition: ncxtypes.h:504
@ NCX_SQUAL_META
search metadata
Definition: ncxtypes.h:505
@ NCX_SQUAL_APPINFO
search appinfo
Definition: ncxtypes.h:506
@ NCX_SQUAL_RANGE
search range
Definition: ncxtypes.h:503
@ NCX_SQUAL_NONE
not set
Definition: ncxtypes.h:502
@ NCX_XPATH_TYPE_OTHER
not used
Definition: ncxtypes.h:1354
@ NCX_XPATH_TYPE_MUST
must=stmt
Definition: ncxtypes.h:1350
@ NCX_XPATH_TYPE_NACM
NACM data rule.
Definition: ncxtypes.h:1352
@ NCX_XPATH_TYPE_WHEN
when-stmt
Definition: ncxtypes.h:1351
@ NCX_XPATH_TYPE_LEAFREF
intermediate leafref node
Definition: ncxtypes.h:1353
@ NCX_XPATH_TYPE_NONE
not set
Definition: ncxtypes.h:1349
@ NCX_NMDA_ORIGIN_NONE
not set
Definition: ncxtypes.h:1736
@ NCX_NMDA_ORIGIN_LEARNED
learned origin
Definition: ncxtypes.h:1740
@ NCX_NMDA_ORIGIN_DYNAMIC
dynamic origin
Definition: ncxtypes.h:1738
@ NCX_NMDA_ORIGIN_INTENDED
intended origin
Definition: ncxtypes.h:1737
@ NCX_NMDA_ORIGIN_SYSTEM
system-set origin
Definition: ncxtypes.h:1739
@ NCX_NMDA_ORIGIN_DEFAULT
set by default origin
Definition: ncxtypes.h:1741
@ NCX_NMDA_ORIGIN_UNKNOWN
unknown origin
Definition: ncxtypes.h:1742
@ NCX_CFG_STATE_OK
normal state
Definition: ncxtypes.h:1807
@ NCX_CFG_STATE_INIT
initialization phase
Definition: ncxtypes.h:1806
@ NCX_CFG_STATE_NONE
not set
Definition: ncxtypes.h:1805
@ NCX_CFG_STATE_BAD
bad datastore being used anyway
Definition: ncxtypes.h:1808
@ NCX_DISPLAY_MODE_XML
XML display mode.
Definition: ncxtypes.h:655
@ NCX_DISPLAY_MODE_PREFIX
plain CLI display mode with YANG prefixes added to nodes
Definition: ncxtypes.h:649
@ NCX_DISPLAY_MODE_CBOR
server CBOR binary output (CANNOT DISPLAY)
Definition: ncxtypes.h:667
@ NCX_DISPLAY_MODE_NONE
not set
Definition: ncxtypes.h:643
@ NCX_DISPLAY_MODE_XML_NONS
XML display mode without any prefixes (not compliant XML!)
Definition: ncxtypes.h:658
@ NCX_DISPLAY_MODE_MODULE
plain CLI display mode with YANG module names added to nodes
Definition: ncxtypes.h:652
@ NCX_DISPLAY_MODE_JSON
JSON (RFC 7951 format)
Definition: ncxtypes.h:661
@ NCX_DISPLAY_MODE_PLAIN
plain CLI display mode
Definition: ncxtypes.h:646
@ NCX_DISPLAY_MODE_CLI
yangcli-pro CLI mode
Definition: ncxtypes.h:664
@ NCX_SM_ST_ERROR
setup completed with errors
Definition: ncxtypes.h:1885
@ NCX_SM_ST_NONE
not set
Definition: ncxtypes.h:1881
@ NCX_SM_ST_SETUP
setup is in progress
Definition: ncxtypes.h:1883
@ NCX_SM_ST_DONE
setup completed with OK
Definition: ncxtypes.h:1884
@ NCX_SM_ST_PENDING
server has this MP; needs setup
Definition: ncxtypes.h:1882
@ NCX_NO_WSP
whitespace not allowed: unquoted string
Definition: ncxtypes.h:1420
@ NCX_WSP
whitespace allowed: quoted string
Definition: ncxtypes.h:1419
@ NCX_MODFORMAT_YANG
YANG format.
Definition: ncxtypes.h:1589
@ NCX_MODFORMAT_YIN
YIN format.
Definition: ncxtypes.h:1590
@ NCX_MODFORMAT_RNG
RelaxNG format (not supported )
Definition: ncxtypes.h:1591
@ NCX_MODFORMAT_NONE
not set
Definition: ncxtypes.h:1587
@ NCX_MODFORMAT_XSD
XSD format.
Definition: ncxtypes.h:1588
@ NCX_MODFORMAT_RNC
RelaxNG compact (not supported)
Definition: ncxtypes.h:1592
@ NCX_WITHDEF_REPORT_ALL
report-all
Definition: ncxtypes.h:1341
@ NCX_WITHDEF_REPORT_ALL_TAGGED
report-all-tagged
Definition: ncxtypes.h:1342
@ NCX_WITHDEF_NONE
not set
Definition: ncxtypes.h:1340
@ NCX_WITHDEF_EXPLICIT
explicit
Definition: ncxtypes.h:1344
@ NCX_WITHDEF_TRIM
trim
Definition: ncxtypes.h:1343
@ NCX_SHUT_FALLBACK
, called from <shutdown>, SIGINT, SIGKILL, SIGQUIT, SIGABRT, SIGTRAP, SIGTERM
Definition: ncxtypes.h:566
@ NCX_SHUT_NONE
not set
Definition: ncxtypes.h:560
@ NCX_SHUT_RELOAD
kill -10 SIGUSR1
Definition: ncxtypes.h:562
@ NCX_SHUT_RESET
kill -1 SIGHUP
Definition: ncxtypes.h:561
@ NCX_SHUT_RESTART
called from <restart>
Definition: ncxtypes.h:563
@ XP_AX_ATTRIBUTE
attribute axis
Definition: ncxtypes.h:691
@ XP_AX_SELF
self axis
Definition: ncxtypes.h:715
@ XP_AX_NONE
not set
Definition: ncxtypes.h:688
@ XP_AX_PRECEDING
preceding axis (not allowed in YANG)
Definition: ncxtypes.h:709
@ XP_AX_ANCESTOR_OR_SELF
ancestor-or-self axis
Definition: ncxtypes.h:690
@ XP_AX_NAMESPACE
namespace axis (not allowed in YANG)
Definition: ncxtypes.h:703
@ XP_AX_PARENT
parent axis
Definition: ncxtypes.h:706
@ XP_AX_ANCESTOR
ancestor axis
Definition: ncxtypes.h:689
@ XP_AX_DESCENDANT_OR_SELF
descendant-or-self axis
Definition: ncxtypes.h:694
@ XP_AX_FOLLOWING
following axis (not allowed in YANG)
Definition: ncxtypes.h:697
@ XP_AX_DESCENDANT
descendant axis
Definition: ncxtypes.h:693
@ XP_AX_CHILD
child axis (default)
Definition: ncxtypes.h:692
@ XP_AX_FOLLOWING_SIBLING
following-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:700
@ XP_AX_PRECEDING_SIBLING
preceding-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:712
@ NCX_IFMT_XPATH2
double-quote Xpath for error-path
Definition: ncxtypes.h:590
@ NCX_IFMT_YANGAPI
YANG-API URI with list1/key1/key2.
Definition: ncxtypes.h:593
@ NCX_IFMT_XPATH1
single-quote Xpath for filter
Definition: ncxtypes.h:589
@ NCX_IFMT_NONE
not set
Definition: ncxtypes.h:587
@ NCX_IFMT_CLI2
CLI syntax used in yangcli config mode.
Definition: ncxtypes.h:592
@ NCX_IFMT_CLI
CLI syntax used in val_dump_value.
Definition: ncxtypes.h:591
@ NCX_IFMT_C
C format.
Definition: ncxtypes.h:588
@ NCX_IFMT_RESTCONF
RESTCONF URI with list1=key1,key2.
Definition: ncxtypes.h:594
YANG extension usage entry A nested external statement will produce a tree of ncx_appinfo_t.
Definition: ncxtypes.h:923
ncx_error_t tkerr
file and line info for the compiler
Definition: ncxtypes.h:946
xmlChar * value
argument string (if any)
Definition: ncxtypes.h:934
boolean isclone
flag to identfy cloned appinfo
Definition: ncxtypes.h:943
xmlChar * name
external statement name
Definition: ncxtypes.h:931
struct ext_template_t_ * ext
YANG extension found to match this external stmt.
Definition: ncxtypes.h:937
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:925
xmlChar * prefix
external prefix used
Definition: ncxtypes.h:928
dlq_hdr_t * appinfoQ
nested external statements within this one
Definition: ncxtypes.h:940
used with various structs to cache back-ptrs the 'node' pointer may or may not be malloced!...
Definition: ncxtypes.h:1622
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1623
void * node
const or plain malloced data pointer
Definition: ncxtypes.h:1624
NCX base64 string node for YANG 'binary' built-in type.
Definition: ncxtypes.h:902
uint32 ubufflen
binary buffer len
Definition: ncxtypes.h:904
uint32 ustrlen
binary buffer used
Definition: ncxtypes.h:905
unsigned char * ustr
binary string
Definition: ncxtypes.h:903
one NCX_BT_BITS bit value
Definition: ncxtypes.h:855
xmlChar * dname
malloced bit name (value not checked)
Definition: ncxtypes.h:857
uint32 pos
position value or implied position
Definition: ncxtypes.h:858
const xmlChar * name
bptr to typ_enum_t.name or this.dname
Definition: ncxtypes.h:856
Decimal64 data type.
Definition: ncxtypes.h:810
int64 val
adjusted number to fit in 64 bits
Definition: ncxtypes.h:811
uint8 digits
number of decimal digits 1 .
Definition: ncxtypes.h:812
uint8 zeroes
number of leading zeroes 0 .
Definition: ncxtypes.h:813
one NCX_BT_ENUM enumeration value (user may enter 1 of 3 forms)
Definition: ncxtypes.h:847
xmlChar * dname
malloced enum (value not checked)
Definition: ncxtypes.h:849
int32 val
YANG value-stmt or implied value.
Definition: ncxtypes.h:850
const xmlChar * name
bptr to typ_enum_t or dname
Definition: ncxtypes.h:848
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1427
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1434
xmlChar * error_app_tag
error-app-tag field
Definition: ncxtypes.h:1437
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1428
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1431
xmlChar * error_message
error-message field
Definition: ncxtypes.h:1440
boolean seen
for yangdiff
Definition: ncxtypes.h:1441
error message replacement record
Definition: ncxtypes.h:1716
status_t res
key
Definition: ncxtypes.h:1717
const xmlChar * errmsg
backptr to CLI param value string
Definition: ncxtypes.h:1718
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information
Definition: ncxtypes.h:913
uint32 linepos
line position
Definition: ncxtypes.h:916
uint32 linenum
line number
Definition: ncxtypes.h:915
struct ncx_module_t_ * mod
module back-ptr
Definition: ncxtypes.h:914
YANG feature entry.
Definition: ncxtypes.h:1058
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1079
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:1091
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1075
dlq_hdr_t iffeatureQ
Q of ncx_iffeature_t.
Definition: ncxtypes.h:1074
xmlChar * name
feature name
Definition: ncxtypes.h:1063
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1072
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1069
uint8 yang_sid_flags
yangdump use for SID update feature
Definition: ncxtypes.h:1086
ncx_feature_code_t code
dynamic or static code-gen
Definition: ncxtypes.h:1078
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1060
boolean enabled
feature is enabled
Definition: ncxtypes.h:1077
status_t res
may be stored with errors
Definition: ncxtypes.h:1076
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1066
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1094
uint8 feature_flags
internal flags for YANG 1.1 processing
Definition: ncxtypes.h:1083
boolean seen
for yangdiff
Definition: ncxtypes.h:1080
struct for holding r/o pointer to generic internal node for filtering purposes
Definition: ncxtypes.h:1101
struct obj_template_t_ * objnode
get2 for complex node
Definition: ncxtypes.h:1105
struct val_value_t_ * useval
parent node of objnode
Definition: ncxtypes.h:1106
struct val_value_t_ * filnode
read-only backptr
Definition: ncxtypes.h:1104
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1102
struct getcb_get2_t_ * get2cb
get2 control block in use
Definition: ncxtypes.h:1107
dlq_hdr_t childQ
Q of ncx_filptr_t.
Definition: ncxtypes.h:1111
dlq_hdr_t selectQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1110
dlq_hdr_t matchQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1109
dlq_hdr_t lookupQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1108
struct val_value_t_ * node
read-only backptr
Definition: ncxtypes.h:1103
YANG identity base.
Definition: ncxtypes.h:1135
xmlChar * basename
base identity name
Definition: ncxtypes.h:1139
struct ncx_identity_t_ * base
back-ptr to base id
Definition: ncxtypes.h:1137
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1136
xmlChar * baseprefix
base identity prefix
Definition: ncxtypes.h:1138
YANG identity entry.
Definition: ncxtypes.h:1144
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1165
ncx_sid_t yang_sid
Each Identity is assigned a YANG SID for CBOR encoding.
Definition: ncxtypes.h:1172
boolean isroot
base==NULL not an error
Definition: ncxtypes.h:1163
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1159
dlq_hdr_t iffeatureQ
Q if ncx_iffeature_t structs.
Definition: ncxtypes.h:1160
xmlChar * name
identity name
Definition: ncxtypes.h:1147
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1157
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1153
uint8 yang_sid_flags
yangdump use for SID update feature
Definition: ncxtypes.h:1169
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1145
status_t res
may be stored with errors
Definition: ncxtypes.h:1162
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1150
dlq_hdr_t childQ
Q of ncx_idlink_t.
Definition: ncxtypes.h:1158
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1175
uint8 feature_flags
internal YANG 1.1 flags
Definition: ncxtypes.h:1161
const xmlChar * modname
backptr into module
Definition: ncxtypes.h:1155
dlq_hdr_t baseQ
Q of ncx_identity_base_t.
Definition: ncxtypes.h:1146
boolean seen
for yangcli
Definition: ncxtypes.h:1166
ncx_idlink_t idlink
internal id link
Definition: ncxtypes.h:1164
xmlns_id_t nsid
from mod containing identity
Definition: ncxtypes.h:1156
YANG 1.1 identifier-ref-arg that within an if-feature expression.
Definition: ncxtypes.h:973
struct ncx_feature_t_ * feature
backptr to found feature
Definition: ncxtypes.h:984
xmlChar * name
feature name used in if-feature
Definition: ncxtypes.h:981
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:975
xmlChar * prefix
prefix used in if-feature
Definition: ncxtypes.h:978
YANG if-feature entry.
Definition: ncxtypes.h:989
ncx_error_t tkerr
file, line info for compiler errors
Definition: ncxtypes.h:1022
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:1002
xmlChar * name
YANG 1.1 allows an expression.
Definition: ncxtypes.h:995
boolean expr_logerrors
true if logging errors; F: silent
Definition: ncxtypes.h:1019
boolean expr_skipmode
internal optimization flag
Definition: ncxtypes.h:1018
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:1013
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:991
boolean expr_evalmode
internal field
Definition: ncxtypes.h:1021
xmlChar * prefix
the prefix used in the if-feature stmt
Definition: ncxtypes.h:994
struct tk_chain_t_ * expr_tkc
the token control block contains the re-parsed string and used to evaluate expression logic
Definition: ncxtypes.h:1007
boolean seen
for yangdiff
Definition: ncxtypes.h:1024
boolean expr_set
state variables used for YANG 1.1 if-feature-stmt parsing
Definition: ncxtypes.h:1016
boolean expr_result
expression result, if set
Definition: ncxtypes.h:1017
One 'import' clause in YANG.
Definition: ncxtypes.h:1359
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1383
dlq_hdr_t appinfoQ
saved external stmts in this import
Definition: ncxtypes.h:1382
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1375
xmlChar * module
module name being imported
Definition: ncxtypes.h:1363
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1360
status_t res
set to NO_ERR if the import was parsed OK
Definition: ncxtypes.h:1384
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1372
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1380
xmlChar * revision
revision-stmt for import-by-revision
Definition: ncxtypes.h:1369
boolean used
for compiler not-used warning
Definition: ncxtypes.h:1379
ncx_module_t * mod
found module for this import
Definition: ncxtypes.h:1378
xmlChar * prefix
prefix used in import-stmt for module
Definition: ncxtypes.h:1366
boolean force_yuma_nc
HACK: TRUE if yuma-nc replacing ietf-nc.
Definition: ncxtypes.h:1381
One 'include' clause, YANG only.
Definition: ncxtypes.h:1389
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1406
dlq_hdr_t appinfoQ
saved external stmts in this include
Definition: ncxtypes.h:1405
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1400
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1390
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1397
struct ncx_module_t_ * submod
found submodule for this include
Definition: ncxtypes.h:1403
xmlChar * submodule
submodule name to include
Definition: ncxtypes.h:1391
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1404
xmlChar * revision
revision date for include-by-revision
Definition: ncxtypes.h:1394
header for a NCX List
Definition: ncxtypes.h:895
ncx_btype_t btyp
base type of each member
Definition: ncxtypes.h:896
dlq_hdr_t memQ
Q of ncx_lmem_t.
Definition: ncxtypes.h:897
NCX list member: list of string or number Usually used within a val_value_t structure.
Definition: ncxtypes.h:865
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:867
uint32 flags
flags to maintain list state
Definition: ncxtypes.h:890
server module info cache record for def_reg_add_mod
Definition: ncxtypes.h:1707
const xmlChar * modname
backptr
Definition: ncxtypes.h:1709
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1181
ncx_sid_t yang_sid
If the module SID is set then the SID file load is assumed to have worked.
Definition: ncxtypes.h:1301
dlq_hdr_t saveimpQ
Q of yang_import_ptr_t.
Definition: ncxtypes.h:1261
xmlChar * sid_old_source
full OLD SID filespec if WITH_YANG_CBOR enabled used by yangdump for –sid-update-file
Definition: ncxtypes.h:1225
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1259
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: ncxtypes.h:1254
xmlChar * name
module name
Definition: ncxtypes.h:1183
xmlChar * ocversion
oc-ext:openconfig-version
Definition: ncxtypes.h:1190
xmlChar * source
full YANG/YIN filespec
Definition: ncxtypes.h:1215
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1203
xmlChar * contact_info
contact-stmt (not saved on server)
Definition: ncxtypes.h:1197
dlq_hdr_t featureQ
Q of ncx_feature_t.
Definition: ncxtypes.h:1257
dlq_hdr_t revhistQ
Q of ncx_revhist_t.
Definition: ncxtypes.h:1248
boolean unloadable
T: unload allowed.
Definition: ncxtypes.h:1282
dlq_hdr_t typnameQ
Q of ncx_typname_t.
Definition: ncxtypes.h:1260
uint8 yang_sid_flags
yangdump use for SID update feature
Definition: ncxtypes.h:1296
xmlChar * xmlprefix
assigned prefix (may be different than YANG prefix)
Definition: ncxtypes.h:1212
dlq_hdr_t identityQ
Q of ncx_identity_t.
Definition: ncxtypes.h:1258
boolean mounted
T: SM mounted module.
Definition: ncxtypes.h:1285
boolean ocpattern_mode
T: openconfig patterns.
Definition: ncxtypes.h:1243
boolean dev_module
T: deviation; F: normal.
Definition: ncxtypes.h:1242
dlq_hdr_t includeQ
Q of ncx_include_t.
Definition: ncxtypes.h:1250
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1182
dlq_hdr_t importQ
Q of ncx_import_t.
Definition: ncxtypes.h:1249
xmlChar * version
module revision; this is allowed to be NULL in YANG identifying the one and only revision of the modu...
Definition: ncxtypes.h:1189
dlq_hdr_t allincQ
Q of yang_node_t to track all submodules.
Definition: ncxtypes.h:1269
dlq_hdr_t stmtQ
Q of yang_stmt_t.
Definition: ncxtypes.h:1263
dlq_hdr_t typeQ
Q of typ_template_t.
Definition: ncxtypes.h:1252
boolean ismod
module/submodule keyword
Definition: ncxtypes.h:1236
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:1310
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1200
struct ncx_module_t_ * parent
if this is a submodule
Definition: ncxtypes.h:1266
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1304
uint32 errors
yangdump results
Definition: ncxtypes.h:1245
uint32 flags
internal flags
Definition: ncxtypes.h:1235
dlq_hdr_t groupingQ
Q of grp_template_t.
Definition: ncxtypes.h:1253
boolean defaultrev
T: use for default ver.
Definition: ncxtypes.h:1240
struct ncx_sm_rootcb_t_ * rootcb
Schema Mount pointers.
Definition: ncxtypes.h:1288
xmlChar * ietfversion
ysv:version extension
Definition: ncxtypes.h:1191
boolean sid_file_done
YANG_SID data used to support CBOR message encoding flag indicates SID file load has been attempted.
Definition: ncxtypes.h:1293
uint32 warnings
yangdump results
Definition: ncxtypes.h:1246
boolean stmtmode
T: save yang_stmt_t.
Definition: ncxtypes.h:1237
boolean defaults_added
agt: for mod load
Definition: ncxtypes.h:1241
xmlChar * ns
namespace URI
Definition: ncxtypes.h:1206
dlq_hdr_t extensionQ
Q of ext_template_t.
Definition: ncxtypes.h:1255
const xmlChar * belongsver
back ptr to mod ver
Definition: ncxtypes.h:1231
boolean supported
T: load: F: import only.
Definition: ncxtypes.h:1239
struct ncx_module_t_ * parentmod
backptr set if submod
Definition: ncxtypes.h:1228
ncx_yang_version_t langver
YANG lang.
Definition: ncxtypes.h:1234
xmlChar * prefix
module prefix
Definition: ncxtypes.h:1209
boolean unload_active
T: unload in progress.
Definition: ncxtypes.h:1283
const xmlChar * sourcefn
ptr to fn in source
Definition: ncxtypes.h:1230
dlq_hdr_t deviationQ
Q of obj_deviation_t.
Definition: ncxtypes.h:1256
xmlChar * organization
organization-stmt (not saved on server)
Definition: ncxtypes.h:1194
dlq_hdr_t incchainQ
used if parent == NULL
Definition: ncxtypes.h:1271
xmlChar * sid_source
full SID filespec if WITH_YANG_CBOR enabled used by yangdump for –sid-generate-file
Definition: ncxtypes.h:1220
uint32 line_count
for EVAL_VERSION
Definition: ncxtypes.h:1281
ncx_list_t devmodlist
for deviations list
Definition: ncxtypes.h:1279
status_t status
module parse result
Definition: ncxtypes.h:1244
boolean added
T: don't free on err.
Definition: ncxtypes.h:1238
xmlns_id_t nsid
assigned by xmlns
Definition: ncxtypes.h:1233
dlq_hdr_t augmentedbyQ
Q of ncx_backptr_t to malloced xmlChar * points to the module->name field of the augmenting module Us...
Definition: ncxtypes.h:1277
xmlChar * belongs
set if submod
Definition: ncxtypes.h:1227
dlq_hdr_t annotQ
Q of typ_template_t.
Definition: ncxtypes.h:1251
internal NMDA get-data state parameters; rest of parameter are stored directly in the xml_msg_hdr_t u...
Definition: ncxtypes.h:1756
boolean origin_filter_negated
T: origin filter is negated.
Definition: ncxtypes.h:1764
ncx_nmda_ds_t nmda_ds
NMDA datastore to use.
Definition: ncxtypes.h:1776
boolean config_filter
content filter (config or non-config)
Definition: ncxtypes.h:1770
ncx_cfg_t cfg_ds
internal config ID to use
Definition: ncxtypes.h:1779
dlq_hdr_t origin_filterQ
Q of ncx_nmda_origin_filter_t.
Definition: ncxtypes.h:1758
boolean origin_filter_set
T: origin filter is being used.
Definition: ncxtypes.h:1761
boolean config_filter_set
config content filter used
Definition: ncxtypes.h:1767
boolean with_origin
add origin attributes
Definition: ncxtypes.h:1773
internal NMDA origin filter (negate field stored separately)
Definition: ncxtypes.h:1747
ncx_nmda_origin_t origin
origin filter
Definition: ncxtypes.h:1749
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1748
gather the prefix/nsid bindings used in an XPath string needed to generate the correct xmlns directiv...
Definition: ncxtypes.h:1842
const xmlChar * prefix
backptr to token inside xpath pcb
Definition: ncxtypes.h:1843
xmlns_id_t nsid
namespace ID
Definition: ncxtypes.h:1844
YANG revision entry.
Definition: ncxtypes.h:951
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:968
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:962
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:953
xmlChar * version
revision data argument
Definition: ncxtypes.h:956
status_t res
parsing result
Definition: ncxtypes.h:965
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:959
used with obj_deviation_t to defer object lookups
Definition: ncxtypes.h:1597
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1598
struct ncx_module_t_ * devmod
deviations module
Definition: ncxtypes.h:1599
boolean annotation
T: annotation, F:deviation.
Definition: ncxtypes.h:1600
YANG SID assignment range struct.
Definition: ncxtypes.h:782
uint32 sid_range_used
SID range highest used ex: range=1000:50; this field is 0 - 49.
Definition: ncxtypes.h:804
dlq_hdr_t qhdr
queue header to store in sequence
Definition: ncxtypes.h:784
ncx_sid_t sid_range_end
SID range last SID number ex: range=1000:50; this field is 1049.
Definition: ncxtypes.h:794
ncx_sid_t sid_range_start
SID range entry point ex: range=1000:50; this field is 1000.
Definition: ncxtypes.h:789
uint32 sid_range_size
SID range size ex: range=1000:50; this field is 50.
Definition: ncxtypes.h:799
Moint Point Instance This struct lives in a val_value_t.val_extra struct.
Definition: ncxtypes.h:1908
xmlChar * module
Set for SIL-SA ONLY: module name for the mount point This is a malloced string.
Definition: ncxtypes.h:1937
xmlChar * label
Set for SIL-SA ONLY: label for the mount point This is a malloced string.
Definition: ncxtypes.h:1942
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1909
dlq_hdr_t anckeyQ
Q of malloced val_value_t; 1 entry for each key leaf includes the ancestor keys.
Definition: ncxtypes.h:1914
boolean backptr_queued
flag to indicate the backptr is actually in a rootcb->mpidQ.
Definition: ncxtypes.h:1932
struct val_value_t_ * valroot
Backptr to the value node that contains this MPID This is a SIL only field.
Definition: ncxtypes.h:1919
ncx_backptr_t backptr
inline backptr used to store this MPID in the rootcb->mpidQ.
Definition: ncxtypes.h:1926
xmlChar * objpath
Set for SIL-SA ONLY: path string for the object template This is a malloced string.
Definition: ncxtypes.h:1947
Schema Mount Root Control Block used in the object template.
Definition: ncxtypes.h:1986
xmlChar * modname
Name of a module containing the mount point, copied in case the module is deleted.
Definition: ncxtypes.h:1995
ncx_yanglib_cb_t yanglib_cb
YANG Library control block.
Definition: ncxtypes.h:2024
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:2010
dlq_hdr_t devQ
Queue of mounted ncx_save_deviations_t devitaion modules.
Definition: ncxtypes.h:2035
xmlChar * label
Mount Point label string: copied in case module deleted.
Definition: ncxtypes.h:1990
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:2018
dlq_hdr_t mpidQ
Mount Point ID Queue of ncx_sm_mpid_t containing val_root and ancestor keys.
Definition: ncxtypes.h:2029
boolean config
TRUE if the subtree of this MP is config TRUE.
Definition: ncxtypes.h:2001
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1987
dlq_hdr_t modQ
Queue of mounted ncx_module_t modules.
Definition: ncxtypes.h:2032
uint16 bundles_waiting
non-zero if any bundles are waiting
Definition: ncxtypes.h:2013
struct obj_template_t_ * rootobj
root object of a new mounted top root
Definition: ncxtypes.h:2021
xmlChar * loadpath
loadpath name
Definition: ncxtypes.h:2037
boolean toproot
TRUE if the this is TOP level Root Control Block.
Definition: ncxtypes.h:2004
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:2043
xmlChar * objpath
Object path to the current Mount Point.
Definition: ncxtypes.h:1998
keep track of the typenames used for local typedefs only used by ncxdump to generate XSDs OBSOLETE: D...
Definition: ncxtypes.h:1449
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1450
struct typ_template_t_ * typ
backptr to type
Definition: ncxtypes.h:1451
const xmlChar * typname
typename
Definition: ncxtypes.h:1452
xmlChar * typname_malloc
replaced type name
Definition: ncxtypes.h:1453
one context for a yang library.
Definition: ncxtypes.h:1956
struct val_value_t_ * modset_val
value instance for /yang-library/module-set
Definition: ncxtypes.h:1971
boolean free_yanglib_val
NMDA lib: will be TRUE for a SM rootcb and FALSE for the toplib.
Definition: ncxtypes.h:1980
struct val_value_t_ * mymoduleid_val
value used for /modules-state/module-set-id
Definition: ncxtypes.h:1965
struct val_value_t_ * yanglib_val
value for /yang-library
Definition: ncxtypes.h:1968
uint32 myhash_val
data for value used for /modules-state/module-set-id
Definition: ncxtypes.h:1962
struct val_value_t_ * content_id_val
value node for /yang-library/content-id
Definition: ncxtypes.h:1974
boolean free_mymodules_val
will be TRUE for a SM rootcb and FALSE for the toplib
Definition: ncxtypes.h:1977
struct val_value_t_ * mymodules_val
value for /modules-state
Definition: ncxtypes.h:1959
union of various data structures to represent different base types
Definition: ncxtypes.h:872
ncx_num_t num
list member is a number
Definition: ncxtypes.h:874
boolean boo
list member is a boolean
Definition: ncxtypes.h:886
ncx_bit_t bit
list member is a bit
Definition: ncxtypes.h:883
ncx_enum_t enu
list member is a enum
Definition: ncxtypes.h:880
ncx_str_t str
list member is a string
Definition: ncxtypes.h:877
union of all the basic number types if float not supported, then it is stored as an int64
Definition: ncxtypes.h:820
ncx_dec64_t dec
NCX_BT_DECIMAL64.
Definition: ncxtypes.h:831
uint32 u
NCX_BT_UINT.
Definition: ncxtypes.h:823
uint64 ul
NCX_BT_ULONG.
Definition: ncxtypes.h:824
int64 l
NCX_BT_LONG.
Definition: ncxtypes.h:822
int64 d
NCX_BT_DOUBLE.
Definition: ncxtypes.h:829
int32 i
NCX_BT_INT.
Definition: ncxtypes.h:821
XML namespace support.