yumapro  25.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_ {
553} YPACK ncx_cfg_t;
554
555
556#define NCX_CFGID_MIN NCX_CFGID_RUNNING
557#define NCX_CFGID_MAX NCX_CFGID_OPERATIONAL
558#define NCX_CFGID_CNT (NCX_CFGID_MAX+1)
562typedef enum ncx_instfmt_t_ {
572
573
575typedef enum ncx_msgtyp_t_ {
582
584typedef enum ncx_status_t_ {
590
591
595typedef enum ncx_bad_data_t_ {
600
603
606
610
611
618typedef enum ncx_display_mode_t_ {
623
626
629
632
635
638
641
644
645} YPACK ncx_display_mode_t;
646
648typedef enum ncx_msg_encoding_t_ {
653
656
660
661
663typedef enum ncx_xpath_axis_t_ {
674
677
680
683
686
689
693
694
696typedef enum ncx_name_match_t_ {
704
709
715
716
726
727
729typedef uint64 ncx_transaction_id_t;
730
738/* 64 bit YANG SID needed for IETF SID mode! */
739#define YANG_SID64 1
740typedef uint64 ncx_sid_t;
741#define MAX_YANG_SID 0x7fffffffffffffff
742#define SID_T unsigned long long int
743
745#define TXID_T long long unsigned int
746
750typedef uint32 ncx_etag_t;
751
753typedef struct ncx_dec64_t_ {
754 int64 val;
755 uint8 digits;
756 uint8 zeroes;
757} YPACK ncx_dec64_t;
758
759
763typedef union ncx_num_t_ {
764 int32 i;
765 int64 l;
766 uint32 u;
767 uint64 ul;
769#ifdef HAS_FLOAT
770 double d;
771#else
772 int64 d;
773#endif
775} YPACK ncx_num_t;
776
777
785typedef xmlChar * ncx_str_t;
786
787typedef const xmlChar * ncx_const_str_t;
788
790typedef struct ncx_enum_t_ {
791 const xmlChar *name;
792 xmlChar *dname;
793 int32 val;
794} YPACK ncx_enum_t;
795
796
798typedef struct ncx_bit_t_ {
799 const xmlChar *name;
800 xmlChar *dname;
801 uint32 pos;
802} YPACK ncx_bit_t;
803
804
808typedef struct ncx_lmem_t_ {
810 dlq_hdr_t qhdr;
811
815 union val_ {
818
821
824
827
829 boolean boo;
830 } val;
831
833 uint32 flags;
834} YPACK ncx_lmem_t;
835
836
838typedef struct ncx_list_t_ {
840 dlq_hdr_t memQ;
841} ncx_list_t;
842
843
845typedef struct ncx_binary_t_ {
846 unsigned char *ustr;
847 uint32 ubufflen;
848 uint32 ustrlen;
850
851
856typedef struct ncx_error_t_ {
857 struct ncx_module_t_ *mod;
858 uint32 linenum;
859 uint32 linepos;
861
862
866typedef struct ncx_appinfo_t_ {
868 dlq_hdr_t qhdr;
869
871 xmlChar *prefix;
872
874 xmlChar *name;
875
877 xmlChar *value;
878
880 struct ext_template_t_ *ext;
881
883 dlq_hdr_t *appinfoQ;
884
886 boolean isclone;
887
890} YPACK ncx_appinfo_t;
891
892
894typedef struct ncx_revhist_t_ {
896 dlq_hdr_t qhdr;
897
899 xmlChar *version;
900
902 xmlChar *descr;
903
905 xmlChar *ref;
906
909
912} YPACK ncx_revhist_t;
913
914
916typedef struct ncx_iff_ref_t_ {
918 dlq_hdr_t qhdr;
919
921 xmlChar *prefix;
922
924 xmlChar *name;
925
927 struct ncx_feature_t_ *feature;
928} YPACK ncx_iff_ref_t;
929
930
932typedef struct ncx_iffeature_t_ {
934 dlq_hdr_t qhdr;
935
937 xmlChar *prefix;
938 xmlChar *name;
945 struct ncx_feature_t_ *feature;
950 struct tk_chain_t_ *expr_tkc;
951
956 dlq_hdr_t expr_iff_refQ;
959 boolean expr_set;
960 boolean expr_result;
967 boolean seen;
968} YPACK ncx_iffeature_t;
969
970
972typedef enum ncx_feature_code_t_ {
977
978
980typedef enum ncx_protocol_t_ {
990
991
993typedef enum ncx_yang_version_t_ {
994 NCX_YANG_VER_NONE,
995 NCX_YANG_VER_10,
996 NCX_YANG_VER_11
997} YPACK ncx_yang_version_t;
998
999
1001typedef struct ncx_feature_t_ {
1003 dlq_hdr_t qhdr;
1004
1006 xmlChar *name;
1007
1009 xmlChar *descr;
1010
1012 xmlChar *ref;
1013
1016
1017 dlq_hdr_t iffeatureQ;
1018 dlq_hdr_t appinfoQ;
1020 boolean enabled;
1023 boolean seen;
1027
1031 ncx_sid_t yang_sid;
1032
1035
1036} YPACK ncx_feature_t;
1037
1041typedef struct ncx_filptr_t_ {
1042 dlq_hdr_t qhdr;
1043 struct val_value_t_ *node;
1044 struct val_value_t_ *filnode;
1045 struct obj_template_t_ *objnode;
1046 struct val_value_t_ *useval;
1047 struct getcb_get2_t_ *get2cb;
1048 dlq_hdr_t lookupQ;
1049 dlq_hdr_t matchQ;
1050 dlq_hdr_t selectQ;
1051 dlq_hdr_t childQ;
1052} YPACK ncx_filptr_t;
1053
1054
1067typedef struct ncx_idlink_t_ {
1068 dlq_hdr_t qhdr;
1069 struct ncx_identity_t_ *identity;
1070 boolean inq;
1071} YPACK ncx_idlink_t;
1072
1073
1075typedef struct ncx_identity_base_t_ {
1076 dlq_hdr_t qhdr;
1077 struct ncx_identity_t_ *base;
1078 xmlChar *baseprefix;
1079 xmlChar *basename;
1080} YPACK ncx_identity_base_t;
1081
1082
1084typedef struct ncx_identity_t_ {
1085 dlq_hdr_t qhdr;
1086 dlq_hdr_t baseQ;
1087 xmlChar *name;
1090 xmlChar *descr;
1091
1093 xmlChar *ref;
1094
1095 const xmlChar *modname;
1098 dlq_hdr_t childQ;
1099 dlq_hdr_t appinfoQ;
1100 dlq_hdr_t iffeatureQ;
1103 boolean isroot;
1106 boolean seen;
1109 ncx_sid_t yang_sid;
1110
1113
1114} YPACK ncx_identity_t;
1115
1116
1118typedef struct ncx_module_t_ {
1119 dlq_hdr_t qhdr;
1120 xmlChar *name;
1126 xmlChar *version;
1127 xmlChar *ocversion;
1128 xmlChar *ietfversion;
1132
1135
1137 xmlChar *descr;
1138
1140 xmlChar *ref;
1141
1143 xmlChar *ns;
1146 xmlChar *prefix;
1149 xmlChar *xmlprefix;
1152 xmlChar *source;
1153
1155 xmlChar *sid_source;
1156
1157 xmlChar *belongs;
1158 struct ncx_module_t_ *parentmod;
1160 const xmlChar *sourcefn;
1161 const xmlChar *belongsver;
1165 uint32 flags;
1166 boolean ismod;
1167 boolean stmtmode;
1168 boolean added;
1169 boolean supported;
1170 boolean defaultrev;
1172 boolean dev_module;
1175 uint32 errors;
1176 uint32 warnings;
1178 dlq_hdr_t revhistQ;
1179 dlq_hdr_t importQ;
1180 dlq_hdr_t includeQ;
1181 dlq_hdr_t typeQ;
1182 dlq_hdr_t groupingQ;
1183 dlq_hdr_t datadefQ;
1184 dlq_hdr_t extensionQ;
1185 dlq_hdr_t deviationQ;
1186 dlq_hdr_t featureQ;
1187 dlq_hdr_t identityQ;
1188 dlq_hdr_t appinfoQ;
1189 dlq_hdr_t typnameQ;
1190 dlq_hdr_t saveimpQ;
1192 dlq_hdr_t stmtQ;
1195 struct ncx_module_t_ *parent;
1198 dlq_hdr_t allincQ;
1200 dlq_hdr_t incchainQ;
1204 uint32 line_count;
1205 boolean unloadable;
1208 boolean mounted;
1211 struct ncx_sm_rootcb_t_ *rootcb;
1217
1221 ncx_sid_t yang_sid;
1222
1225
1231
1232} YPACK ncx_module_t;
1233
1234
1236typedef enum ncx_cvttyp_t_ {
1256
1257
1259typedef enum ncx_withdefaults_t_ {
1266
1268typedef enum ncx_xpath_type_t_ {
1276
1277
1279typedef struct ncx_import_t_ {
1280 dlq_hdr_t qhdr;
1283 xmlChar *module;
1284
1286 xmlChar *prefix;
1287
1289 xmlChar *revision;
1290
1292 xmlChar *descr;
1293
1295 xmlChar *ref;
1296
1299 boolean used;
1300 boolean usexsd;
1302 dlq_hdr_t appinfoQ;
1305} YPACK ncx_import_t;
1306
1307
1309typedef struct ncx_include_t_ {
1310 dlq_hdr_t qhdr;
1311 xmlChar *submodule;
1314 xmlChar *revision;
1315
1317 xmlChar *descr;
1318
1320 xmlChar *ref;
1321
1323 struct ncx_module_t_ *submod;
1324 boolean usexsd;
1325 dlq_hdr_t appinfoQ;
1327} YPACK ncx_include_t;
1328
1329
1331typedef enum ncx_opt_t_ {
1333 NCX_OPT
1335
1336
1338typedef enum ncx_strtyp_t_ {
1340 NCX_NO_WSP
1342
1343
1347typedef struct ncx_errinfo_t_ {
1348 dlq_hdr_t qhdr;
1351 xmlChar *descr;
1352
1354 xmlChar *ref;
1355
1358
1361 boolean seen;
1362} YPACK ncx_errinfo_t;
1363
1364
1369typedef struct ncx_typname_t_ {
1370 dlq_hdr_t qhdr;
1371 struct typ_template_t_ *typ;
1372 const xmlChar *typname;
1374} YPACK ncx_typname_t;
1375
1376
1389typedef void (*ncx_load_cbfn_t) (ncx_module_t *mod);
1390
1391
1403typedef void (*ncx_unload_cbfn_t) (ncx_module_t *mod);
1404
1405
1422typedef void
1424 struct obj_template_t_ *obj);
1425
1426
1427
1444typedef boolean (*ncx_object_cbfn_t) (const ncx_module_t *mod,
1445 struct obj_template_t_ *object,
1446 void *cookie);
1447
1448
1449
1450
1467typedef boolean (*ncx_feature_cbfn_t) (const ncx_module_t *mod,
1468 ncx_feature_t *feature,
1469 void *cookie);
1470
1471
1475typedef enum ncx_modformat_t_ {
1483
1484
1486typedef struct ncx_save_deviations_t_ {
1487 dlq_hdr_t qhdr;
1488 struct ncx_module_t_ *devmod;
1489 boolean annotation;
1490} YPACK ncx_save_deviations_t;
1491
1492
1496typedef enum ncx_confirm_event_t_ {
1504
1505
1511typedef struct ncx_backptr_t_ {
1512 dlq_hdr_t qhdr;
1513 void *node;
1514} YPACK ncx_backptr_t;
1515
1516
1531typedef boolean (*ncx_identity_cbfn_t) (ncx_identity_t *identity,
1532 void *cookie);
1533
1535typedef uint8 ncx_owner_id_t;
1536
1537
1545typedef const xmlChar *
1546 (*ncx_get_owner_fn_t) (ncx_owner_id_t owner_id);
1547
1548
1552typedef enum ncx_leafref_class_t_ {
1555
1564
1569
1575
1583
1585
1586
1588typedef enum ncx_snmp_agt_role_t_ {
1593
1594
1596typedef struct ncx_modcache_t_ {
1597 dlq_hdr_t qhdr;
1598 const xmlChar *modname;
1599 boolean hidemod;
1600 //ncx_module_t *modptr; // not used yet
1601} YPACK ncx_modcache_t;
1602
1603
1605typedef struct ncx_errmsg_t_ {
1607 const xmlChar *errmsg;
1608} YPACK ncx_errmsg_t;
1609
1610
1612typedef enum ncx_nmda_ds_t_ {
1619} YPACK ncx_nmda_ds_t;
1620
1621
1623typedef enum ncx_nmda_origin_t_ {
1631} YPACK ncx_nmda_origin_t;
1632
1633
1635typedef struct ncx_origin_filter_t_ {
1636 dlq_hdr_t qhdr;
1638} YPACK ncx_origin_filter_t;
1639
1640
1644typedef struct ncx_nmda_params_t_ {
1647
1650
1653
1656
1659
1662
1665
1668} YPACK ncx_nmda_params_t;
1669
1670
1676typedef enum ncx_nmda_filtyp_t_ {
1677 NCX_NMDA_FILTYP_NONE,
1678 NCX_NMDA_FILTYP_STREAM,
1679 NCX_NMDA_FILTYP_SELECTION,
1680} YPACK ncx_nmda_filtyp_t;
1681
1682
1684typedef enum ncx_ses_event_t_ {
1688} YPACK ncx_ses_event_t;
1689
1690
1692typedef enum ncx_config_state_t_ {
1698
1699
1720 (*ncx_def_hook_cbfn_t) (struct val_value_t_ *parentval,
1721 struct obj_template_t_ *obj,
1722 xmlChar **buff);
1723
1724
1730typedef struct ncx_prefix_info_t_ {
1731 const xmlChar *prefix;
1733} YPACK ncx_prefix_info_t;
1734
1735
1739typedef enum ncx_bad_reply_enum_t_ {
1745
1746
1748typedef enum ncx_sid_ns_t_ {
1754} YPACK ncx_sid_ns_t;
1755
1756
1758typedef enum ncx_yang_sid_mode_t_ {
1763} YPACK ncx_yang_sid_mode_t;
1764
1765
1768typedef enum ncx_sm_state_t_ {
1774} YPACK ncx_sm_state_t;
1775
1776
1782typedef enum ncx_sort_type_t_ {
1787} YPACK ncx_sort_type_t;
1788
1789
1796typedef struct ncx_sm_mpid_t_ {
1797 dlq_hdr_t qhdr;
1802 dlq_hdr_t anckeyQ; // Q of val_value_t
1803
1807 struct val_value_t_ *valroot;
1808
1815
1821
1825 xmlChar *module;
1826
1830 xmlChar *label;
1831
1835 xmlChar *objpath;
1836
1837} YPACK ncx_sm_mpid_t;
1838
1839
1844typedef struct ncx_yanglib_cb_t_ {
1845
1847 struct val_value_t_ *mymodules_val;
1848
1851
1853 struct val_value_t_ *mymoduleid_val;
1854
1856 struct val_value_t_ *yanglib_val;
1857
1859 struct val_value_t_ *modset_val;
1860
1862 struct val_value_t_ *content_id_val;
1863
1866
1869
1871
1872
1874typedef struct ncx_sm_rootcb_t_ {
1875 dlq_hdr_t qhdr;
1878 xmlChar *label;
1879
1883 xmlChar *modname;
1884
1886 xmlChar *objpath;
1887
1889 boolean config;
1890
1892 boolean toproot;
1893
1898 boolean active;
1899
1902
1907
1909 struct obj_template_t_ *rootobj;
1910
1913
1917 dlq_hdr_t mpidQ;
1918
1920 dlq_hdr_t modQ;
1921
1923 dlq_hdr_t devQ;
1924
1925 xmlChar *loadpath;
1931 struct cap_list_t_ *caplist;
1932
1933} YPACK ncx_sm_rootcb_t;
1934
1935
1936 // END ncxtypes
1938
1939
1940#ifdef __cplusplus
1941} /* end extern 'C' */
1942#endif
1943
1944#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:437
ncx_leafref_class_t
Classification for the types of leafref path statements wrt/ how they can be cached.
Definition: ncxtypes.h:1552
ncx_status_t
enumeration for different YANG data-def status values
Definition: ncxtypes.h:584
uint32 ncx_etag_t
The ETag used in RESTCONF messages is the lower 32 bits of a ncx_transaction_id_t.
Definition: ncxtypes.h:750
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:1720
ncx_ses_event_t
internal enumerations for session event types
Definition: ncxtypes.h:1684
ncx_confirm_event_t
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well
Definition: ncxtypes.h:1496
void(* ncx_yang_obj_cbfn_t)(ncx_module_t *mod, struct obj_template_t_ *obj)
user function callback template when a YANG object is parsed by yang_obj.c.
Definition: ncxtypes.h:1423
ncx_sort_type_t
the sort type enumeration used for system-ordered list aand leaf-list objects
Definition: ncxtypes.h:1782
ncx_cvttyp_t
enumeration for different NCX module conversion output types
Definition: ncxtypes.h:1236
ncx_agttarg_t
enum to identify the agent native target
Definition: ncxtypes.h:517
ncx_numfmt_t
Enumeration of number format types.
Definition: ncxtypes.h:497
ncx_yang_sid_mode_t
YANG SID Allocation mode from yang-sid-mode typedef.
Definition: ncxtypes.h:1758
ncx_yang_version_t
enumeration for different YANG language versions
Definition: ncxtypes.h:993
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:729
ncx_msgtyp_t
enumeration for different NETCONF message types
Definition: ncxtypes.h:575
ncx_feature_code_t
Feature code generation type (deprecated)
Definition: ncxtypes.h:972
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:785
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:648
ncx_snmp_agt_role_t
enum to identify the SNMP agent native mode
Definition: ncxtypes.h:1588
ncx_protocol_t
NCX session protocol versions supported.
Definition: ncxtypes.h:980
ncx_btype_t
enumeration of the built-in NCX types These types cannot be overridden and cannot be imported
Definition: ncxtypes.h:213
ncx_access_t
NCX Access Control 'max-access' enumeration values Note that access control is applied to the session...
Definition: ncxtypes.h:182
void(* ncx_unload_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is unloaded from the system
Definition: ncxtypes.h:1403
boolean(* ncx_identity_cbfn_t)(ncx_identity_t *identity, void *cookie)
user function callback template to traverse all module identities looking for matches for a specified...
Definition: ncxtypes.h:1531
ncx_bad_reply_enum
enumeration for CLI handling of bad nodes from RPC reply Controls the behavior of the MGR XML parser
Definition: ncxtypes.h:1739
ncx_data_class_t
NCX Persistence Control.
Definition: ncxtypes.h:203
uint8 ncx_owner_id_t
used as index into the agt_owner registry
Definition: ncxtypes.h:1535
ncx_opt_t
enum for REQUIRED vs.
Definition: ncxtypes.h:1331
ncx_bad_data_t
enumeration for CLI handling of bad input data used by yangcli, all others use NCX_BAD_DATA_ERROR
Definition: ncxtypes.h:595
ncx_nmda_filtyp_t
internal enumerations for NMDA filter types used in the /filters container NCX_NMDA_FILTYP_STREAM == ...
Definition: ncxtypes.h:1676
ncx_sid_ns_t
enumeration for YANG SID namespace identifiers
Definition: ncxtypes.h:1748
ncx_name_match_t
Node name match modes.
Definition: ncxtypes.h:696
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:1612
ncx_result_format_t
specify the requested result format type Used by yangcli-pro assign statement
Definition: ncxtypes.h:720
ncx_squal_t
typdef search qualifier list (internal compiler modes)
Definition: ncxtypes.h:478
boolean(* ncx_object_cbfn_t)(const ncx_module_t *mod, struct obj_template_t_ *object, void *cookie)
user function callback template to traverse all module objects for a specified module
Definition: ncxtypes.h:1444
ncx_xpath_type_t
enumeration for different XPath back pointer types
Definition: ncxtypes.h:1268
ncx_nmda_origin_t
internal enumerations for standard NMDA origins
Definition: ncxtypes.h:1623
ncx_config_state_t
server config state Root Check
Definition: ncxtypes.h:1692
ncx_display_mode_t
enumeration of val_dump_value display modes Some RESTCONF code uses this field incorrectly for messag...
Definition: ncxtypes.h:618
ncx_sm_state_t
enumeration for yangcli processsing of schema mount info
Definition: ncxtypes.h:1768
boolean(* ncx_feature_cbfn_t)(const ncx_module_t *mod, ncx_feature_t *feature, void *cookie)
user function callback template to traverse all module features for a specified module
Definition: ncxtypes.h:1467
ncx_strtyp_t
enum for WHITESPACE ALLOWED vs.
Definition: ncxtypes.h:1338
ncx_modformat_t
enum for get-schema format type enum values matches the schema-format identities in RFC 6022
Definition: ncxtypes.h:1475
ncx_withdefaults_t
enum for with-defaults enum values
Definition: ncxtypes.h:1259
void(* ncx_load_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is loaded into the system
Definition: ncxtypes.h:1389
ncx_shutdowntyp_t
enumeration of the different program shutdown modes
Definition: ncxtypes.h:536
ncx_xpath_axis_t
XPath expression axis types.
Definition: ncxtypes.h:663
ncx_instfmt_t
instance identifier string format types
Definition: ncxtypes.h:562
@ 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:1582
@ 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:1568
@ NCX_LEAFREF_CLASS_LOCAL
the object class will have the same result for any instance of a specific object node (static,...
Definition: ncxtypes.h:1574
@ 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:1563
@ NCX_LEAFREF_CLASS_NONE
class not set
Definition: ncxtypes.h:1554
@ NCX_STATUS_NONE
not set
Definition: ncxtypes.h:585
@ NCX_STATUS_OBSOLETE
obsolete removed from tree
Definition: ncxtypes.h:588
@ NCX_STATUS_CURRENT
current (default)
Definition: ncxtypes.h:586
@ NCX_STATUS_DEPRECATED
deprecated (treated as current
Definition: ncxtypes.h:587
@ NCX_SES_EVENT_NONE
not set
Definition: ncxtypes.h:1685
@ NCX_SES_EVENT_END
session ended event
Definition: ncxtypes.h:1687
@ NCX_SES_EVENT_START
session started event
Definition: ncxtypes.h:1686
@ NCX_CC_EVENT_CANCEL
cancel event
Definition: ncxtypes.h:1499
@ NCX_CC_EVENT_START
start event
Definition: ncxtypes.h:1498
@ NCX_CC_EVENT_COMPLETE
CC complete event.
Definition: ncxtypes.h:1502
@ NCX_CC_EVENT_TIMEOUT
timeout event
Definition: ncxtypes.h:1500
@ NCX_CC_EVENT_EXTEND
extend event
Definition: ncxtypes.h:1501
@ NCX_CC_EVENT_NONE
not set
Definition: ncxtypes.h:1497
@ NCX_SORT_OFF
no sorting at all
Definition: ncxtypes.h:1784
@ NCX_SORT_NONE
not set
Definition: ncxtypes.h:1783
@ NCX_SORT_ASCENDING
sort in ascending order
Definition: ncxtypes.h:1785
@ NCX_SORT_DESCENDING
sort in descending order
Definition: ncxtypes.h:1786
@ NCX_CVTTYP_TG2
turbogears2 (not supported)
Definition: ncxtypes.h:1248
@ NCX_CVTTYP_UH
split u_foo.h file
Definition: ncxtypes.h:1251
@ NCX_CVTTYP_YH
split y_foo.h file
Definition: ncxtypes.h:1249
@ NCX_CVTTYP_BC
bundle y_foo.c file
Definition: ncxtypes.h:1253
@ NCX_CVTTYP_CPP_TEST
obsolete; not used
Definition: ncxtypes.h:1246
@ NCX_CVTTYP_UC
split u_foo.c file
Definition: ncxtypes.h:1252
@ NCX_CVTTYP_YC
split y_foo.c file
Definition: ncxtypes.h:1250
@ NCX_CVTTYP_C
SIL or SIL-SA C file.
Definition: ncxtypes.h:1245
@ NCX_CVTTYP_H
SIL or SIL-SA H file.
Definition: ncxtypes.h:1244
@ NCX_CVTTYP_YANG
canonical YANG (not supported)
Definition: ncxtypes.h:1242
@ NCX_CVTTYP_SQL
SQL format (not supported)
Definition: ncxtypes.h:1239
@ NCX_CVTTYP_NONE
not set
Definition: ncxtypes.h:1237
@ NCX_CVTTYP_SQLDB
netconfcentral.org dB format
Definition: ncxtypes.h:1240
@ NCX_CVTTYP_YIN
YIN format.
Definition: ncxtypes.h:1247
@ NCX_CVTTYP_XSD
XSD format (obsolete)
Definition: ncxtypes.h:1238
@ NCX_CVTTYP_HTML
netconfcentral WEB page format
Definition: ncxtypes.h:1241
@ NCX_CVTTYP_COPY
copy with new name
Definition: ncxtypes.h:1243
@ NCX_CVTTYP_BH
bundle y_foo.h file
Definition: ncxtypes.h:1254
@ NCX_AGT_TARG_LOCAL
TBD.
Definition: ncxtypes.h:521
@ NCX_AGT_TARG_NONE
not set
Definition: ncxtypes.h:518
@ NCX_AGT_TARG_CANDIDATE
target=candidate
Definition: ncxtypes.h:519
@ NCX_AGT_TARG_RUNNING
target=running
Definition: ncxtypes.h:520
@ NCX_AGT_TARG_REMOTE
TBD.
Definition: ncxtypes.h:522
@ NCX_AGT_TARG_CAND_RUNNING
TBD.
Definition: ncxtypes.h:523
@ NCX_NF_OCTAL
YANG octal format.
Definition: ncxtypes.h:499
@ NCX_NF_REAL
internal format for XPath
Definition: ncxtypes.h:502
@ NCX_NF_HEX
YANG hexidecimal format.
Definition: ncxtypes.h:501
@ NCX_NF_DEC
YANG deciaml format.
Definition: ncxtypes.h:500
@ NCX_NF_NONE
not set
Definition: ncxtypes.h:498
@ NCX_YANG_SID_MODE_SID_FILE
sid-file
Definition: ncxtypes.h:1760
@ NCX_YANG_SID_MODE_NONE
not set
Definition: ncxtypes.h:1759
@ NCX_YANG_SID_MODE_LSID_FILE
LSID FILE (Subscriber only)
Definition: ncxtypes.h:1762
@ NCX_YANG_SID_MODE_LSID
LSID (Publisher only)
Definition: ncxtypes.h:1761
@ 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_OPERATIONAL
operational datastore
Definition: ncxtypes.h:552
@ 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:579
@ NCX_MSGTYP_RPCREQ
RFC 4741 or 6241 <rpc>
Definition: ncxtypes.h:578
@ NCX_MSGTYP_HELLO
RFC 4741 or 6241 <hello>
Definition: ncxtypes.h:577
@ NCX_MSGTYP_NOTIF
RFC 5277 <notification>
Definition: ncxtypes.h:580
@ NCX_MSGTYP_NONE
not set
Definition: ncxtypes.h:576
@ NCX_FEATURE_CODE_NONE
enum not explicitly set
Definition: ncxtypes.h:973
@ NCX_FEATURE_CODE_DYNAMIC
run-time if-feature code
Definition: ncxtypes.h:975
@ NCX_FEATURE_CODE_STATIC
compile-time if-feature code
Definition: ncxtypes.h:974
@ 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:655
@ NCX_MSG_ENCODING_NONE
not set
Definition: ncxtypes.h:649
@ NCX_MSG_ENCODING_XML
XML message encoding.
Definition: ncxtypes.h:652
@ NCX_MSG_ENCODING_CBOR
CBOR available if WITH_YANG_CBOR=1 set.
Definition: ncxtypes.h:658
@ NCX_SNMP_AGT_ROLE_NONE
not set
Definition: ncxtypes.h:1589
@ NCX_SNMP_AGT_ROLE_MASTER
SNMP master server role.
Definition: ncxtypes.h:1590
@ NCX_SNMP_AGT_ROLE_SUBAGENT
SNMP sub-agent role.
Definition: ncxtypes.h:1591
@ NCX_PROTO_YCONTROL
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:986
@ NCX_PROTO_NETCONF10
RFC 4741 base:1.0
Definition: ncxtypes.h:982
@ NCX_PROTO_NETCONF11
RFC 6241 base:1.1.
Definition: ncxtypes.h:983
@ NCX_PROTO_UDPNOTIF
IETF UDP-Notif.
Definition: ncxtypes.h:988
@ NCX_PROTO_YUMA_YANGAPI
YumaPro YANG-API 1.0.
Definition: ncxtypes.h:984
@ NCX_PROTO_NONE
not set
Definition: ncxtypes.h:981
@ NCX_PROTO_RESTCONF
IETF RESTCONF.
Definition: ncxtypes.h:987
@ NCX_PROTO_YUMA_CLI
YumaPro Internal CLI 1.0.
Definition: ncxtypes.h:985
@ 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:1741
@ NCX_BAD_REPLY_ERROR
report Error and stop parse
Definition: ncxtypes.h:1743
@ NCX_BAD_REPLY_PRUNE
prune failing node(s)
Definition: ncxtypes.h:1742
@ NCX_BAD_REPLY_NONE
not set
Definition: ncxtypes.h:1740
@ NCX_DC_CONFIG
persistent config
Definition: ncxtypes.h:205
@ NCX_DC_NONE
not set
Definition: ncxtypes.h:204
@ NCX_DC_STATE
state or statistics
Definition: ncxtypes.h:206
@ NCX_OPT
clause is optional
Definition: ncxtypes.h:1333
@ NCX_REQ
clause is required
Definition: ncxtypes.h:1332
@ NCX_BAD_DATA_CHECK
NCX_BAD_DATA_CHECK to prompt user to keep or re-enter value.
Definition: ncxtypes.h:605
@ NCX_BAD_DATA_NONE
not set
Definition: ncxtypes.h:596
@ NCX_BAD_DATA_ERROR
NCX_BAD_DATA_ERROR to prompt user to re-enter value.
Definition: ncxtypes.h:608
@ NCX_BAD_DATA_IGNORE
NCX_BAD_DATA_IGNORE to silently accept invalid input values.
Definition: ncxtypes.h:599
@ NCX_BAD_DATA_WARN
NCX_BAD_DATA_WARN to warn and accept invalid input values.
Definition: ncxtypes.h:602
@ NCX_SID_NS_NONE
not set
Definition: ncxtypes.h:1749
@ NCX_SID_NS_MODULE
module namespace
Definition: ncxtypes.h:1750
@ NCX_SID_NS_FEATURE
feature namespace
Definition: ncxtypes.h:1752
@ NCX_SID_NS_IDENTITY
identity namespace
Definition: ncxtypes.h:1751
@ NCX_SID_NS_DATA
data namespace
Definition: ncxtypes.h:1753
@ NCX_MATCH_EXACT
exact (default)
Definition: ncxtypes.h:698
@ NCX_MATCH_ONE_NOCASE
match all chars case-insensitive if only 1 match
Definition: ncxtypes.h:703
@ NCX_MATCH_FIRST_NOCASE
The name must exactly match the first N characters of any node name.
Definition: ncxtypes.h:713
@ NCX_MATCH_NONE
not set
Definition: ncxtypes.h:697
@ NCX_MATCH_FIRST
The name must exactly match the first N characters of any node name.
Definition: ncxtypes.h:708
@ NCX_MATCH_EXACT_NOCASE
exact but case-insensitive
Definition: ncxtypes.h:699
@ NCX_MATCH_ONE
match all chars if only 1 match
Definition: ncxtypes.h:700
@ 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:1617
@ NCX_NMDA_DS_OPERATIONAL
operational datastore
Definition: ncxtypes.h:1618
@ NCX_NMDA_DS_RUNNING
running datastore
Definition: ncxtypes.h:1615
@ NCX_NMDA_DS_NONE
not set
Definition: ncxtypes.h:1613
@ NCX_NMDA_DS_CANDIDATE
candidate datastore
Definition: ncxtypes.h:1614
@ NCX_NMDA_DS_STARTUP
startup datastore
Definition: ncxtypes.h:1616
@ NCX_RF_NONE
not set
Definition: ncxtypes.h:721
@ NCX_RF_XML
XML result.
Definition: ncxtypes.h:723
@ NCX_RF_JSON
JSON result.
Definition: ncxtypes.h:724
@ NCX_RF_TEXT
text result
Definition: ncxtypes.h:722
@ NCX_SQUAL_VAL
search values
Definition: ncxtypes.h:481
@ NCX_SQUAL_META
search metadata
Definition: ncxtypes.h:482
@ NCX_SQUAL_APPINFO
search appinfo
Definition: ncxtypes.h:483
@ NCX_SQUAL_RANGE
search range
Definition: ncxtypes.h:480
@ NCX_SQUAL_NONE
not set
Definition: ncxtypes.h:479
@ NCX_XPATH_TYPE_OTHER
not used
Definition: ncxtypes.h:1274
@ NCX_XPATH_TYPE_MUST
must=stmt
Definition: ncxtypes.h:1270
@ NCX_XPATH_TYPE_NACM
NACM data rule.
Definition: ncxtypes.h:1272
@ NCX_XPATH_TYPE_WHEN
when-stmt
Definition: ncxtypes.h:1271
@ NCX_XPATH_TYPE_LEAFREF
intermediate leafref node
Definition: ncxtypes.h:1273
@ NCX_XPATH_TYPE_NONE
not set
Definition: ncxtypes.h:1269
@ NCX_NMDA_ORIGIN_NONE
not set
Definition: ncxtypes.h:1624
@ NCX_NMDA_ORIGIN_LEARNED
learned origin
Definition: ncxtypes.h:1628
@ NCX_NMDA_ORIGIN_DYNAMIC
dynamic origin
Definition: ncxtypes.h:1626
@ NCX_NMDA_ORIGIN_INTENDED
intended origin
Definition: ncxtypes.h:1625
@ NCX_NMDA_ORIGIN_SYSTEM
system-set origin
Definition: ncxtypes.h:1627
@ NCX_NMDA_ORIGIN_DEFAULT
set by default origin
Definition: ncxtypes.h:1629
@ NCX_NMDA_ORIGIN_UNKNOWN
unknown origin
Definition: ncxtypes.h:1630
@ NCX_CFG_STATE_OK
normal state
Definition: ncxtypes.h:1695
@ NCX_CFG_STATE_INIT
initialization phase
Definition: ncxtypes.h:1694
@ NCX_CFG_STATE_NONE
not set
Definition: ncxtypes.h:1693
@ NCX_CFG_STATE_BAD
bad datastore being used anyway
Definition: ncxtypes.h:1696
@ NCX_DISPLAY_MODE_XML
XML display mode.
Definition: ncxtypes.h:631
@ NCX_DISPLAY_MODE_PREFIX
plain CLI display mode with YANG prefixes added to nodes
Definition: ncxtypes.h:625
@ NCX_DISPLAY_MODE_CBOR
server CBOR binary output (CANNOT DISPLAY)
Definition: ncxtypes.h:643
@ NCX_DISPLAY_MODE_NONE
not set
Definition: ncxtypes.h:619
@ NCX_DISPLAY_MODE_XML_NONS
XML display mode without any prefixes (not compliant XML!)
Definition: ncxtypes.h:634
@ NCX_DISPLAY_MODE_MODULE
plain CLI display mode with YANG module names added to nodes
Definition: ncxtypes.h:628
@ NCX_DISPLAY_MODE_JSON
JSON (RFC 7951 format)
Definition: ncxtypes.h:637
@ NCX_DISPLAY_MODE_PLAIN
plain CLI display mode
Definition: ncxtypes.h:622
@ NCX_DISPLAY_MODE_CLI
yangcli-pro CLI mode
Definition: ncxtypes.h:640
@ NCX_SM_ST_ERROR
setup completed with errors
Definition: ncxtypes.h:1773
@ NCX_SM_ST_NONE
not set
Definition: ncxtypes.h:1769
@ NCX_SM_ST_SETUP
setup is in progress
Definition: ncxtypes.h:1771
@ NCX_SM_ST_DONE
setup completed with OK
Definition: ncxtypes.h:1772
@ NCX_SM_ST_PENDING
server has this MP; needs setup
Definition: ncxtypes.h:1770
@ NCX_NO_WSP
whitespace not allowed: unquoted string
Definition: ncxtypes.h:1340
@ NCX_WSP
whitespace allowed: quoted string
Definition: ncxtypes.h:1339
@ NCX_MODFORMAT_YANG
YANG format.
Definition: ncxtypes.h:1478
@ NCX_MODFORMAT_YIN
YIN format.
Definition: ncxtypes.h:1479
@ NCX_MODFORMAT_RNG
RelaxNG format (not supported )
Definition: ncxtypes.h:1480
@ NCX_MODFORMAT_NONE
not set
Definition: ncxtypes.h:1476
@ NCX_MODFORMAT_XSD
XSD format.
Definition: ncxtypes.h:1477
@ NCX_MODFORMAT_RNC
RelaxNG compact (not supported)
Definition: ncxtypes.h:1481
@ NCX_WITHDEF_REPORT_ALL
report-all
Definition: ncxtypes.h:1261
@ NCX_WITHDEF_REPORT_ALL_TAGGED
report-all-tagged
Definition: ncxtypes.h:1262
@ NCX_WITHDEF_NONE
not set
Definition: ncxtypes.h:1260
@ NCX_WITHDEF_EXPLICIT
explicit
Definition: ncxtypes.h:1264
@ NCX_WITHDEF_TRIM
trim
Definition: ncxtypes.h:1263
@ NCX_SHUT_FALLBACK
, called from <shutdown>, SIGINT, SIGKILL, SIGQUIT, SIGABRT, SIGTRAP, SIGTERM
Definition: ncxtypes.h:543
@ NCX_SHUT_NONE
not set
Definition: ncxtypes.h:537
@ NCX_SHUT_RELOAD
kill -10 SIGUSR1
Definition: ncxtypes.h:539
@ NCX_SHUT_RESET
kill -1 SIGHUP
Definition: ncxtypes.h:538
@ NCX_SHUT_RESTART
called from <restart>
Definition: ncxtypes.h:540
@ XP_AX_ATTRIBUTE
attribute axis
Definition: ncxtypes.h:667
@ XP_AX_SELF
self axis
Definition: ncxtypes.h:691
@ XP_AX_NONE
not set
Definition: ncxtypes.h:664
@ XP_AX_PRECEDING
preceding axis (not allowed in YANG)
Definition: ncxtypes.h:685
@ XP_AX_ANCESTOR_OR_SELF
ancestor-or-self axis
Definition: ncxtypes.h:666
@ XP_AX_NAMESPACE
namespace axis (not allowed in YANG)
Definition: ncxtypes.h:679
@ XP_AX_PARENT
parent axis
Definition: ncxtypes.h:682
@ XP_AX_ANCESTOR
ancestor axis
Definition: ncxtypes.h:665
@ XP_AX_DESCENDANT_OR_SELF
descendant-or-self axis
Definition: ncxtypes.h:670
@ XP_AX_FOLLOWING
following axis (not allowed in YANG)
Definition: ncxtypes.h:673
@ XP_AX_DESCENDANT
descendant axis
Definition: ncxtypes.h:669
@ XP_AX_CHILD
child axis (default)
Definition: ncxtypes.h:668
@ XP_AX_FOLLOWING_SIBLING
following-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:676
@ XP_AX_PRECEDING_SIBLING
preceding-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:688
@ NCX_IFMT_XPATH2
double-quote Xpath for error-path
Definition: ncxtypes.h:566
@ NCX_IFMT_YANGAPI
YANG-API URI with list1/key1/key2.
Definition: ncxtypes.h:569
@ NCX_IFMT_XPATH1
single-quote Xpath for filter
Definition: ncxtypes.h:565
@ NCX_IFMT_NONE
not set
Definition: ncxtypes.h:563
@ NCX_IFMT_CLI2
CLI syntax used in yangcli config mode.
Definition: ncxtypes.h:568
@ NCX_IFMT_CLI
CLI syntax used in val_dump_value.
Definition: ncxtypes.h:567
@ NCX_IFMT_C
C format.
Definition: ncxtypes.h:564
@ NCX_IFMT_RESTCONF
RESTCONF URI with list1=key1,key2.
Definition: ncxtypes.h:570
YANG extension usage entry A nested external statement will produce a tree of ncx_appinfo_t.
Definition: ncxtypes.h:866
ncx_error_t tkerr
file and line info for the compiler
Definition: ncxtypes.h:889
xmlChar * value
argument string (if any)
Definition: ncxtypes.h:877
boolean isclone
flag to identfy cloned appinfo
Definition: ncxtypes.h:886
xmlChar * name
external statement name
Definition: ncxtypes.h:874
struct ext_template_t_ * ext
YANG extension found to match this external stmt.
Definition: ncxtypes.h:880
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:868
xmlChar * prefix
external prefix used
Definition: ncxtypes.h:871
dlq_hdr_t * appinfoQ
nested external statements within this one
Definition: ncxtypes.h:883
used with various structs to cache back-ptrs the 'node' pointer may or may not be malloced!...
Definition: ncxtypes.h:1511
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1512
void * node
const or plain malloced data pointer
Definition: ncxtypes.h:1513
NCX base64 string node for YANG 'binary' built-in type.
Definition: ncxtypes.h:845
uint32 ubufflen
binary buffer len
Definition: ncxtypes.h:847
uint32 ustrlen
binary buffer used
Definition: ncxtypes.h:848
unsigned char * ustr
binary string
Definition: ncxtypes.h:846
one NCX_BT_BITS bit value
Definition: ncxtypes.h:798
xmlChar * dname
malloced bit name (value not checked)
Definition: ncxtypes.h:800
uint32 pos
position value or implied position
Definition: ncxtypes.h:801
const xmlChar * name
bptr to typ_enum_t.name or this.dname
Definition: ncxtypes.h:799
Decimal64 data type.
Definition: ncxtypes.h:753
int64 val
adjusted number to fit in 64 bits
Definition: ncxtypes.h:754
uint8 digits
number of decimal digits 1 .
Definition: ncxtypes.h:755
uint8 zeroes
number of leading zeroes 0 .
Definition: ncxtypes.h:756
one NCX_BT_ENUM enumeration value (user may enter 1 of 3 forms)
Definition: ncxtypes.h:790
xmlChar * dname
malloced enum (value not checked)
Definition: ncxtypes.h:792
int32 val
YANG value-stmt or implied value.
Definition: ncxtypes.h:793
const xmlChar * name
bptr to typ_enum_t or dname
Definition: ncxtypes.h:791
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1347
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1354
xmlChar * error_app_tag
error-app-tag field
Definition: ncxtypes.h:1357
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1348
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1351
xmlChar * error_message
error-message field
Definition: ncxtypes.h:1360
boolean seen
for yangdiff
Definition: ncxtypes.h:1361
error message replacement record
Definition: ncxtypes.h:1605
status_t res
key
Definition: ncxtypes.h:1606
const xmlChar * errmsg
backptr to CLI param value string
Definition: ncxtypes.h:1607
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information
Definition: ncxtypes.h:856
uint32 linepos
line position
Definition: ncxtypes.h:859
uint32 linenum
line number
Definition: ncxtypes.h:858
struct ncx_module_t_ * mod
module back-ptr
Definition: ncxtypes.h:857
YANG feature entry.
Definition: ncxtypes.h:1001
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1022
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:1031
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1018
dlq_hdr_t iffeatureQ
Q of ncx_iffeature_t.
Definition: ncxtypes.h:1017
xmlChar * name
feature name
Definition: ncxtypes.h:1006
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1015
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1012
ncx_feature_code_t code
dynamic or static code-gen
Definition: ncxtypes.h:1021
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1003
boolean enabled
feature is enabled
Definition: ncxtypes.h:1020
status_t res
may be stored with errors
Definition: ncxtypes.h:1019
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1009
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1034
uint8 feature_flags
internal flags for YANG 1.1 processing
Definition: ncxtypes.h:1026
boolean seen
for yangdiff
Definition: ncxtypes.h:1023
struct for holding r/o pointer to generic internal node for filtering purposes
Definition: ncxtypes.h:1041
struct obj_template_t_ * objnode
get2 for complex node
Definition: ncxtypes.h:1045
struct val_value_t_ * useval
parent node of objnode
Definition: ncxtypes.h:1046
struct val_value_t_ * filnode
read-only backptr
Definition: ncxtypes.h:1044
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1042
struct getcb_get2_t_ * get2cb
get2 control block in use
Definition: ncxtypes.h:1047
dlq_hdr_t childQ
Q of ncx_filptr_t.
Definition: ncxtypes.h:1051
dlq_hdr_t selectQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1050
dlq_hdr_t matchQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1049
dlq_hdr_t lookupQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:1048
struct val_value_t_ * node
read-only backptr
Definition: ncxtypes.h:1043
YANG identity base.
Definition: ncxtypes.h:1075
xmlChar * basename
base identity name
Definition: ncxtypes.h:1079
struct ncx_identity_t_ * base
back-ptr to base id
Definition: ncxtypes.h:1077
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1076
xmlChar * baseprefix
base identity prefix
Definition: ncxtypes.h:1078
YANG identity entry.
Definition: ncxtypes.h:1084
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1105
ncx_sid_t yang_sid
Each Identity is assigned a YANG SID for CBOR encoding.
Definition: ncxtypes.h:1109
boolean isroot
base==NULL not an error
Definition: ncxtypes.h:1103
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1099
dlq_hdr_t iffeatureQ
Q if ncx_iffeature_t structs.
Definition: ncxtypes.h:1100
xmlChar * name
identity name
Definition: ncxtypes.h:1087
ncx_status_t status
status-stmt
Definition: ncxtypes.h:1097
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:1093
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1085
status_t res
may be stored with errors
Definition: ncxtypes.h:1102
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:1090
dlq_hdr_t childQ
Q of ncx_idlink_t.
Definition: ncxtypes.h:1098
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1112
uint8 feature_flags
internal YANG 1.1 flags
Definition: ncxtypes.h:1101
const xmlChar * modname
backptr into module
Definition: ncxtypes.h:1095
dlq_hdr_t baseQ
Q of ncx_identity_base_t.
Definition: ncxtypes.h:1086
boolean seen
for yangcli
Definition: ncxtypes.h:1106
ncx_idlink_t idlink
internal id link
Definition: ncxtypes.h:1104
xmlns_id_t nsid
from mod containing identity
Definition: ncxtypes.h:1096
YANG 1.1 identifier-ref-arg that within an if-feature expression.
Definition: ncxtypes.h:916
struct ncx_feature_t_ * feature
backptr to found feature
Definition: ncxtypes.h:927
xmlChar * name
feature name used in if-feature
Definition: ncxtypes.h:924
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:918
xmlChar * prefix
prefix used in if-feature
Definition: ncxtypes.h:921
YANG if-feature entry.
Definition: ncxtypes.h:932
ncx_error_t tkerr
file, line info for compiler errors
Definition: ncxtypes.h:965
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:945
xmlChar * name
YANG 1.1 allows an expression.
Definition: ncxtypes.h:938
boolean expr_logerrors
true if logging errors; F: silent
Definition: ncxtypes.h:962
boolean expr_skipmode
internal optimization flag
Definition: ncxtypes.h:961
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:956
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:934
boolean expr_evalmode
internal field
Definition: ncxtypes.h:964
xmlChar * prefix
the prefix used in the if-feature stmt
Definition: ncxtypes.h:937
struct tk_chain_t_ * expr_tkc
the token control block contains the re-parsed string and used to evaluate expression logic
Definition: ncxtypes.h:950
boolean seen
for yangdiff
Definition: ncxtypes.h:967
boolean expr_set
state variables used for YANG 1.1 if-feature-stmt parsing
Definition: ncxtypes.h:959
boolean expr_result
expression result, if set
Definition: ncxtypes.h:960
One 'import' clause in YANG.
Definition: ncxtypes.h:1279
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1303
dlq_hdr_t appinfoQ
saved external stmts in this import
Definition: ncxtypes.h:1302
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1295
xmlChar * module
module name being imported
Definition: ncxtypes.h:1283
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1280
status_t res
set to NO_ERR if the import was parsed OK
Definition: ncxtypes.h:1304
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1292
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1300
xmlChar * revision
revision-stmt for import-by-revision
Definition: ncxtypes.h:1289
boolean used
for compiler not-used warning
Definition: ncxtypes.h:1299
ncx_module_t * mod
found module for this import
Definition: ncxtypes.h:1298
xmlChar * prefix
prefix used in import-stmt for module
Definition: ncxtypes.h:1286
boolean force_yuma_nc
HACK: TRUE if yuma-nc replacing ietf-nc.
Definition: ncxtypes.h:1301
One 'include' clause, YANG only.
Definition: ncxtypes.h:1309
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1326
dlq_hdr_t appinfoQ
saved external stmts in this include
Definition: ncxtypes.h:1325
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1320
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1310
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1317
struct ncx_module_t_ * submod
found submodule for this include
Definition: ncxtypes.h:1323
xmlChar * submodule
submodule name to include
Definition: ncxtypes.h:1311
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1324
xmlChar * revision
revision date for include-by-revision
Definition: ncxtypes.h:1314
header for a NCX List
Definition: ncxtypes.h:838
ncx_btype_t btyp
base type of each member
Definition: ncxtypes.h:839
dlq_hdr_t memQ
Q of ncx_lmem_t.
Definition: ncxtypes.h:840
NCX list member: list of string or number Usually used within a val_value_t structure.
Definition: ncxtypes.h:808
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:810
uint32 flags
flags to maintain list state
Definition: ncxtypes.h:833
server module info cache record for def_reg_add_mod
Definition: ncxtypes.h:1596
const xmlChar * modname
backptr
Definition: ncxtypes.h:1598
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1118
ncx_sid_t yang_sid
If the module SID is set then the SID file load is assumed to have worked.
Definition: ncxtypes.h:1221
dlq_hdr_t saveimpQ
Q of yang_import_ptr_t.
Definition: ncxtypes.h:1190
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:1188
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: ncxtypes.h:1183
xmlChar * name
module name
Definition: ncxtypes.h:1120
xmlChar * ocversion
oc-ext:openconfig-version
Definition: ncxtypes.h:1127
xmlChar * source
full YANG/YIN filespec
Definition: ncxtypes.h:1152
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1140
xmlChar * contact_info
contact-stmt (not saved on server)
Definition: ncxtypes.h:1134
dlq_hdr_t featureQ
Q of ncx_feature_t.
Definition: ncxtypes.h:1186
dlq_hdr_t revhistQ
Q of ncx_revhist_t.
Definition: ncxtypes.h:1178
boolean unloadable
T: unload allowed.
Definition: ncxtypes.h:1205
dlq_hdr_t typnameQ
Q of ncx_typname_t.
Definition: ncxtypes.h:1189
xmlChar * xmlprefix
assigned prefix (may be different than YANG prefix)
Definition: ncxtypes.h:1149
dlq_hdr_t identityQ
Q of ncx_identity_t.
Definition: ncxtypes.h:1187
boolean mounted
T: SM mounted module.
Definition: ncxtypes.h:1208
boolean ocpattern_mode
T: openconfig patterns.
Definition: ncxtypes.h:1173
boolean dev_module
T: deviation; F: normal.
Definition: ncxtypes.h:1172
dlq_hdr_t includeQ
Q of ncx_include_t.
Definition: ncxtypes.h:1180
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1119
dlq_hdr_t importQ
Q of ncx_import_t.
Definition: ncxtypes.h:1179
xmlChar * version
module revision; this is allowed to be NULL in YANG identifying the one and only revision of the modu...
Definition: ncxtypes.h:1126
dlq_hdr_t allincQ
Q of yang_node_t to track all submodules.
Definition: ncxtypes.h:1198
dlq_hdr_t stmtQ
Q of yang_stmt_t.
Definition: ncxtypes.h:1192
dlq_hdr_t typeQ
Q of typ_template_t.
Definition: ncxtypes.h:1181
boolean ismod
module/submodule keyword
Definition: ncxtypes.h:1166
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:1230
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1137
struct ncx_module_t_ * parent
if this is a submodule
Definition: ncxtypes.h:1195
uint32 yang_sid_tree
SID tree assignment if yang_sid is used.
Definition: ncxtypes.h:1224
uint32 errors
yangdump results
Definition: ncxtypes.h:1175
uint32 flags
internal flags
Definition: ncxtypes.h:1165
dlq_hdr_t groupingQ
Q of grp_template_t.
Definition: ncxtypes.h:1182
boolean defaultrev
T: use for default ver.
Definition: ncxtypes.h:1170
struct ncx_sm_rootcb_t_ * rootcb
Schema Mount pointers.
Definition: ncxtypes.h:1211
xmlChar * ietfversion
ysv:version extension
Definition: ncxtypes.h:1128
boolean sid_file_done
YANG_SID data used to support CBOR message encoding flag indicates SID file load has been attempted.
Definition: ncxtypes.h:1216
uint32 warnings
yangdump results
Definition: ncxtypes.h:1176
boolean stmtmode
T: save yang_stmt_t.
Definition: ncxtypes.h:1167
boolean defaults_added
agt: for mod load
Definition: ncxtypes.h:1171
xmlChar * ns
namespace URI
Definition: ncxtypes.h:1143
dlq_hdr_t extensionQ
Q of ext_template_t.
Definition: ncxtypes.h:1184
const xmlChar * belongsver
back ptr to mod ver
Definition: ncxtypes.h:1161
boolean supported
T: load: F: import only.
Definition: ncxtypes.h:1169
struct ncx_module_t_ * parentmod
backptr set if submod
Definition: ncxtypes.h:1158
ncx_yang_version_t langver
YANG lang.
Definition: ncxtypes.h:1164
xmlChar * prefix
module prefix
Definition: ncxtypes.h:1146
boolean unload_active
T: unload in progress.
Definition: ncxtypes.h:1206
const xmlChar * sourcefn
ptr to fn in source
Definition: ncxtypes.h:1160
dlq_hdr_t deviationQ
Q of obj_deviation_t.
Definition: ncxtypes.h:1185
xmlChar * organization
organization-stmt (not saved on server)
Definition: ncxtypes.h:1131
dlq_hdr_t incchainQ
used if parent == NULL
Definition: ncxtypes.h:1200
xmlChar * sid_source
full SID filespec if WITH_YANG_CBOR enabled
Definition: ncxtypes.h:1155
uint32 line_count
for EVAL_VERSION
Definition: ncxtypes.h:1204
ncx_list_t devmodlist
for deviations list
Definition: ncxtypes.h:1202
status_t status
module parse result
Definition: ncxtypes.h:1174
boolean added
T: don't free on err.
Definition: ncxtypes.h:1168
xmlns_id_t nsid
assigned by xmlns
Definition: ncxtypes.h:1163
xmlChar * belongs
set if submod
Definition: ncxtypes.h:1157
internal NMDA get-data state parameters; rest of parameter are stored directly in the xml_msg_hdr_t u...
Definition: ncxtypes.h:1644
boolean origin_filter_negated
T: origin filter is negated.
Definition: ncxtypes.h:1652
ncx_nmda_ds_t nmda_ds
NMDA datastore to use.
Definition: ncxtypes.h:1664
boolean config_filter
content filter (config or non-config)
Definition: ncxtypes.h:1658
ncx_cfg_t cfg_ds
internal config ID to use
Definition: ncxtypes.h:1667
dlq_hdr_t origin_filterQ
Q of ncx_nmda_origin_filter_t.
Definition: ncxtypes.h:1646
boolean origin_filter_set
T: origin filter is being used.
Definition: ncxtypes.h:1649
boolean config_filter_set
config content filter used
Definition: ncxtypes.h:1655
boolean with_origin
add origin attributes
Definition: ncxtypes.h:1661
internal NMDA origin filter (negate field stored separately)
Definition: ncxtypes.h:1635
ncx_nmda_origin_t origin
origin filter
Definition: ncxtypes.h:1637
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1636
gather the prefix/nsid bindings used in an XPath string needed to generate the correct xmlns directiv...
Definition: ncxtypes.h:1730
const xmlChar * prefix
backptr to token inside xpath pcb
Definition: ncxtypes.h:1731
xmlns_id_t nsid
namespace ID
Definition: ncxtypes.h:1732
YANG revision entry.
Definition: ncxtypes.h:894
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:911
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:905
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:896
xmlChar * version
revision data argument
Definition: ncxtypes.h:899
status_t res
parsing result
Definition: ncxtypes.h:908
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:902
used with obj_deviation_t to defer object lookups
Definition: ncxtypes.h:1486
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1487
struct ncx_module_t_ * devmod
deviations module
Definition: ncxtypes.h:1488
boolean annotation
T: annotation, F:deviation.
Definition: ncxtypes.h:1489
Moint Point Instance This struct lives in a val_value_t.val_extra struct.
Definition: ncxtypes.h:1796
xmlChar * module
Set for SIL-SA ONLY: module name for the mount point This is a malloced string.
Definition: ncxtypes.h:1825
xmlChar * label
Set for SIL-SA ONLY: label for the mount point This is a malloced string.
Definition: ncxtypes.h:1830
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1797
dlq_hdr_t anckeyQ
Q of malloced val_value_t; 1 entry for each key leaf includes the ancestor keys.
Definition: ncxtypes.h:1802
boolean backptr_queued
flag to indicate the backptr is actually in a rootcb->mpidQ.
Definition: ncxtypes.h:1820
struct val_value_t_ * valroot
Backptr to the value node that contains this MPID This is a SIL only field.
Definition: ncxtypes.h:1807
ncx_backptr_t backptr
inline backptr used to store this MPID in the rootcb->mpidQ.
Definition: ncxtypes.h:1814
xmlChar * objpath
Set for SIL-SA ONLY: path string for the object template This is a malloced string.
Definition: ncxtypes.h:1835
Schema Mount Root Control Block used in the object template.
Definition: ncxtypes.h:1874
xmlChar * modname
Name of a module containing the mount point, copied in case the module is deleted.
Definition: ncxtypes.h:1883
ncx_yanglib_cb_t yanglib_cb
YANG Library control block.
Definition: ncxtypes.h:1912
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:1898
dlq_hdr_t devQ
Queue of mounted ncx_save_deviations_t devitaion modules.
Definition: ncxtypes.h:1923
xmlChar * label
Mount Point label string: copied in case module deleted.
Definition: ncxtypes.h:1878
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:1906
dlq_hdr_t mpidQ
Mount Point ID Queue of ncx_sm_mpid_t containing val_root and ancestor keys.
Definition: ncxtypes.h:1917
boolean config
TRUE if the subtree of this MP is config TRUE.
Definition: ncxtypes.h:1889
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1875
dlq_hdr_t modQ
Queue of mounted ncx_module_t modules.
Definition: ncxtypes.h:1920
uint16 bundles_waiting
non-zero if any bundles are waiting
Definition: ncxtypes.h:1901
struct obj_template_t_ * rootobj
root object of a new mounted top root
Definition: ncxtypes.h:1909
xmlChar * loadpath
loadpath name
Definition: ncxtypes.h:1925
boolean toproot
TRUE if the this is TOP level Root Control Block.
Definition: ncxtypes.h:1892
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:1931
xmlChar * objpath
Object path to the current Mount Point.
Definition: ncxtypes.h:1886
keep track of the typenames used for local typedefs only used by ncxdump to generate XSDs OBSOLETE: D...
Definition: ncxtypes.h:1369
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1370
struct typ_template_t_ * typ
backptr to type
Definition: ncxtypes.h:1371
const xmlChar * typname
typename
Definition: ncxtypes.h:1372
xmlChar * typname_malloc
replaced type name
Definition: ncxtypes.h:1373
one context for a yang library.
Definition: ncxtypes.h:1844
struct val_value_t_ * modset_val
value instance for /yang-library/module-set
Definition: ncxtypes.h:1859
boolean free_yanglib_val
NMDA lib: will be TRUE for a SM rootcb and FALSE for the toplib.
Definition: ncxtypes.h:1868
struct val_value_t_ * mymoduleid_val
value used for /modules-state/module-set-id
Definition: ncxtypes.h:1853
struct val_value_t_ * yanglib_val
value for /yang-library
Definition: ncxtypes.h:1856
uint32 myhash_val
data for value used for /modules-state/module-set-id
Definition: ncxtypes.h:1850
struct val_value_t_ * content_id_val
value node for /yang-library/content-id
Definition: ncxtypes.h:1862
boolean free_mymodules_val
will be TRUE for a SM rootcb and FALSE for the toplib
Definition: ncxtypes.h:1865
struct val_value_t_ * mymodules_val
value for /modules-state
Definition: ncxtypes.h:1847
union of various data structures to represent different base types
Definition: ncxtypes.h:815
ncx_num_t num
list member is a number
Definition: ncxtypes.h:817
boolean boo
list member is a boolean
Definition: ncxtypes.h:829
ncx_bit_t bit
list member is a bit
Definition: ncxtypes.h:826
ncx_enum_t enu
list member is a enum
Definition: ncxtypes.h:823
ncx_str_t str
list member is a string
Definition: ncxtypes.h:820
union of all the basic number types if float not supported, then it is stored as an int64
Definition: ncxtypes.h:763
ncx_dec64_t dec
NCX_BT_DECIMAL64.
Definition: ncxtypes.h:774
uint32 u
NCX_BT_UINT.
Definition: ncxtypes.h:766
uint64 ul
NCX_BT_ULONG.
Definition: ncxtypes.h:767
int64 l
NCX_BT_LONG.
Definition: ncxtypes.h:765
int64 d
NCX_BT_DOUBLE.
Definition: ncxtypes.h:772
int32 i
NCX_BT_INT.
Definition: ncxtypes.h:764
XML namespace support.