yumapro  20.10-12
YumaPro SDK
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 
36 date init comment
37 ----------------------------------------------------------------------
38 14-nov-05 abb Begun; split from ncx.h
39 04-feb-06 abb Move base/nc.h constants into this file
40 10-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
55 extern "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 /********************************************************************
100 * *
101 * T Y P E S *
102 * *
103 *********************************************************************/
104 
105 
169 typedef enum ncx_access_t_ {
170 
172  NCX_ACCESS_RO,
173  NCX_ACCESS_RW,
175 } YPACK ncx_access_t;
176 
177 
179 #define NCX_DEF_ACCESS NCX_ACCESS_RC
180 
181 
190 typedef enum ncx_data_class_t_ {
194 } YPACK ncx_data_class_t;
195 
196 
200 typedef enum ncx_btype_t_ {
233 } YPACK ncx_btype_t;
234 
235 
236 #define NCX_FIRST_DATATYPE NCX_BT_ANY
237 #define NCX_LAST_DATATYPE NCX_BT_ANYDATA
238 #define NCX_NUM_BASETYPES (NCX_LAST_DATATYPE-NCX_FIRST_DATATYPE+1)
239 
240 
242 typedef enum ncx_tclass_t_ {
249 } YPACK ncx_tclass_t;
250 
251 
255 typedef enum ncx_indextyp_t_ {
263 } YPACK ncx_indextyp_t;
264 
265 
272 typedef enum ncx_node_t_ {
291 } YPACK ncx_node_t;
292 
293 
295 typedef enum ncx_iqual_t_ {
301 } YPACK ncx_iqual_t;
302 
304 typedef enum ncx_merge_t_ {
309 } YPACK ncx_merge_t;
310 
311 
313 typedef enum ncx_squal_t_ {
319 } YPACK ncx_squal_t;
320 
321 
323 typedef enum ncx_strrest_t_ {
328 } ncx_strrest_t;
329 
330 
332 typedef enum ncx_numfmt_t_ {
338 } YPACK ncx_numfmt_t;
339 
340 
342 typedef enum ncx_layer_t_ {
348 } YPACK ncx_layer_t;
349 
350 
352 typedef enum ncx_agttarg_t_ {
359 } YPACK ncx_agttarg_t;
360 
361 
363 typedef enum ncx_agtstart_t_ {
367 } YPACK ncx_agtstart_t;
368 
369 
371 typedef enum ncx_shutdowntyp_t_ {
376  NCX_SHUT_EXIT,
379 } YPACK ncx_shutdowntyp_t;
380 
381 
383 typedef enum ncx_cfg_t_ {
387 } YPACK ncx_cfg_t;
388 
389 
390 #define NCX_CFGID_MIN NCX_CFGID_RUNNING
391 #define NCX_CFGID_MAX NCX_CFGID_STARTUP
392 #define NCX_CFGID_CNT (NCX_CFGID_MAX+1)
396 typedef enum ncx_instfmt_t_ {
405 } YPACK ncx_instfmt_t;
406 
407 
409 typedef enum ncx_msgtyp_t_ {
415 } YPACK ncx_msgtyp_t;
416 
418 typedef enum ncx_status_t_ {
423 } YPACK ncx_status_t;
424 
425 
429 typedef enum ncx_bad_data_t_ {
434 
437 
440 
443 } YPACK ncx_bad_data_t;
444 
445 
447 typedef enum ncx_display_mode_t_ {
452 
455 
458 
461 
464 
467 
470 } YPACK ncx_display_mode_t;
471 
473 typedef enum ncx_msg_encoding_t_ {
478 
481 
484 } YPACK ncx_msg_encoding_t;
485 
486 
488 typedef enum ncx_xpath_axis_t_ {
499 
502 
505 
508 
511 
514 
517 } YPACK ncx_xpath_axis_t;
518 
519 
521 typedef enum ncx_name_match_t_ {
529 
532 
535 } YPACK ncx_name_match_t;
536 
537 
539 typedef enum ncx_result_format_t {
544 } YPACK ncx_result_format_t;
545 
546 
548 typedef uint64 ncx_transaction_id_t;
549 
550 #define TXID_T long long unsigned int
552 //typedef ncx_transaction_id_t ncx_etag_t;
553 
554 typedef uint32 ncx_etag_t;
555 
557 typedef struct ncx_dec64_t_ {
558  int64 val;
559  uint8 digits;
560  uint8 zeroes;
561 } YPACK ncx_dec64_t;
562 
563 
567 typedef union ncx_num_t_ {
568  int32 i;
569  int64 l;
570  uint32 u;
571  uint64 ul;
573 #ifdef HAS_FLOAT
574  double d;
575 #else
576  int64 d;
577 #endif
578  ncx_dec64_t dec;
579 } YPACK ncx_num_t;
580 
581 
589 typedef xmlChar * ncx_str_t;
590 
591 typedef const xmlChar * ncx_const_str_t;
592 
594 typedef struct ncx_enum_t_ {
595  const xmlChar *name;
596  xmlChar *dname;
597  int32 val;
598 } YPACK ncx_enum_t;
599 
600 
602 typedef struct ncx_bit_t_ {
603  const xmlChar *name;
604  xmlChar *dname;
605  uint32 pos;
606 } YPACK ncx_bit_t;
607 
608 
612 typedef struct ncx_lmem_t_ {
614  dlq_hdr_t qhdr;
615 
619  union val_ {
621  ncx_num_t num;
622 
625 
627  ncx_enum_t enu;
628 
630  ncx_bit_t bit;
631 
633  boolean boo;
634  } val;
635 
637  uint32 flags;
638 } YPACK ncx_lmem_t;
639 
640 
642 typedef struct ncx_list_t_ {
643  ncx_btype_t btyp;
644  dlq_hdr_t memQ;
645 } ncx_list_t;
646 
647 
649 typedef struct ncx_binary_t_ {
650  unsigned char *ustr;
651  uint32 ubufflen;
652  uint32 ustrlen;
653 } ncx_binary_t;
654 
655 
660 typedef struct ncx_error_t_ {
661  struct ncx_module_t_ *mod;
662  uint32 linenum;
663  uint32 linepos;
664 } ncx_error_t;
665 
666 
670 typedef struct ncx_appinfo_t_ {
672  dlq_hdr_t qhdr;
673 
675  xmlChar *prefix;
676 
678  xmlChar *name;
679 
681  xmlChar *value;
682 
685 
687  dlq_hdr_t *appinfoQ;
688 
690  boolean isclone;
691 
693  ncx_error_t tkerr;
694 } YPACK ncx_appinfo_t;
695 
696 
698 typedef struct ncx_revhist_t_ {
700  dlq_hdr_t qhdr;
701 
703  xmlChar *version;
704 
706  xmlChar *descr;
707 
709  xmlChar *ref;
710 
712  status_t res;
713 
715  ncx_error_t tkerr;
716 } YPACK ncx_revhist_t;
717 
718 
720 typedef struct ncx_iff_ref_t_ {
722  dlq_hdr_t qhdr;
723 
725  xmlChar *prefix;
726 
728  xmlChar *name;
729 
732 } YPACK ncx_iff_ref_t;
733 
734 
736 typedef struct ncx_iffeature_t_ {
738  dlq_hdr_t qhdr;
739 
741  xmlChar *prefix;
742  xmlChar *name;
753 
758  dlq_hdr_t expr_iff_refQ;
761  boolean expr_set;
762  boolean expr_result;
763  boolean expr_skipmode;
764  boolean expr_logerrors;
765  boolean expr_evalmode;
767  ncx_error_t tkerr;
768  boolean seen;
769 } YPACK ncx_iffeature_t;
770 
771 
773 typedef enum ncx_feature_code_t_ {
777 } YPACK ncx_feature_code_t;
778 
779 
781 typedef enum ncx_protocol_t_ {
789 } YPACK ncx_protocol_t;
790 
791 
793 typedef enum ncx_yang_version_t_ {
794  NCX_YANG_VER_NONE,
795  NCX_YANG_VER_10,
796  NCX_YANG_VER_11
797 } YPACK ncx_yang_version_t;
798 
799 
801 typedef struct ncx_feature_t_ {
803  dlq_hdr_t qhdr;
804 
806  xmlChar *name;
807 
809  xmlChar *descr;
810 
812  xmlChar *ref;
813 
815  ncx_status_t status;
816 
817  dlq_hdr_t iffeatureQ;
818  dlq_hdr_t appinfoQ;
819  status_t res;
820  boolean enabled;
821  ncx_feature_code_t code;
822  ncx_error_t tkerr;
823  boolean seen;
825 } YPACK ncx_feature_t;
826 
830 typedef struct ncx_filptr_t_ {
831  dlq_hdr_t qhdr;
832  struct val_value_t_ *node;
837  dlq_hdr_t lookupQ;
838  dlq_hdr_t matchQ;
839  dlq_hdr_t selectQ;
840  dlq_hdr_t childQ;
841 } YPACK ncx_filptr_t;
842 
843 
856 typedef struct ncx_idlink_t_ {
857  dlq_hdr_t qhdr;
859  boolean inq;
860 } YPACK ncx_idlink_t;
861 
862 
864 typedef struct ncx_identity_base_t_ {
865  dlq_hdr_t qhdr;
867  xmlChar *baseprefix;
868  xmlChar *basename;
869 } YPACK ncx_identity_base_t;
870 
871 
873 typedef struct ncx_identity_t_ {
874  dlq_hdr_t qhdr;
875  dlq_hdr_t baseQ;
876  xmlChar *name;
879  xmlChar *descr;
880 
882  xmlChar *ref;
883 
884  const xmlChar *modname;
886  ncx_status_t status;
887  dlq_hdr_t childQ;
888  dlq_hdr_t appinfoQ;
889  dlq_hdr_t iffeatureQ;
891  status_t res;
892  boolean isroot;
893  ncx_idlink_t idlink;
894  ncx_error_t tkerr;
895  boolean seen;
896 } YPACK ncx_identity_t;
897 
898 
900 typedef struct ncx_module_t_ {
901  dlq_hdr_t qhdr;
902  xmlChar *name;
908  xmlChar *version;
909  xmlChar *ocversion;
912  xmlChar *organization;
913 
915  xmlChar *contact_info;
916 
918  xmlChar *descr;
919 
921  xmlChar *ref;
922 
924  xmlChar *ns;
927  xmlChar *prefix;
930  xmlChar *xmlprefix;
931  xmlChar *source;
932  xmlChar *belongs;
935  const xmlChar *sourcefn;
936  const xmlChar *belongsver;
939  ncx_yang_version_t langver;
940  uint32 flags;
941  boolean ismod;
942  boolean stmtmode;
943  boolean added;
944  boolean supported;
945  boolean defaultrev;
946  boolean defaults_added;
947  boolean dev_module;
948  boolean ocpattern_mode;
949  status_t status;
950  uint32 errors;
951  uint32 warnings;
953  dlq_hdr_t revhistQ;
954  dlq_hdr_t importQ;
955  dlq_hdr_t includeQ;
956  dlq_hdr_t typeQ;
957  dlq_hdr_t groupingQ;
958  dlq_hdr_t datadefQ;
959  dlq_hdr_t extensionQ;
960  dlq_hdr_t deviationQ;
961  dlq_hdr_t featureQ;
962  dlq_hdr_t identityQ;
963  dlq_hdr_t appinfoQ;
964  dlq_hdr_t typnameQ;
965  dlq_hdr_t saveimpQ;
967  dlq_hdr_t stmtQ;
973  dlq_hdr_t allincQ;
975  dlq_hdr_t incchainQ;
977  ncx_list_t devmodlist;
979  uint32 line_count;
980  boolean unloadable;
981  boolean unload_active;
983 } YPACK ncx_module_t;
984 
985 
987 typedef enum ncx_cvttyp_t_ {
1006 } YPACK ncx_cvttyp_t;
1007 
1008 
1010 typedef enum ncx_withdefaults_t_ {
1016 } YPACK ncx_withdefaults_t;
1017 
1019 typedef enum ncx_xpath_type_t_ {
1025 } YPACK ncx_xpath_type_t;
1026 
1027 
1029 typedef struct ncx_import_t_ {
1030  dlq_hdr_t qhdr;
1033  xmlChar *module;
1034 
1036  xmlChar *prefix;
1037 
1039  xmlChar *revision;
1040 
1042  xmlChar *descr;
1043 
1045  xmlChar *ref;
1046 
1048  ncx_module_t *mod;
1049  boolean used;
1050  boolean usexsd;
1051  boolean force_yuma_nc;
1052  dlq_hdr_t appinfoQ;
1053  ncx_error_t tkerr;
1054  status_t res;
1055 } YPACK ncx_import_t;
1056 
1057 
1059 typedef struct ncx_include_t_ {
1060  dlq_hdr_t qhdr;
1061  xmlChar *submodule;
1064  xmlChar *revision;
1065 
1067  xmlChar *descr;
1068 
1070  xmlChar *ref;
1071 
1074  boolean usexsd;
1075  dlq_hdr_t appinfoQ;
1076  ncx_error_t tkerr;
1077 } YPACK ncx_include_t;
1078 
1079 
1081 typedef enum ncx_opt_t_ {
1084 } YPACK ncx_opt_t;
1085 
1086 
1088 typedef enum ncx_strtyp_t_ {
1091 } YPACK ncx_strtyp_t;
1092 
1093 
1097 typedef struct ncx_errinfo_t_ {
1098  dlq_hdr_t qhdr;
1101  xmlChar *descr;
1102 
1104  xmlChar *ref;
1105 
1107  xmlChar *error_app_tag;
1108 
1110  xmlChar *error_message;
1111  boolean seen;
1112 } YPACK ncx_errinfo_t;
1113 
1114 
1119 typedef struct ncx_typname_t_ {
1120  dlq_hdr_t qhdr;
1122  const xmlChar *typname;
1123  xmlChar *typname_malloc;
1124 } YPACK ncx_typname_t;
1125 
1126 
1139 typedef void (*ncx_load_cbfn_t) (ncx_module_t *mod);
1140 
1141 
1153 typedef void (*ncx_unload_cbfn_t) (ncx_module_t *mod);
1154 
1155 
1172 typedef void
1173  (*ncx_yang_obj_cbfn_t) (ncx_module_t *mod,
1174  struct obj_template_t_ *obj);
1175 
1176 
1193 typedef boolean (*ncx_feature_cbfn_t) (const ncx_module_t *mod,
1194  ncx_feature_t *feature,
1195  void *cookie);
1196 
1197 
1201 typedef enum ncx_modformat_t_ {
1208 } YPACK ncx_modformat_t;
1209 
1210 
1212 typedef struct ncx_save_deviations_t_ {
1213  dlq_hdr_t qhdr;
1215  boolean annotation;
1216 } YPACK ncx_save_deviations_t;
1217 
1218 
1222 typedef enum ncx_confirm_event_t_ {
1229 } YPACK ncx_confirm_event_t;
1230 
1231 
1237 typedef struct ncx_backptr_t_ {
1238  dlq_hdr_t qhdr;
1239  void *node;
1240 } YPACK ncx_backptr_t;
1241 
1242 
1257 typedef boolean (*ncx_identity_cbfn_t) (ncx_identity_t *identity,
1258  void *cookie);
1259 
1261 typedef uint8 ncx_owner_id_t;
1262 
1263 
1271 typedef const xmlChar *
1272  (*ncx_get_owner_fn_t) (ncx_owner_id_t owner_id);
1273 
1274 
1278 typedef enum ncx_leafref_class_t_ {
1279  NCX_LEAFREF_CLASS_NONE,
1280 
1289 
1294 
1300 
1308 
1309 } YPACK ncx_leafref_class_t;
1310 
1311 
1313 typedef enum ncx_snmp_agt_role_t_ {
1317 } YPACK ncx_snmp_agt_role_t;
1318 
1319 
1321 typedef struct ncx_modcache_t_ {
1322  dlq_hdr_t qhdr;
1323  const xmlChar *modname;
1324  boolean hidemod;
1325  //ncx_module_t *modptr; // not used yet
1326 } YPACK ncx_modcache_t;
1327 
1328 
1330 typedef struct ncx_errmsg_t_ {
1331  status_t res;
1332  const xmlChar *errmsg;
1333 } YPACK ncx_errmsg_t;
1334 
1335 
1337 typedef enum ncx_nmda_ds_t_ {
1344 } YPACK ncx_nmda_ds_t;
1345 
1346 
1348 typedef enum ncx_nmda_origin_t_ {
1356 } YPACK ncx_nmda_origin_t;
1357 
1358 
1360 typedef struct ncx_origin_filter_t_ {
1361  dlq_hdr_t qhdr;
1362  ncx_nmda_origin_t origin;
1363 } YPACK ncx_origin_filter_t;
1364 
1365 
1369 typedef struct ncx_nmda_params_t_ {
1371  dlq_hdr_t origin_filterQ;
1372 
1375 
1378 
1381 
1383  boolean config_filter;
1384 
1386  boolean with_origin;
1387 
1389  ncx_nmda_ds_t nmda_ds;
1390 
1392  ncx_cfg_t cfg_ds;
1393 } YPACK ncx_nmda_params_t;
1394 
1395 
1401 typedef enum ncx_nmda_filtyp_t_ {
1402  NCX_NMDA_FILTYP_NONE,
1403  NCX_NMDA_FILTYP_STREAM,
1404  NCX_NMDA_FILTYP_SELECTION,
1405 } YPACK ncx_nmda_filtyp_t;
1406 
1407 
1409 typedef enum ncx_ses_event_t_ {
1413 } YPACK ncx_ses_event_t;
1414 
1415 
1417 typedef enum ncx_config_state_t_ {
1422 } YPACK ncx_config_state_t;
1423 
1424 
1444 typedef status_t
1445  (*ncx_def_hook_cbfn_t) (struct val_value_t_ *parentval,
1446  struct obj_template_t_ *obj,
1447  xmlChar **buff);
1448 
1449 
1455 typedef struct ncx_prefix_info_t_ {
1456  const xmlChar *prefix;
1458 } YPACK ncx_prefix_info_t;
1459 
1460 
1469 } YPACK ncx_bad_reply_enum;
1470  // END ncxtypes
1472 
1473 
1474 #ifdef __cplusplus
1475 } /* end extern 'C' */
1476 #endif
1477 
1478 #endif /* _H_ncxtypes */
XP_AX_ATTRIBUTE
@ XP_AX_ATTRIBUTE
attribute axis
Definition: ncxtypes.h:492
NCX_AGT_TARG_RUNNING
@ NCX_AGT_TARG_RUNNING
target=running
Definition: ncxtypes.h:355
ncx_shutdowntyp_t_
ncx_shutdowntyp_t_
enumeration of the different program shutdown modes
Definition: ncxtypes.h:371
ncx_leafref_class_t_
ncx_leafref_class_t_
Classification for the types of leafref path statements wrt/ how they can be cached.
Definition: ncxtypes.h:1278
ncx_errmsg_t_
error message replacement record
Definition: ncxtypes.h:1330
NCX_RF_NONE
@ NCX_RF_NONE
not set
Definition: ncxtypes.h:540
NCX_BAD_DATA_CHECK
@ NCX_BAD_DATA_CHECK
NCX_BAD_DATA_CHECK to prompt user to keep or re-enter value.
Definition: ncxtypes.h:439
NCX_MATCH_EXACT_NOCASE
@ NCX_MATCH_EXACT_NOCASE
exact but case-insensitive
Definition: ncxtypes.h:524
ncx_bad_data_t_
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:429
NCX_MATCH_EXACT
@ NCX_MATCH_EXACT
exact (default)
Definition: ncxtypes.h:523
ncx_revhist_t_::ref
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:709
ncx_xpath_axis_t_
ncx_xpath_axis_t_
XPath expression axis types.
Definition: ncxtypes.h:488
ncx_identity_t_::seen
boolean seen
for yangcli
Definition: ncxtypes.h:895
NCX_NT_STRING
@ NCX_NT_STRING
xmlChar *, error only
Definition: ncxtypes.h:279
NCX_NF_OCTAL
@ NCX_NF_OCTAL
YANG octal format.
Definition: ncxtypes.h:334
ncx_nmda_params_t_::nmda_ds
ncx_nmda_ds_t nmda_ds
NMDA datastore to use.
Definition: ncxtypes.h:1389
NCX_MERGE_SORT
@ NCX_MERGE_SORT
merge sorted
Definition: ncxtypes.h:308
ncx_import_t_::module
xmlChar * module
module name being imported
Definition: ncxtypes.h:1033
ncx_nmda_params_t_::config_filter_set
boolean config_filter_set
config content filter used
Definition: ncxtypes.h:1380
NCX_XPATH_TYPE_MUST
@ NCX_XPATH_TYPE_MUST
must=stmt
Definition: ncxtypes.h:1021
NCX_BT_INT32
@ NCX_BT_INT32
int32
Definition: ncxtypes.h:209
NCX_IFMT_XPATH1
@ NCX_IFMT_XPATH1
single-quote Xpath for filter
Definition: ncxtypes.h:399
ncx_cvttyp_t_
ncx_cvttyp_t_
enumeration for different NCX module conversion output types
Definition: ncxtypes.h:987
NCX_MODFORMAT_YIN
@ NCX_MODFORMAT_YIN
YIN format.
Definition: ncxtypes.h:1205
NCX_CC_EVENT_START
@ NCX_CC_EVENT_START
start event
Definition: ncxtypes.h:1224
NCX_MODFORMAT_XSD
@ NCX_MODFORMAT_XSD
XSD format.
Definition: ncxtypes.h:1203
NCX_CC_EVENT_TIMEOUT
@ NCX_CC_EVENT_TIMEOUT
timeout event
Definition: ncxtypes.h:1226
ncx_name_match_t_
ncx_name_match_t_
Node name match modes.
Definition: ncxtypes.h:521
NCX_BT_CASE
@ NCX_BT_CASE
internal, not a real type
Definition: ncxtypes.h:227
ncx_iffeature_t_::seen
boolean seen
for yangdiff
Definition: ncxtypes.h:768
ncx_identity_base_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:865
NCX_CFG_STATE_NONE
@ NCX_CFG_STATE_NONE
not set
Definition: ncxtypes.h:1418
NCX_IQUAL_1MORE
@ NCX_IQUAL_1MORE
'+' == 1 or more
Definition: ncxtypes.h:299
ncx_module_t_::ocversion
xmlChar * ocversion
oc-ext:openconfig-version
Definition: ncxtypes.h:909
NCX_BT_BINARY
@ NCX_BT_BINARY
binary (base64)
Definition: ncxtypes.h:218
ncx_module_t_::contact_info
xmlChar * contact_info
contact-stmt (not saved on server)
Definition: ncxtypes.h:915
ncx_nmda_params_t_::with_origin
boolean with_origin
add origin attributes
Definition: ncxtypes.h:1386
XP_AX_PARENT
@ XP_AX_PARENT
parent axis
Definition: ncxtypes.h:507
NCX_BAD_DATA_ERROR
@ NCX_BAD_DATA_ERROR
NCX_BAD_DATA_ERROR to prompt user to re-enter value.
Definition: ncxtypes.h:442
ncx_withdefaults_t_
ncx_withdefaults_t_
enum for with-defaults enum values
Definition: ncxtypes.h:1010
ncx_config_state_t_
ncx_config_state_t_
server config state Root Check
Definition: ncxtypes.h:1417
ncx_module_t_::stmtmode
boolean stmtmode
T: save yang_stmt_t.
Definition: ncxtypes.h:942
NCX_XPATH_TYPE_OTHER
@ NCX_XPATH_TYPE_OTHER
not used
Definition: ncxtypes.h:1024
ncx_module_t_::errors
uint32 errors
yangdump results
Definition: ncxtypes.h:950
XP_AX_PRECEDING_SIBLING
@ XP_AX_PRECEDING_SIBLING
preceding-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:513
ncx_num_t_::dec
ncx_dec64_t dec
NCX_BT_DECIMAL64.
Definition: ncxtypes.h:578
NCX_IQUAL_ONE
@ NCX_IQUAL_ONE
no iqual == 1
Definition: ncxtypes.h:297
ncx_owner_id_t
uint8 ncx_owner_id_t
used as index into the agt_owner registry
Definition: ncxtypes.h:1261
ncx_import_t_::tkerr
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1053
ncx_import_t_::appinfoQ
dlq_hdr_t appinfoQ
saved external stmts in this import
Definition: ncxtypes.h:1052
NCX_MATCH_FIRST_NOCASE
@ NCX_MATCH_FIRST_NOCASE
match all chars case-insensitive, return first match
Definition: ncxtypes.h:534
ncx_iffeature_t_::expr_result
boolean expr_result
expression result, if set
Definition: ncxtypes.h:762
ncx_typname_t_::typ
struct typ_template_t_ * typ
backptr to type
Definition: ncxtypes.h:1121
ncx_identity_t_::status
ncx_status_t status
status-stmt
Definition: ncxtypes.h:886
NCX_LAYER_NONE
@ NCX_LAYER_NONE
not set
Definition: ncxtypes.h:343
NCX_MSG_ENCODING_XML
@ NCX_MSG_ENCODING_XML
XML message encoding.
Definition: ncxtypes.h:477
NCX_CVTTYP_SQLDB
@ NCX_CVTTYP_SQLDB
netconfcentral.org dB format
Definition: ncxtypes.h:991
NCX_CFG_STATE_BAD
@ NCX_CFG_STATE_BAD
bad datastore being used anyway
Definition: ncxtypes.h:1421
NCX_SR_PATTERN
@ NCX_SR_PATTERN
pattern restriction
Definition: ncxtypes.h:325
NCX_CL_REF
@ NCX_CL_REF
internal reference to another type
Definition: ncxtypes.h:248
NCX_WITHDEF_TRIM
@ NCX_WITHDEF_TRIM
trim
Definition: ncxtypes.h:1014
NCX_NT_FEATURE_CB
@ NCX_NT_FEATURE_CB
ncx_feature_t
Definition: ncxtypes.h:288
NCX_MSGTYP_NONE
@ NCX_MSGTYP_NONE
not set
Definition: ncxtypes.h:410
NCX_BT_BOOLEAN
@ NCX_BT_BOOLEAN
boolean
Definition: ncxtypes.h:206
ncx_identity_t_::res
status_t res
may be stored with errors
Definition: ncxtypes.h:891
NCX_CVTTYP_BH
@ NCX_CVTTYP_BH
bundle y_foo.h file
Definition: ncxtypes.h:1005
ncx_list_t_
header for a NCX List
Definition: ncxtypes.h:642
NCX_IT_REMOTE
@ NCX_IT_REMOTE
unscoped remote name
Definition: ncxtypes.h:261
NCX_WITHDEF_NONE
@ NCX_WITHDEF_NONE
not set
Definition: ncxtypes.h:1011
NCX_BT_INSTANCE_ID
@ NCX_BT_INSTANCE_ID
instance-identifier
Definition: ncxtypes.h:219
ncx_include_t_::descr
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1067
ncx_iffeature_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:738
NCX_MODFORMAT_RNG
@ NCX_MODFORMAT_RNG
RelaxNG format (not supported )
Definition: ncxtypes.h:1206
ncx_bit_t_::dname
xmlChar * dname
malloced bit name (value not checked)
Definition: ncxtypes.h:604
NCX_IFMT_RESTCONF
@ NCX_IFMT_RESTCONF
RESTCONF URI with list1=key1,key2.
Definition: ncxtypes.h:404
ncx_module_t_::organization
xmlChar * organization
organization-stmt (not saved on server)
Definition: ncxtypes.h:912
XP_AX_FOLLOWING
@ XP_AX_FOLLOWING
following axis (not allowed in YANG)
Definition: ncxtypes.h:498
ncx_feature_code_t_
ncx_feature_code_t_
Feature code generation type (deprecated)
Definition: ncxtypes.h:773
NCX_BT_IDREF
@ NCX_BT_IDREF
identityref
Definition: ncxtypes.h:222
ncx_import_t_::revision
xmlChar * revision
revision-stmt for import-by-revision
Definition: ncxtypes.h:1039
ncx_binary_t_
NCX base64 string node for YANG 'binary' built-in type.
Definition: ncxtypes.h:649
ncx_import_t_
One 'import' clause in YANG.
Definition: ncxtypes.h:1029
NCX_LEAFREF_CLASS_INSTANCE
@ 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:1307
NCX_CFG_STATE_OK
@ NCX_CFG_STATE_OK
normal state
Definition: ncxtypes.h:1420
XP_AX_ANCESTOR_OR_SELF
@ XP_AX_ANCESTOR_OR_SELF
ancestor-or-self axis
Definition: ncxtypes.h:491
NCX_BT_INTERN
@ NCX_BT_INTERN
not a real type, string buffer for contents
Definition: ncxtypes.h:231
NCX_LAYER_OPERATION
@ NCX_LAYER_OPERATION
protocol operation layer
Definition: ncxtypes.h:346
ncx_appinfo_t_
YANG extension usage entry A nested external statement will produce a tree of ncx_appinfo_t.
Definition: ncxtypes.h:670
ncx_msg_encoding_t_
ncx_msg_encoding_t_
enumeration for message encoding formats
Definition: ncxtypes.h:473
ncx_module_t_::saveimpQ
dlq_hdr_t saveimpQ
Q of yang_import_ptr_t.
Definition: ncxtypes.h:965
ncx_module_t_::supported
boolean supported
T: load: F: import only.
Definition: ncxtypes.h:944
NCX_BT_LEAFREF
@ NCX_BT_LEAFREF
leafref (needs special processing)
Definition: ncxtypes.h:221
NCX_PROTO_NETCONF11
@ NCX_PROTO_NETCONF11
RFC 6241 base:1.1.
Definition: ncxtypes.h:784
ncx_iffeature_t_::name
xmlChar * name
YANG 1.1 allows an expression.
Definition: ncxtypes.h:742
NCX_FEATURE_CODE_NONE
@ NCX_FEATURE_CODE_NONE
enum not explicitly set
Definition: ncxtypes.h:774
ncx_num_t_::i
int32 i
NCX_BT_INT.
Definition: ncxtypes.h:568
ncx_identity_t_::ref
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:882
ncx_module_t_::version
xmlChar * version
module revision; this is allowed to be NULL in YANG identifying the one and only revision of the modu...
Definition: ncxtypes.h:908
ncx_lmem_t_::val_::boo
boolean boo
list member is a boolean
Definition: ncxtypes.h:633
NCX_MATCH_FIRST
@ NCX_MATCH_FIRST
match all chars case-insensitive, return first match
Definition: ncxtypes.h:531
NCX_RF_XML
@ NCX_RF_XML
XML result.
Definition: ncxtypes.h:542
ncx_def_hook_cbfn_t
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:1445
ncx_feature_t_::descr
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:809
ncx_errinfo_t_::descr
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1101
NCX_AGT_START_NONE
@ NCX_AGT_START_NONE
not set
Definition: ncxtypes.h:364
NCX_NT_TYP
@ NCX_NT_TYP
typ_template_t
Definition: ncxtypes.h:274
ncx_iffeature_t_::expr_iff_refQ
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:758
NCX_RF_JSON
@ NCX_RF_JSON
JSON result.
Definition: ncxtypes.h:543
ncx_identity_t_::appinfoQ
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:888
ncx_module_t_::line_count
uint32 line_count
for EVAL_VERSION
Definition: ncxtypes.h:979
ncx_binary_t_::ustr
unsigned char * ustr
binary string
Definition: ncxtypes.h:650
NCX_MODFORMAT_NONE
@ NCX_MODFORMAT_NONE
not set
Definition: ncxtypes.h:1202
ncx_modcache_t_::modname
const xmlChar * modname
backptr
Definition: ncxtypes.h:1323
NCX_NT_CFG
@ NCX_NT_CFG
cfg_template_t *, error only
Definition: ncxtypes.h:280
ncx_num_t_::u
uint32 u
NCX_BT_UINT.
Definition: ncxtypes.h:570
NCX_NF_HEX
@ NCX_NF_HEX
YANG hexidecimal format.
Definition: ncxtypes.h:336
NCX_BT_ANYDATA
@ NCX_BT_ANYDATA
YANG 1.1 anydata.
Definition: ncxtypes.h:229
ncx_revhist_t_::tkerr
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:715
ncx_appinfo_t_::value
xmlChar * value
argument string (if any)
Definition: ncxtypes.h:681
NCX_IQUAL_NONE
@ NCX_IQUAL_NONE
value not set
Definition: ncxtypes.h:296
NCX_NT_IMPORT_CB
@ NCX_NT_IMPORT_CB
ncx_import_t
Definition: ncxtypes.h:284
ncx_origin_filter_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1361
ncx_feature_t_::code
ncx_feature_code_t code
dynamic or static code-gen
Definition: ncxtypes.h:821
NCX_NT_INCLUDE_CB
@ NCX_NT_INCLUDE_CB
ncx_include_t
Definition: ncxtypes.h:285
NCX_PROTO_YUMA_YANGAPI
@ NCX_PROTO_YUMA_YANGAPI
YumaPro YANG-API 1.0.
Definition: ncxtypes.h:785
ncx_revhist_t_::res
status_t res
parsing result
Definition: ncxtypes.h:712
NCX_PROTO_YUMA_CLI
@ NCX_PROTO_YUMA_CLI
YumaPro Internal CLI 1.0.
Definition: ncxtypes.h:786
ncx_filptr_t_::lookupQ
dlq_hdr_t lookupQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:837
ncx_module_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:901
ncx_strrest_t_
ncx_strrest_t_
Enumeration of string restriction types.
Definition: ncxtypes.h:323
ncx_identity_t_::baseQ
dlq_hdr_t baseQ
Q of ncx_identity_base_t.
Definition: ncxtypes.h:875
ncx_identity_t_::isroot
boolean isroot
base==NULL not an error
Definition: ncxtypes.h:892
ncx_module_t_::groupingQ
dlq_hdr_t groupingQ
Q of grp_template_t.
Definition: ncxtypes.h:957
NCX_DC_CONFIG
@ NCX_DC_CONFIG
persistent config
Definition: ncxtypes.h:192
ncx_errinfo_t_::error_message
xmlChar * error_message
error-message field
Definition: ncxtypes.h:1110
ncx_module_t_::devmodlist
ncx_list_t devmodlist
for deviations list
Definition: ncxtypes.h:977
NCX_IQUAL_ZMORE
@ NCX_IQUAL_ZMORE
'*' == 0 or more
Definition: ncxtypes.h:300
NCX_LEAFREF_CLASS_GLOBAL
@ 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:1293
ncx_binary_t_::ustrlen
uint32 ustrlen
binary buffer used
Definition: ncxtypes.h:652
NCX_NT_IDENTITY_CB
@ NCX_NT_IDENTITY_CB
ncx_identity_t
Definition: ncxtypes.h:289
ncx_filptr_t_::matchQ
dlq_hdr_t matchQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:838
ncx_node_t_
ncx_node_t_
NCX Internal Node Types.
Definition: ncxtypes.h:272
NCX_CVTTYP_C
@ NCX_CVTTYP_C
SIL or SIL-SA C file.
Definition: ncxtypes.h:996
NCX_NF_DEC
@ NCX_NF_DEC
YANG deciaml format.
Definition: ncxtypes.h:335
NCX_CVTTYP_YANG
@ NCX_CVTTYP_YANG
canonical YANG (not supported)
Definition: ncxtypes.h:993
ncx_revhist_t_
YANG revision entry.
Definition: ncxtypes.h:698
NCX_BT_UINT8
@ NCX_BT_UINT8
uint8
Definition: ncxtypes.h:211
ncx_filptr_t_::selectQ
dlq_hdr_t selectQ
Q of getcb_get2_lookup_t.
Definition: ncxtypes.h:839
ncx_merge_t_
ncx_merge_t_
The merge type for the NETCONF merge operation.
Definition: ncxtypes.h:304
NCX_CVTTYP_UH
@ NCX_CVTTYP_UH
split u_foo.h file
Definition: ncxtypes.h:1002
NCX_CVTTYP_BC
@ NCX_CVTTYP_BC
bundle y_foo.c file
Definition: ncxtypes.h:1004
ncx_module_t_::descr
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:918
ncx_access_t_
ncx_access_t_
NCX Access Control 'max-access' enumeration values Note that access control is applied to the session...
Definition: ncxtypes.h:169
NCX_WITHDEF_REPORT_ALL
@ NCX_WITHDEF_REPORT_ALL
report-all
Definition: ncxtypes.h:1012
ncx_enum_t_::name
const xmlChar * name
bptr to typ_enum_t or dname
Definition: ncxtypes.h:595
NCX_CC_EVENT_CANCEL
@ NCX_CC_EVENT_CANCEL
cancel event
Definition: ncxtypes.h:1225
ncx_identity_t_
YANG identity entry.
Definition: ncxtypes.h:873
xmlns_id_t
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
ncx_feature_t_::appinfoQ
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:818
ncx_num_t_::ul
uint64 ul
NCX_BT_ULONG.
Definition: ncxtypes.h:571
NCX_ACCESS_RC
@ NCX_ACCESS_RC
read-create (all access)
Definition: ncxtypes.h:178
NCX_CVTTYP_COPY
@ NCX_CVTTYP_COPY
copy with new name
Definition: ncxtypes.h:994
NCX_LAYER_RPC
@ NCX_LAYER_RPC
RPC operation layer.
Definition: ncxtypes.h:345
ncx_filptr_t_::childQ
dlq_hdr_t childQ
Q of ncx_filptr_t.
Definition: ncxtypes.h:840
ncx_msgtyp_t_
ncx_msgtyp_t_
enumeration for different NETCONF message types
Definition: ncxtypes.h:409
NCX_NF_NONE
@ NCX_NF_NONE
not set
Definition: ncxtypes.h:333
NCX_CC_EVENT_COMPLETE
@ NCX_CC_EVENT_COMPLETE
CC complete event.
Definition: ncxtypes.h:1228
NCX_MERGE_FIRST
@ NCX_MERGE_FIRST
merge first
Definition: ncxtypes.h:306
NCX_IT_INLINE
@ NCX_IT_INLINE
index simple type declared inline
Definition: ncxtypes.h:257
ncx_iff_ref_t_::name
xmlChar * name
feature name used in if-feature
Definition: ncxtypes.h:728
NCX_MERGE_NONE
@ NCX_MERGE_NONE
value not set
Definition: ncxtypes.h:305
ncx_num_t_::l
int64 l
NCX_BT_LONG.
Definition: ncxtypes.h:569
ncx_identity_t_::tkerr
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:894
ncx_import_t_::used
boolean used
for compiler not-used warning
Definition: ncxtypes.h:1049
ncx_lmem_t_
NCX list member: list of string or number Usually used within a val_value_t structure.
Definition: ncxtypes.h:612
NCX_DISPLAY_MODE_NONE
@ NCX_DISPLAY_MODE_NONE
not set
Definition: ncxtypes.h:448
ncx_iffeature_t_::expr_evalmode
boolean expr_evalmode
internal field
Definition: ncxtypes.h:765
ncx_error_t_::mod
struct ncx_module_t_ * mod
module back-ptr
Definition: ncxtypes.h:661
ncx_agttarg_t_
ncx_agttarg_t_
enum to identify the agent native target
Definition: ncxtypes.h:352
NCX_SHUT_RESET
@ NCX_SHUT_RESET
kill -1 SIGHUP
Definition: ncxtypes.h:373
NCX_BT_ENUM
@ NCX_BT_ENUM
enumeration
Definition: ncxtypes.h:204
NCX_IT_NONE
@ NCX_IT_NONE
not set
Definition: ncxtypes.h:256
NCX_NT_EXTENSION_CB
@ NCX_NT_EXTENSION_CB
ext_template_t
Definition: ncxtypes.h:287
NCX_BT_LIST
@ NCX_BT_LIST
internal, YANG list
Definition: ncxtypes.h:228
ncx_iffeature_t_::tkerr
ncx_error_t tkerr
file, line info for compiler errors
Definition: ncxtypes.h:767
ncx_module_t_::ismod
boolean ismod
module/submodule keyword
Definition: ncxtypes.h:941
ncx_revhist_t_::version
xmlChar * version
revision data argument
Definition: ncxtypes.h:703
ncx_module_t_::typnameQ
dlq_hdr_t typnameQ
Q of ncx_typname_t.
Definition: ncxtypes.h:964
ncx_module_t_::parent
struct ncx_module_t_ * parent
if this is a submodule
Definition: ncxtypes.h:970
NCX_MODFORMAT_YANG
@ NCX_MODFORMAT_YANG
YANG format.
Definition: ncxtypes.h:1204
NCX_CL_SIMPLE
@ NCX_CL_SIMPLE
a restriction of a base type
Definition: ncxtypes.h:245
ncx_dec64_t_::zeroes
uint8 zeroes
number of leading zeroes 0 .
Definition: ncxtypes.h:560
NCX_PROTO_RESTCONF
@ NCX_PROTO_RESTCONF
IETF RESTCONF.
Definition: ncxtypes.h:788
ncx_modcache_t_
server module info cache record for def_reg_add_mod
Definition: ncxtypes.h:1321
ncx_numfmt_t_
ncx_numfmt_t_
Enumeration of number format types.
Definition: ncxtypes.h:332
NCX_NMDA_DS_INTENDED
@ NCX_NMDA_DS_INTENDED
intended datastore
Definition: ncxtypes.h:1342
NCX_AGT_TARG_LOCAL
@ NCX_AGT_TARG_LOCAL
TBD.
Definition: ncxtypes.h:356
NCX_BT_UINT64
@ NCX_BT_UINT64
uint64
Definition: ncxtypes.h:214
ncx_yang_obj_cbfn_t
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:1173
NCX_MATCH_ONE
@ NCX_MATCH_ONE
match all chars if only 1 match
Definition: ncxtypes.h:525
ncx_appinfo_t_::isclone
boolean isclone
flag to identfy cloned appinfo
Definition: ncxtypes.h:690
NCX_FEATURE_CODE_STATIC
@ NCX_FEATURE_CODE_STATIC
compile-time if-feature code
Definition: ncxtypes.h:775
NCX_SHUT_FALLBACK
@ NCX_SHUT_FALLBACK
, called from <shutdown>, SIGINT, SIGKILL, SIGQUIT, SIGABRT, SIGTRAP, SIGTERM
Definition: ncxtypes.h:378
ncx_module_t_::ocpattern_mode
boolean ocpattern_mode
T: openconfig patterns.
Definition: ncxtypes.h:948
NCX_SR_NONE
@ NCX_SR_NONE
not set
Definition: ncxtypes.h:324
tk_chain_t_
token parsing chain (main parser control block)
Definition: tk.h:415
NCX_NF_REAL
@ NCX_NF_REAL
internal format for XPath
Definition: ncxtypes.h:337
NCX_SES_EVENT_END
@ NCX_SES_EVENT_END
session ended event
Definition: ncxtypes.h:1412
ncx_import_t_::res
status_t res
set to NO_ERR if the import was parsed OK
Definition: ncxtypes.h:1054
NCX_CVTTYP_CPP_TEST
@ NCX_CVTTYP_CPP_TEST
obsolete; not used
Definition: ncxtypes.h:997
ncx_save_deviations_t_::devmod
struct ncx_module_t_ * devmod
deviations module
Definition: ncxtypes.h:1214
NCX_SR_ENUM
@ NCX_SR_ENUM
enumeration restriction
Definition: ncxtypes.h:326
NCX_BAD_DATA_IGNORE
@ NCX_BAD_DATA_IGNORE
NCX_BAD_DATA_IGNORE to silently accept invalid input values.
Definition: ncxtypes.h:433
NCX_WITHDEF_REPORT_ALL_TAGGED
@ NCX_WITHDEF_REPORT_ALL_TAGGED
report-all-tagged
Definition: ncxtypes.h:1013
ncx_nmda_params_t_::config_filter
boolean config_filter
content filter (config or non-config)
Definition: ncxtypes.h:1383
NCX_CVTTYP_HTML
@ NCX_CVTTYP_HTML
netconfcentral WEB page format
Definition: ncxtypes.h:992
NCX_CVTTYP_YIN
@ NCX_CVTTYP_YIN
YIN format.
Definition: ncxtypes.h:998
NCX_NMDA_ORIGIN_SYSTEM
@ NCX_NMDA_ORIGIN_SYSTEM
system-set origin
Definition: ncxtypes.h:1352
NCX_AGT_TARG_NONE
@ NCX_AGT_TARG_NONE
not set
Definition: ncxtypes.h:353
ncx_bit_t_
one NCX_BT_BITS bit value
Definition: ncxtypes.h:602
NCX_IT_SLOCAL
@ NCX_IT_SLOCAL
scoped local member within the table
Definition: ncxtypes.h:260
ncx_identity_base_t_
YANG identity base.
Definition: ncxtypes.h:864
ncx_lmem_t_::flags
uint32 flags
flags to maintain list state
Definition: ncxtypes.h:637
ncx_str_t
xmlChar * ncx_str_t
string alias for data types:
Definition: ncxtypes.h:589
ncx_feature_t_::ref
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:812
NCX_ACCESS_NONE
@ NCX_ACCESS_NONE
enum not explicitly set
Definition: ncxtypes.h:175
ncx_enum_t_::dname
xmlChar * dname
malloced enum (value not checked)
Definition: ncxtypes.h:596
ncx_module_t_::allincQ
dlq_hdr_t allincQ
Q of yang_node_t to track all submodules.
Definition: ncxtypes.h:973
ncx_nmda_params_t_::origin_filter_negated
boolean origin_filter_negated
T: origin filter is negated.
Definition: ncxtypes.h:1377
NCX_AGT_TARG_CANDIDATE
@ NCX_AGT_TARG_CANDIDATE
target=candidate
Definition: ncxtypes.h:354
ncx_identity_cbfn_t
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:1257
ncx_iffeature_t_::expr_set
boolean expr_set
state variables used for YANG 1.1 if-feature-stmt parsing
Definition: ncxtypes.h:761
NCX_NO_WSP
@ NCX_NO_WSP
whitespace not allowed: unquoted string
Definition: ncxtypes.h:1090
ncx_import_t_::prefix
xmlChar * prefix
prefix used in import-stmt for module
Definition: ncxtypes.h:1036
ncx_module_t_::importQ
dlq_hdr_t importQ
Q of ncx_import_t.
Definition: ncxtypes.h:954
ncx_filptr_t_::get2cb
struct getcb_get2_t_ * get2cb
get2 control block in use
Definition: ncxtypes.h:836
ncx_dec64_t_
Decimal64 data type.
Definition: ncxtypes.h:557
NCX_CL_COMPLEX
@ NCX_CL_COMPLEX
a complex type
Definition: ncxtypes.h:246
NCX_SQUAL_META
@ NCX_SQUAL_META
search metadata
Definition: ncxtypes.h:317
ncx_module_t_::flags
uint32 flags
internal flags
Definition: ncxtypes.h:940
ncx_module_t_::revhistQ
dlq_hdr_t revhistQ
Q of ncx_revhist_t.
Definition: ncxtypes.h:953
ncx_typname_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1120
ncx_appinfo_t_::prefix
xmlChar * prefix
external prefix used
Definition: ncxtypes.h:675
ncx_module_t_::extensionQ
dlq_hdr_t extensionQ
Q of ext_template_t.
Definition: ncxtypes.h:959
ncx_feature_t_::status
ncx_status_t status
status-stmt
Definition: ncxtypes.h:815
NCX_NMDA_ORIGIN_NONE
@ NCX_NMDA_ORIGIN_NONE
not set
Definition: ncxtypes.h:1349
NCX_BT_INT64
@ NCX_BT_INT64
int64
Definition: ncxtypes.h:210
NCX_MSG_ENCODING_JSON
@ NCX_MSG_ENCODING_JSON
JSON message encoding.
Definition: ncxtypes.h:480
ncx_typname_t_
keep track of the typenames used for local typedefs only used by ncxdump to generate XSDs OBSOLETE: D...
Definition: ncxtypes.h:1119
NCX_CVTTYP_TG2
@ NCX_CVTTYP_TG2
turbogears2 (not supported)
Definition: ncxtypes.h:999
NCX_CFGID_CANDIDATE
@ NCX_CFGID_CANDIDATE
candidate datastore
Definition: ncxtypes.h:385
NCX_CFGID_STARTUP
@ NCX_CFGID_STARTUP
startup datastore
Definition: ncxtypes.h:386
NCX_NT_QNAME
@ NCX_NT_QNAME
xmlns_qname_t *, error only
Definition: ncxtypes.h:282
ncx_import_t_::usexsd
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1050
ncx_nmda_params_t_::origin_filterQ
dlq_hdr_t origin_filterQ
Q of ncx_nmda_origin_filter_t.
Definition: ncxtypes.h:1371
XP_AX_NAMESPACE
@ XP_AX_NAMESPACE
namespace axis (not allowed in YANG)
Definition: ncxtypes.h:504
NCX_MSGTYP_HELLO
@ NCX_MSGTYP_HELLO
RFC 4741 or 6241 <hello>
Definition: ncxtypes.h:411
ncx_identity_base_t_::basename
xmlChar * basename
base identity name
Definition: ncxtypes.h:868
NCX_CL_NONE
@ NCX_CL_NONE
not set
Definition: ncxtypes.h:243
NCX_BT_EMPTY
@ NCX_BT_EMPTY
empty
Definition: ncxtypes.h:205
ncx_dec64_t_::val
int64 val
adjusted number to fit in 64 bits
Definition: ncxtypes.h:558
NCX_BT_UINT16
@ NCX_BT_UINT16
uint16
Definition: ncxtypes.h:212
ncx_squal_t_
ncx_squal_t_
typdef search qualifier list (internal compiler modes)
Definition: ncxtypes.h:313
ncx_include_t_::submod
struct ncx_module_t_ * submod
found submodule for this include
Definition: ncxtypes.h:1073
NCX_DISPLAY_MODE_XML_NONS
@ NCX_DISPLAY_MODE_XML_NONS
XML display mode without any prefixes (not compliant XML!)
Definition: ncxtypes.h:463
NCX_DISPLAY_MODE_CLI
@ NCX_DISPLAY_MODE_CLI
yangcli-pro CLI mode
Definition: ncxtypes.h:469
NCX_XPATH_TYPE_NACM
@ NCX_XPATH_TYPE_NACM
NACM data rule.
Definition: ncxtypes.h:1023
NCX_MSGTYP_RPCRPY
@ NCX_MSGTYP_RPCRPY
RFC 4741 or 6241 <rpc-reply>
Definition: ncxtypes.h:413
ncx_btype_t_
ncx_btype_t_
enumeration of the built-in NCX types These types cannot be overridden and cannot be imported
Definition: ncxtypes.h:200
ncx_prefix_info_t_::nsid
xmlns_id_t nsid
namespace ID
Definition: ncxtypes.h:1457
ncx_errmsg_t_::res
status_t res
key
Definition: ncxtypes.h:1331
ncx_load_cbfn_t
void(* ncx_load_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is loaded into the system
Definition: ncxtypes.h:1139
ncx_import_t_::ref
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1045
NCX_NT_GRP
@ NCX_NT_GRP
grp_template_t
Definition: ncxtypes.h:275
ncx_opt_t_
ncx_opt_t_
enum for REQUIRED vs.
Definition: ncxtypes.h:1081
ncx_feature_t_::res
status_t res
may be stored with errors
Definition: ncxtypes.h:819
NCX_AGT_TARG_CAND_RUNNING
@ NCX_AGT_TARG_CAND_RUNNING
TBD.
Definition: ncxtypes.h:358
ncx_module_t_::prefix
xmlChar * prefix
module prefix
Definition: ncxtypes.h:927
NCX_BT_CONTAINER
@ NCX_BT_CONTAINER
internal container
Definition: ncxtypes.h:225
ncx_module_t_::warnings
uint32 warnings
yangdump results
Definition: ncxtypes.h:951
ncx_dec64_t_::digits
uint8 digits
number of decimal digits 1 .
Definition: ncxtypes.h:559
XP_AX_NONE
@ XP_AX_NONE
not set
Definition: ncxtypes.h:489
ncx_module_t_::langver
ncx_yang_version_t langver
YANG lang.
Definition: ncxtypes.h:939
ncx_errinfo_t_
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1097
NCX_CFGID_RUNNING
@ NCX_CFGID_RUNNING
running datastore (no value for not set!)
Definition: ncxtypes.h:384
NCX_BAD_REPLY_PRUNE
@ NCX_BAD_REPLY_PRUNE
prune failing node(s)
Definition: ncxtypes.h:1467
ncx_errinfo_t_::seen
boolean seen
for yangdiff
Definition: ncxtypes.h:1111
ncx_module_t_::incchainQ
dlq_hdr_t incchainQ
used if parent == NULL
Definition: ncxtypes.h:975
ncx_module_t_::datadefQ
dlq_hdr_t datadefQ
Q of obj_template_t.
Definition: ncxtypes.h:958
ncx_appinfo_t_::name
xmlChar * name
external statement name
Definition: ncxtypes.h:678
ncx_errinfo_t_::ref
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1104
NCX_BAD_DATA_NONE
@ NCX_BAD_DATA_NONE
not set
Definition: ncxtypes.h:430
NCX_MSG_ENCODING_NONE
@ NCX_MSG_ENCODING_NONE
not set
Definition: ncxtypes.h:474
ncx_iffeature_t_::expr_skipmode
boolean expr_skipmode
internal optimization flag
Definition: ncxtypes.h:763
ncx_num_t_
union of all the basic number types if float not supported, then it is stored as an int64
Definition: ncxtypes.h:567
ncx_include_t_::ref
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1070
NCX_NT_INDEX
@ NCX_NT_INDEX
obj_key_t *, error only
Definition: ncxtypes.h:281
ncx_feature_t_::iffeatureQ
dlq_hdr_t iffeatureQ
Q of ncx_iffeature_t.
Definition: ncxtypes.h:817
ncx_iffeature_t_::prefix
xmlChar * prefix
the prefix used in the if-feature stmt
Definition: ncxtypes.h:741
ncx_iffeature_t_::feature
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:747
NCX_STATUS_CURRENT
@ NCX_STATUS_CURRENT
current (default)
Definition: ncxtypes.h:420
NCX_SHUT_RESTART
@ NCX_SHUT_RESTART
called from <restart>
Definition: ncxtypes.h:375
NCX_MSGTYP_RPCREQ
@ NCX_MSGTYP_RPCREQ
RFC 4741 or 6241 <rpc>
Definition: ncxtypes.h:412
NCX_LAYER_TRANSPORT
@ NCX_LAYER_TRANSPORT
transport layer
Definition: ncxtypes.h:344
NCX_SQUAL_NONE
@ NCX_SQUAL_NONE
not set
Definition: ncxtypes.h:314
ncx_module_t_::belongs
xmlChar * belongs
set if submod
Definition: ncxtypes.h:932
ncx_data_class_t_
ncx_data_class_t_
NCX Persistence Control.
Definition: ncxtypes.h:190
val_value_t_
one value to match one type
Definition: val.h:860
ncx_protocol_t_
ncx_protocol_t_
NCX session protocol versions supported.
Definition: ncxtypes.h:781
NCX_PROTO_YCONTROL
@ NCX_PROTO_YCONTROL
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:787
NCX_AGT_START_MIRROR
@ NCX_AGT_START_MIRROR
with-startup=false
Definition: ncxtypes.h:365
ncx_save_deviations_t_
used with obj_deviation_t to defer object lookups
Definition: ncxtypes.h:1212
NCX_XPATH_TYPE_WHEN
@ NCX_XPATH_TYPE_WHEN
when-stmt
Definition: ncxtypes.h:1022
NCX_CVTTYP_SQL
@ NCX_CVTTYP_SQL
SQL format (not supported)
Definition: ncxtypes.h:990
NCX_LEAFREF_CLASS_KEY
@ 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:1288
ncx_typname_t_::typname
const xmlChar * typname
typename
Definition: ncxtypes.h:1122
NCX_XPATH_TYPE_NONE
@ NCX_XPATH_TYPE_NONE
not set
Definition: ncxtypes.h:1020
ncx_errinfo_t_::error_app_tag
xmlChar * error_app_tag
error-app-tag field
Definition: ncxtypes.h:1107
ncx_strtyp_t_
ncx_strtyp_t_
enum for WHITESPACE ALLOWED vs.
Definition: ncxtypes.h:1088
ncx_appinfo_t_::ext
struct ext_template_t_ * ext
YANG extension found to match this external stmt.
Definition: ncxtypes.h:684
NCX_IT_SREMOTE
@ NCX_IT_SREMOTE
scoped remote name
Definition: ncxtypes.h:262
NCX_DC_STATE
@ NCX_DC_STATE
state or statistics
Definition: ncxtypes.h:193
ncx_include_t_
One 'include' clause, YANG only.
Definition: ncxtypes.h:1059
NCX_SES_EVENT_START
@ NCX_SES_EVENT_START
session started event
Definition: ncxtypes.h:1411
NCX_BT_UNION
@ NCX_BT_UNION
union (needs special processing)
Definition: ncxtypes.h:220
ncx_identity_t_::name
xmlChar * name
identity name
Definition: ncxtypes.h:876
ncx_filptr_t_::filnode
struct val_value_t_ * filnode
read-only backptr
Definition: ncxtypes.h:833
ncx_iff_ref_t_
YANG 1.1 identifier-ref-arg that within an if-feature expression.
Definition: ncxtypes.h:720
ncx_lmem_t_::val_::str
ncx_str_t str
list member is a string
Definition: ncxtypes.h:624
NCX_NMDA_ORIGIN_DYNAMIC
@ NCX_NMDA_ORIGIN_DYNAMIC
dynamic origin
Definition: ncxtypes.h:1351
ncx_iff_ref_t_::prefix
xmlChar * prefix
prefix used in if-feature
Definition: ncxtypes.h:725
obj_template_t_::mod
struct ncx_module_t_ * mod
object module and namespace ID assigned at runtime this can be changed over and over as a uses statem...
Definition: obj.h:1115
ncx_include_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1060
NCX_IFMT_C
@ NCX_IFMT_C
C format.
Definition: ncxtypes.h:398
ncx_filptr_t_::useval
struct val_value_t_ * useval
parent node of objnode
Definition: ncxtypes.h:835
NCX_IT_LOCAL
@ NCX_IT_LOCAL
local member within the table
Definition: ncxtypes.h:259
XP_AX_PRECEDING
@ XP_AX_PRECEDING
preceding axis (not allowed in YANG)
Definition: ncxtypes.h:510
ncx_module_t_
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:900
ncx_appinfo_t_::appinfoQ
dlq_hdr_t * appinfoQ
nested external statements within this one
Definition: ncxtypes.h:687
NCX_ACCESS_RO
@ NCX_ACCESS_RO
read-only
Definition: ncxtypes.h:176
ncx_iff_ref_t_::feature
struct ncx_feature_t_ * feature
backptr to found feature
Definition: ncxtypes.h:731
ncx_module_t_::dev_module
boolean dev_module
T: deviation; F: normal.
Definition: ncxtypes.h:947
NCX_AGT_START_DISTINCT
@ NCX_AGT_START_DISTINCT
with-startup=true
Definition: ncxtypes.h:366
NCX_MSGTYP_NOTIF
@ NCX_MSGTYP_NOTIF
RFC 5277 <notification>
Definition: ncxtypes.h:414
ncx_appinfo_t_::tkerr
ncx_error_t tkerr
file and line info for the compiler
Definition: ncxtypes.h:693
ncx_module_t_::ref
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:921
ncx_feature_cbfn_t
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:1193
ncx_module_t_::appinfoQ
dlq_hdr_t appinfoQ
Q of ncx_appinfo_t.
Definition: ncxtypes.h:963
NCX_MODFORMAT_RNC
@ NCX_MODFORMAT_RNC
RelaxNG compact (not supported)
Definition: ncxtypes.h:1207
ncx_snmp_agt_role_t_
ncx_snmp_agt_role_t_
enum to identify the SNMP agent native mode
Definition: ncxtypes.h:1313
NCX_BT_ANY
@ NCX_BT_ANY
anyxml
Definition: ncxtypes.h:202
ncx_backptr_t_::node
void * node
const or plain malloced data pointer
Definition: ncxtypes.h:1239
NCX_DISPLAY_MODE_PREFIX
@ NCX_DISPLAY_MODE_PREFIX
plain CLI display mode with YANG prefixes added to nodes
Definition: ncxtypes.h:454
NCX_BT_SLIST
@ NCX_BT_SLIST
ncx:xsdlist extension (internal, deprecated)
Definition: ncxtypes.h:223
ncx_module_t_::xmlprefix
xmlChar * xmlprefix
assigned prefix (may be different than YANG prefix)
Definition: ncxtypes.h:930
NCX_NT_OBJ
@ NCX_NT_OBJ
obj_template_t
Definition: ncxtypes.h:277
NCX_NT_ERRINFO
@ NCX_NT_ERRINFO
ncx_errinfo_t, error only
Definition: ncxtypes.h:278
NCX_SQUAL_APPINFO
@ NCX_SQUAL_APPINFO
search appinfo
Definition: ncxtypes.h:318
XP_AX_CHILD
@ XP_AX_CHILD
child axis (default)
Definition: ncxtypes.h:493
NCX_ACCESS_RW
@ NCX_ACCESS_RW
read-write (create/delete not allowed)
Definition: ncxtypes.h:177
ncx_import_t_::force_yuma_nc
boolean force_yuma_nc
HACK: TRUE if yuma-nc replacing ietf-nc.
Definition: ncxtypes.h:1051
ncx_enum_t_::val
int32 val
YANG value-stmt or implied value.
Definition: ncxtypes.h:597
ncx_backptr_t_
used with various structs to cache back-ptrs the 'node' pointer may or may not be malloced!...
Definition: ncxtypes.h:1237
ncx_filptr_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:831
ncx_module_t_::sourcefn
const xmlChar * sourcefn
ptr to fn in source
Definition: ncxtypes.h:935
NCX_CVTTYP_YH
@ NCX_CVTTYP_YH
split y_foo.h file
Definition: ncxtypes.h:1000
ncx_feature_t_::tkerr
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:822
NCX_DISPLAY_MODE_PLAIN
@ NCX_DISPLAY_MODE_PLAIN
plain CLI display mode
Definition: ncxtypes.h:451
ncx_module_t_::name
xmlChar * name
module name
Definition: ncxtypes.h:902
NCX_SHUT_NONE
@ NCX_SHUT_NONE
not set
Definition: ncxtypes.h:372
NCX_BAD_REPLY_NONE
@ NCX_BAD_REPLY_NONE
not set
Definition: ncxtypes.h:1465
ncx_save_deviations_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1213
ncx_identity_t_::iffeatureQ
dlq_hdr_t iffeatureQ
Q if ncx_iffeature_t structs.
Definition: ncxtypes.h:889
ncx_module_t_::added
boolean added
T: don't free on err.
Definition: ncxtypes.h:943
ncx_origin_filter_t_::origin
ncx_nmda_origin_t origin
origin filter
Definition: ncxtypes.h:1362
ncx_identity_t_::childQ
dlq_hdr_t childQ
Q of ncx_idlink_t.
Definition: ncxtypes.h:887
NCX_CC_EVENT_EXTEND
@ NCX_CC_EVENT_EXTEND
extend event
Definition: ncxtypes.h:1227
ncx_module_t_::parentmod
struct ncx_module_t_ * parentmod
backptr set if submod
Definition: ncxtypes.h:933
NCX_BAD_DATA_WARN
@ NCX_BAD_DATA_WARN
NCX_BAD_DATA_WARN to warn and accept invalid input values.
Definition: ncxtypes.h:436
ncx_include_t_::revision
xmlChar * revision
revision date for include-by-revision
Definition: ncxtypes.h:1064
ncx_result_format_t
ncx_result_format_t
specify the requested result format type
Definition: ncxtypes.h:539
NCX_NMDA_DS_OPERATIONAL
@ NCX_NMDA_DS_OPERATIONAL
operational datastore
Definition: ncxtypes.h:1343
ncx_feature_t_::feature_flags
uint8 feature_flags
internal flags for YANG 1.1 processing
Definition: ncxtypes.h:824
ncx_identity_t_::descr
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:879
NCX_SQUAL_VAL
@ NCX_SQUAL_VAL
search values
Definition: ncxtypes.h:316
NCX_CL_BASE
@ NCX_CL_BASE
a built-in base type
Definition: ncxtypes.h:244
ext_template_t_
One YANG 'extension' definition – language extension template.
Definition: ext.h:130
NCX_IFMT_NONE
@ NCX_IFMT_NONE
not set
Definition: ncxtypes.h:397
ncx_include_t_::usexsd
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1074
ncx_include_t_::submodule
xmlChar * submodule
submodule name to include
Definition: ncxtypes.h:1061
ncx_module_t_::defaultrev
boolean defaultrev
T: use for default ver.
Definition: ncxtypes.h:945
ncx_list_t_::memQ
dlq_hdr_t memQ
Q of ncx_lmem_t.
Definition: ncxtypes.h:644
NCX_NMDA_ORIGIN_INTENDED
@ NCX_NMDA_ORIGIN_INTENDED
intended origin
Definition: ncxtypes.h:1350
NCX_MERGE_LAST
@ NCX_MERGE_LAST
merge last
Definition: ncxtypes.h:307
typ_template_t_
One YANG 'typedef' definition – top-level type template.
Definition: typ.h:477
NCX_NMDA_ORIGIN_DEFAULT
@ NCX_NMDA_ORIGIN_DEFAULT
set by default origin
Definition: ncxtypes.h:1354
NCX_SNMP_AGT_ROLE_NONE
@ NCX_SNMP_AGT_ROLE_NONE
not set
Definition: ncxtypes.h:1314
NCX_SR_BIT
@ NCX_SR_BIT
bits restriction
Definition: ncxtypes.h:327
ncx_bit_t_::pos
uint32 pos
position value or implied position
Definition: ncxtypes.h:605
ncx_module_t_::featureQ
dlq_hdr_t featureQ
Q of ncx_feature_t.
Definition: ncxtypes.h:961
NCX_NMDA_DS_CANDIDATE
@ NCX_NMDA_DS_CANDIDATE
candidate datastore
Definition: ncxtypes.h:1339
NCX_CVTTYP_YC
@ NCX_CVTTYP_YC
split y_foo.c file
Definition: ncxtypes.h:1001
NCX_NT_REVISION_CB
@ NCX_NT_REVISION_CB
ncx_revhist_t
Definition: ncxtypes.h:286
ncx_xpath_type_t_
ncx_xpath_type_t_
enumeration for different XPath back pointer types
Definition: ncxtypes.h:1019
ncx_module_t_::unload_active
boolean unload_active
T: unload in progress.
Definition: ncxtypes.h:981
NCX_SES_EVENT_NONE
@ NCX_SES_EVENT_NONE
not set
Definition: ncxtypes.h:1410
ncx_identity_base_t_::base
struct ncx_identity_t_ * base
back-ptr to base id
Definition: ncxtypes.h:866
NCX_BT_BITS
@ NCX_BT_BITS
bits
Definition: ncxtypes.h:203
ncx_nmda_origin_t_
ncx_nmda_origin_t_
internal enumerations for standard NMDA origins
Definition: ncxtypes.h:1348
NCX_NT_VAL
@ NCX_NT_VAL
val_value_t
Definition: ncxtypes.h:276
NCX_BT_FLOAT64
@ NCX_BT_FLOAT64
hidden: just for XPath
Definition: ncxtypes.h:216
ncx_prefix_info_t_::prefix
const xmlChar * prefix
backptr to token inside xpath pcb
Definition: ncxtypes.h:1456
NCX_BT_UINT32
@ NCX_BT_UINT32
uint32
Definition: ncxtypes.h:213
ncx_module_t_::status
status_t status
module parse result
Definition: ncxtypes.h:949
NCX_STATUS_OBSOLETE
@ NCX_STATUS_OBSOLETE
obsolete removed from tree
Definition: ncxtypes.h:422
ncx_ses_event_t_
ncx_ses_event_t_
internal enumerations for session event types
Definition: ncxtypes.h:1409
ncx_include_t_::tkerr
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1076
NCX_NT_NONE
@ NCX_NT_NONE
not set
Definition: ncxtypes.h:273
ncx_module_t_::unloadable
boolean unloadable
T: unload allowed.
Definition: ncxtypes.h:980
ncx_identity_t_::modname
const xmlChar * modname
backptr into module
Definition: ncxtypes.h:884
XP_AX_FOLLOWING_SIBLING
@ XP_AX_FOLLOWING_SIBLING
following-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:501
ncx_error_t_::linenum
uint32 linenum
line number
Definition: ncxtypes.h:662
ncx_feature_t_
YANG feature entry.
Definition: ncxtypes.h:801
ncx_error_t_::linepos
uint32 linepos
line position
Definition: ncxtypes.h:663
NCX_AGT_TARG_REMOTE
@ NCX_AGT_TARG_REMOTE
TBD.
Definition: ncxtypes.h:357
NCX_NMDA_DS_NONE
@ NCX_NMDA_DS_NONE
not set
Definition: ncxtypes.h:1338
NCX_STATUS_NONE
@ NCX_STATUS_NONE
not set
Definition: ncxtypes.h:419
ncx_revhist_t_::descr
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:706
ncx_module_t_::belongsver
const xmlChar * belongsver
back ptr to mod ver
Definition: ncxtypes.h:936
ncx_unload_cbfn_t
void(* ncx_unload_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is unloaded from the system
Definition: ncxtypes.h:1153
NCX_CC_EVENT_NONE
@ NCX_CC_EVENT_NONE
not set
Definition: ncxtypes.h:1223
NCX_MATCH_NONE
@ NCX_MATCH_NONE
not set
Definition: ncxtypes.h:522
ncx_enum_t_
one NCX_BT_ENUM enumeration value (user may enter 1 of 3 forms)
Definition: ncxtypes.h:594
NCX_IQUAL_OPT
@ NCX_IQUAL_OPT
'?' == 0 or 1
Definition: ncxtypes.h:298
XP_AX_SELF
@ XP_AX_SELF
self axis
Definition: ncxtypes.h:516
ncx_modformat_t_
ncx_modformat_t_
enum for get-schema format type enum values matches the schema-format identities in RFC 6022
Definition: ncxtypes.h:1201
ncx_iffeature_t_::expr_logerrors
boolean expr_logerrors
true if logging errors; F: silent
Definition: ncxtypes.h:764
ncx_appinfo_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:672
NCX_LAYER_CONTENT
@ NCX_LAYER_CONTENT
application layer
Definition: ncxtypes.h:347
ncx_module_t_::identityQ
dlq_hdr_t identityQ
Q of ncx_identity_t.
Definition: ncxtypes.h:962
ncx_nmda_params_t_
internal NMDA get-data state parameters; rest of parameter are stored directly in the xml_msg_hdr_t u...
Definition: ncxtypes.h:1369
NCX_BAD_REPLY_ERROR
@ NCX_BAD_REPLY_ERROR
report Error and stop parse
Definition: ncxtypes.h:1468
NCX_BAD_REPLY_ADAPT
@ NCX_BAD_REPLY_ADAPT
default; adapt node
Definition: ncxtypes.h:1466
NCX_CVTTYP_NONE
@ NCX_CVTTYP_NONE
not set
Definition: ncxtypes.h:988
ncx_filptr_t_::node
struct val_value_t_ * node
read-only backptr
Definition: ncxtypes.h:832
ncx_error_t_
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information
Definition: ncxtypes.h:660
ncx_module_t_::defaults_added
boolean defaults_added
agt: for mod load
Definition: ncxtypes.h:946
XP_AX_ANCESTOR
@ XP_AX_ANCESTOR
ancestor axis
Definition: ncxtypes.h:490
XP_AX_DESCENDANT
@ XP_AX_DESCENDANT
descendant axis
Definition: ncxtypes.h:494
ncx_nmda_ds_t_
ncx_nmda_ds_t_
internal enumerations for standard NMDA datastores
Definition: ncxtypes.h:1337
NCX_MATCH_ONE_NOCASE
@ NCX_MATCH_ONE_NOCASE
match all chars case-insensitive if only 1 match
Definition: ncxtypes.h:528
ncx_module_t_::deviationQ
dlq_hdr_t deviationQ
Q of obj_deviation_t.
Definition: ncxtypes.h:960
ncx_iqual_t_
ncx_iqual_t_
The instance qualifier types are borrowed from ABNF and RelaxNG.
Definition: ncxtypes.h:295
NCX_NT_UINT32_PTR
@ NCX_NT_UINT32_PTR
session ID, error only
Definition: ncxtypes.h:283
NCX_PROTO_NONE
@ NCX_PROTO_NONE
not set
Definition: ncxtypes.h:782
NCX_SQUAL_RANGE
@ NCX_SQUAL_RANGE
search range
Definition: ncxtypes.h:315
NCX_SHUT_RELOAD
@ NCX_SHUT_RELOAD
kill -10 SIGUSR1
Definition: ncxtypes.h:374
ncx_module_t_::typeQ
dlq_hdr_t typeQ
Q of typ_template_t.
Definition: ncxtypes.h:956
ncx_lmem_t_::val_::enu
ncx_enum_t enu
list member is a enum
Definition: ncxtypes.h:627
NCX_STATUS_DEPRECATED
@ NCX_STATUS_DEPRECATED
deprecated (treated as current
Definition: ncxtypes.h:421
ncx_prefix_info_t_
gather the prefix/nsid bindings used in an XPath string needed to generate the correct xmlns directiv...
Definition: ncxtypes.h:1455
ncx_display_mode_t_
ncx_display_mode_t_
enumeration of val_dump_value display modes
Definition: ncxtypes.h:447
ncx_tclass_t_
ncx_tclass_t_
Enumeration of the basic value type classifications.
Definition: ncxtypes.h:242
NCX_NMDA_DS_STARTUP
@ NCX_NMDA_DS_STARTUP
startup datastore
Definition: ncxtypes.h:1341
NCX_REQ
@ NCX_REQ
clause is required
Definition: ncxtypes.h:1082
ncx_lmem_t_::val_
union of various data structures to represent different base types
Definition: ncxtypes.h:619
ncx_identity_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:874
ncx_iffeature_t_
YANG if-feature entry.
Definition: ncxtypes.h:736
NCX_DISPLAY_MODE_MODULE
@ NCX_DISPLAY_MODE_MODULE
plain CLI display mode with YANG module names added to nodes
Definition: ncxtypes.h:457
NCX_MSG_ENCODING_CBOR
@ NCX_MSG_ENCODING_CBOR
CBOR not used yet.
Definition: ncxtypes.h:483
NCX_OPT
@ NCX_OPT
clause is optional
Definition: ncxtypes.h:1083
NCX_RF_TEXT
@ NCX_RF_TEXT
text result
Definition: ncxtypes.h:541
ncx_identity_t_::nsid
xmlns_id_t nsid
from mod containing identity
Definition: ncxtypes.h:885
NCX_SNMP_AGT_ROLE_MASTER
@ NCX_SNMP_AGT_ROLE_MASTER
SNMP master server role.
Definition: ncxtypes.h:1315
ncx_identity_t_::idlink
ncx_idlink_t idlink
internal id link
Definition: ncxtypes.h:893
ncx_bit_t_::name
const xmlChar * name
bptr to typ_enum_t.name or this.dname
Definition: ncxtypes.h:603
ncx_bad_reply_enum_t_
ncx_bad_reply_enum_t_
enumeration for CLI handling of bad nodes from RPC reply Controls the behavior of the MGR XML parser
Definition: ncxtypes.h:1464
NCX_IFMT_CLI2
@ NCX_IFMT_CLI2
CLI syntax used in yangcli config mode.
Definition: ncxtypes.h:402
NCX_BT_EXTERN
@ NCX_BT_EXTERN
not a real type, points fo file for contents
Definition: ncxtypes.h:230
ncx_num_t_::d
int64 d
NCX_BT_DOUBLE.
Definition: ncxtypes.h:576
ncx_identity_base_t_::baseprefix
xmlChar * baseprefix
base identity prefix
Definition: ncxtypes.h:867
NCX_NMDA_DS_RUNNING
@ NCX_NMDA_DS_RUNNING
running datastore
Definition: ncxtypes.h:1340
NCX_IFMT_YANGAPI
@ NCX_IFMT_YANGAPI
YANG-API URI with list1/key1/key2.
Definition: ncxtypes.h:403
NCX_NMDA_ORIGIN_UNKNOWN
@ NCX_NMDA_ORIGIN_UNKNOWN
unknown origin
Definition: ncxtypes.h:1355
ncx_revhist_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:700
ncx_module_t_::stmtQ
dlq_hdr_t stmtQ
Q of yang_stmt_t.
Definition: ncxtypes.h:967
ncx_nmda_params_t_::origin_filter_set
boolean origin_filter_set
T: origin filter is being used.
Definition: ncxtypes.h:1374
ncx_iffeature_t_::expr_tkc
struct tk_chain_t_ * expr_tkc
the token control block contains the re-parsed string and used to evaluate expression logic
Definition: ncxtypes.h:752
ncx_origin_filter_t_
internal NMDA origin filter (negate field stored separately)
Definition: ncxtypes.h:1360
NCX_CVTTYP_XSD
@ NCX_CVTTYP_XSD
XSD format (obsolete)
Definition: ncxtypes.h:989
ncx_yang_version_t_
ncx_yang_version_t_
enumeration for different YANG language versions
Definition: ncxtypes.h:793
ncx_lmem_t_::val_::num
ncx_num_t num
list member is a number
Definition: ncxtypes.h:621
ncx_nmda_filtyp_t_
ncx_nmda_filtyp_t_
internal enumerations for NMDA filter types used in the /filters container NCX_NMDA_FILTYP_STREAM == ...
Definition: ncxtypes.h:1401
NCX_FEATURE_CODE_DYNAMIC
@ NCX_FEATURE_CODE_DYNAMIC
run-time if-feature code
Definition: ncxtypes.h:776
ncx_indextyp_t_
ncx_indextyp_t_
Enumeration of the different types of index components YANG ONLY SUPPORTS NCX_IT_LOCAL.
Definition: ncxtypes.h:255
ncx_save_deviations_t_::annotation
boolean annotation
T: annotation, F:deviation.
Definition: ncxtypes.h:1215
ncx_module_t_::source
xmlChar * source
full filespec
Definition: ncxtypes.h:931
NCX_DC_NONE
@ NCX_DC_NONE
not set
Definition: ncxtypes.h:191
ncx_identity_t_::feature_flags
uint8 feature_flags
internal YANG 1.1 flags
Definition: ncxtypes.h:890
NCX_IT_NAMED
@ NCX_IT_NAMED
index named type declared inline
Definition: ncxtypes.h:258
ncx_backptr_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1238
ncx_status_t_
ncx_status_t_
enumeration for different YANG data-def status values
Definition: ncxtypes.h:418
NCX_WSP
@ NCX_WSP
whitespace allowed: quoted string
Definition: ncxtypes.h:1089
ncx_feature_t_::name
xmlChar * name
feature name
Definition: ncxtypes.h:806
NCX_IFMT_XPATH2
@ NCX_IFMT_XPATH2
double-quote Xpath for error-path
Definition: ncxtypes.h:400
XP_AX_DESCENDANT_OR_SELF
@ XP_AX_DESCENDANT_OR_SELF
descendant-or-self axis
Definition: ncxtypes.h:495
NCX_CL_NAMED
@ NCX_CL_NAMED
a restriction of a named type
Definition: ncxtypes.h:247
ncx_cfg_t_
ncx_cfg_t_
hardwire the 3 standard configs
Definition: ncxtypes.h:383
ncx_typname_t_::typname_malloc
xmlChar * typname_malloc
replaced type name
Definition: ncxtypes.h:1123
NCX_NMDA_ORIGIN_LEARNED
@ NCX_NMDA_ORIGIN_LEARNED
learned origin
Definition: ncxtypes.h:1353
NCX_IFMT_CLI
@ NCX_IFMT_CLI
CLI syntax used in val_dump_value.
Definition: ncxtypes.h:401
NCX_CFG_STATE_INIT
@ NCX_CFG_STATE_INIT
initialization phase
Definition: ncxtypes.h:1419
ncx_feature_t_::enabled
boolean enabled
feature is enabled
Definition: ncxtypes.h:820
NCX_BT_DECIMAL64
@ NCX_BT_DECIMAL64
decimal64
Definition: ncxtypes.h:215
ncx_import_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1030
NCX_BT_CHOICE
@ NCX_BT_CHOICE
internal choice, not really used
Definition: ncxtypes.h:226
ncx_lmem_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:614
NCX_BT_STRING
@ NCX_BT_STRING
string
Definition: ncxtypes.h:217
ncx_filptr_t_::objnode
struct obj_template_t_ * objnode
get2 for complex node
Definition: ncxtypes.h:834
ncx_import_t_::descr
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1042
NCX_LEAFREF_CLASS_LOCAL
@ NCX_LEAFREF_CLASS_LOCAL
the object class will have the same result for any instance of a specific object node (static,...
Definition: ncxtypes.h:1299
ncx_confirm_event_t_
ncx_confirm_event_t_
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well
Definition: ncxtypes.h:1222
ncx_nmda_params_t_::cfg_ds
ncx_cfg_t cfg_ds
internal config ID to use
Definition: ncxtypes.h:1392
ncx_agtstart_t_
ncx_agtstart_t_
enum to identify the agent native startup mode
Definition: ncxtypes.h:363
ncx_module_t_::nsid
xmlns_id_t nsid
assigned by xmlns
Definition: ncxtypes.h:938
ncx_feature_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:803
NCX_SNMP_AGT_ROLE_SUBAGENT
@ NCX_SNMP_AGT_ROLE_SUBAGENT
SNMP sub-agent role.
Definition: ncxtypes.h:1316
NCX_BT_INT8
@ NCX_BT_INT8
int8
Definition: ncxtypes.h:207
ncx_feature_t_::seen
boolean seen
for yangdiff
Definition: ncxtypes.h:823
ncx_errmsg_t_::errmsg
const xmlChar * errmsg
backptr to CLI param value string
Definition: ncxtypes.h:1332
ncx_lmem_t_::val_::bit
ncx_bit_t bit
list member is a bit
Definition: ncxtypes.h:630
NCX_DISPLAY_MODE_JSON
@ NCX_DISPLAY_MODE_JSON
JSON (RFC 7951 format)
Definition: ncxtypes.h:466
xmlns.h
XML namespace support.
NCX_PROTO_NETCONF10
@ NCX_PROTO_NETCONF10
RFC 4741 base:1.0
Definition: ncxtypes.h:783
NCX_BT_NONE
@ NCX_BT_NONE
base type not set
Definition: ncxtypes.h:201
NCX_WITHDEF_EXPLICIT
@ NCX_WITHDEF_EXPLICIT
explicit
Definition: ncxtypes.h:1015
ncx_filptr_t_
struct for holding r/o pointer to generic internal node for filtering purposes
Definition: ncxtypes.h:830
NCX_DISPLAY_MODE_XML
@ NCX_DISPLAY_MODE_XML
XML display mode.
Definition: ncxtypes.h:460
dlq.h
dlq provides general double-linked list and queue support:
ncx_module_t_::ns
xmlChar * ns
namespace URI
Definition: ncxtypes.h:924
ncx_layer_t_
ncx_layer_t_
Enumeration of NETCONF protocol layers.
Definition: ncxtypes.h:342
NCX_CVTTYP_UC
@ NCX_CVTTYP_UC
split u_foo.c file
Definition: ncxtypes.h:1003
ncx_import_t_::mod
ncx_module_t * mod
found module for this import
Definition: ncxtypes.h:1048
ncx_include_t_::appinfoQ
dlq_hdr_t appinfoQ
saved external stmts in this include
Definition: ncxtypes.h:1075
ncx_iff_ref_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:722
getcb_get2_t_
GET2 control block.
Definition: getcb.h:339
NCX_NT_TYPDEF_CB
@ NCX_NT_TYPDEF_CB
typ_def_t
Definition: ncxtypes.h:290
ncx_list_t_::btyp
ncx_btype_t btyp
base type of each member
Definition: ncxtypes.h:643
NCX_BT_INT16
@ NCX_BT_INT16
int16
Definition: ncxtypes.h:208
obj_template_t_
One YANG data-def-stmt.
Definition: obj.h:1056
ncx_transaction_id_t
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:548
NCX_CVTTYP_H
@ NCX_CVTTYP_H
SIL or SIL-SA H file.
Definition: ncxtypes.h:995
ncx_errinfo_t_::qhdr
dlq_hdr_t qhdr
queue header
Definition: ncxtypes.h:1098
ncx_module_t_::includeQ
dlq_hdr_t includeQ
Q of ncx_include_t.
Definition: ncxtypes.h:955
ncx_binary_t_::ubufflen
uint32 ubufflen
binary buffer len
Definition: ncxtypes.h:651