yumapro  21.10-3
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 
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
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_ {
622 
625 
628 
631 
633  boolean boo;
634  } val;
635 
637  uint32 flags;
638 } YPACK ncx_lmem_t;
639 
640 
642 typedef struct ncx_list_t_ {
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 
684  struct ext_template_t_ *ext;
685 
687  dlq_hdr_t *appinfoQ;
688 
690  boolean isclone;
691 
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 
713 
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 
731  struct ncx_feature_t_ *feature;
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;
747  struct ncx_feature_t_ *feature;
752  struct tk_chain_t_ *expr_tkc;
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;
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 
816 
817  dlq_hdr_t iffeatureQ;
818  dlq_hdr_t appinfoQ;
820  boolean enabled;
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;
833  struct val_value_t_ *filnode;
834  struct obj_template_t_ *objnode;
835  struct val_value_t_ *useval;
836  struct getcb_get2_t_ *get2cb;
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;
858  struct ncx_identity_t_ *identity;
859  boolean inq;
860 } YPACK ncx_idlink_t;
861 
862 
864 typedef struct ncx_identity_base_t_ {
865  dlq_hdr_t qhdr;
866  struct ncx_identity_t_ *base;
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;
887  dlq_hdr_t childQ;
888  dlq_hdr_t appinfoQ;
889  dlq_hdr_t iffeatureQ;
892  boolean isroot;
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;
933  struct ncx_module_t_ *parentmod;
935  const xmlChar *sourcefn;
936  const xmlChar *belongsver;
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;
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;
970  struct ncx_module_t_ *parent;
973  dlq_hdr_t allincQ;
975  dlq_hdr_t incchainQ;
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_ {
1026 } YPACK ncx_xpath_type_t;
1027 
1028 
1030 typedef struct ncx_import_t_ {
1031  dlq_hdr_t qhdr;
1034  xmlChar *module;
1035 
1037  xmlChar *prefix;
1038 
1040  xmlChar *revision;
1041 
1043  xmlChar *descr;
1044 
1046  xmlChar *ref;
1047 
1050  boolean used;
1051  boolean usexsd;
1052  boolean force_yuma_nc;
1053  dlq_hdr_t appinfoQ;
1056 } YPACK ncx_import_t;
1057 
1058 
1060 typedef struct ncx_include_t_ {
1061  dlq_hdr_t qhdr;
1062  xmlChar *submodule;
1065  xmlChar *revision;
1066 
1068  xmlChar *descr;
1069 
1071  xmlChar *ref;
1072 
1074  struct ncx_module_t_ *submod;
1075  boolean usexsd;
1076  dlq_hdr_t appinfoQ;
1078 } YPACK ncx_include_t;
1079 
1080 
1082 typedef enum ncx_opt_t_ {
1085 } YPACK ncx_opt_t;
1086 
1087 
1089 typedef enum ncx_strtyp_t_ {
1092 } YPACK ncx_strtyp_t;
1093 
1094 
1098 typedef struct ncx_errinfo_t_ {
1099  dlq_hdr_t qhdr;
1102  xmlChar *descr;
1103 
1105  xmlChar *ref;
1106 
1108  xmlChar *error_app_tag;
1109 
1111  xmlChar *error_message;
1112  boolean seen;
1113 } YPACK ncx_errinfo_t;
1114 
1115 
1120 typedef struct ncx_typname_t_ {
1121  dlq_hdr_t qhdr;
1122  struct typ_template_t_ *typ;
1123  const xmlChar *typname;
1124  xmlChar *typname_malloc;
1125 } YPACK ncx_typname_t;
1126 
1127 
1140 typedef void (*ncx_load_cbfn_t) (ncx_module_t *mod);
1141 
1142 
1154 typedef void (*ncx_unload_cbfn_t) (ncx_module_t *mod);
1155 
1156 
1173 typedef void
1175  struct obj_template_t_ *obj);
1176 
1177 
1194 typedef boolean (*ncx_feature_cbfn_t) (const ncx_module_t *mod,
1195  ncx_feature_t *feature,
1196  void *cookie);
1197 
1198 
1202 typedef enum ncx_modformat_t_ {
1209 } YPACK ncx_modformat_t;
1210 
1211 
1213 typedef struct ncx_save_deviations_t_ {
1214  dlq_hdr_t qhdr;
1215  struct ncx_module_t_ *devmod;
1216  boolean annotation;
1217 } YPACK ncx_save_deviations_t;
1218 
1219 
1223 typedef enum ncx_confirm_event_t_ {
1230 } YPACK ncx_confirm_event_t;
1231 
1232 
1238 typedef struct ncx_backptr_t_ {
1239  dlq_hdr_t qhdr;
1240  void *node;
1241 } YPACK ncx_backptr_t;
1242 
1243 
1258 typedef boolean (*ncx_identity_cbfn_t) (ncx_identity_t *identity,
1259  void *cookie);
1260 
1262 typedef uint8 ncx_owner_id_t;
1263 
1264 
1272 typedef const xmlChar *
1273  (*ncx_get_owner_fn_t) (ncx_owner_id_t owner_id);
1274 
1275 
1279 typedef enum ncx_leafref_class_t_ {
1280  NCX_LEAFREF_CLASS_NONE,
1281 
1290 
1295 
1301 
1309 
1310 } YPACK ncx_leafref_class_t;
1311 
1312 
1314 typedef enum ncx_snmp_agt_role_t_ {
1318 } YPACK ncx_snmp_agt_role_t;
1319 
1320 
1322 typedef struct ncx_modcache_t_ {
1323  dlq_hdr_t qhdr;
1324  const xmlChar *modname;
1325  boolean hidemod;
1326  //ncx_module_t *modptr; // not used yet
1327 } YPACK ncx_modcache_t;
1328 
1329 
1331 typedef struct ncx_errmsg_t_ {
1333  const xmlChar *errmsg;
1334 } YPACK ncx_errmsg_t;
1335 
1336 
1338 typedef enum ncx_nmda_ds_t_ {
1345 } YPACK ncx_nmda_ds_t;
1346 
1347 
1349 typedef enum ncx_nmda_origin_t_ {
1357 } YPACK ncx_nmda_origin_t;
1358 
1359 
1361 typedef struct ncx_origin_filter_t_ {
1362  dlq_hdr_t qhdr;
1363  ncx_nmda_origin_t origin;
1364 } YPACK ncx_origin_filter_t;
1365 
1366 
1370 typedef struct ncx_nmda_params_t_ {
1372  dlq_hdr_t origin_filterQ;
1373 
1376 
1379 
1382 
1384  boolean config_filter;
1385 
1387  boolean with_origin;
1388 
1390  ncx_nmda_ds_t nmda_ds;
1391 
1394 } YPACK ncx_nmda_params_t;
1395 
1396 
1402 typedef enum ncx_nmda_filtyp_t_ {
1403  NCX_NMDA_FILTYP_NONE,
1404  NCX_NMDA_FILTYP_STREAM,
1405  NCX_NMDA_FILTYP_SELECTION,
1406 } YPACK ncx_nmda_filtyp_t;
1407 
1408 
1410 typedef enum ncx_ses_event_t_ {
1414 } YPACK ncx_ses_event_t;
1415 
1416 
1418 typedef enum ncx_config_state_t_ {
1423 } YPACK ncx_config_state_t;
1424 
1425 
1445 typedef status_t
1446  (*ncx_def_hook_cbfn_t) (struct val_value_t_ *parentval,
1447  struct obj_template_t_ *obj,
1448  xmlChar **buff);
1449 
1450 
1456 typedef struct ncx_prefix_info_t_ {
1457  const xmlChar *prefix;
1459 } YPACK ncx_prefix_info_t;
1460 
1461 
1465 typedef enum ncx_bad_reply_enum_t_ {
1470 } YPACK ncx_bad_reply_enum;
1471  // END ncxtypes
1473 
1474 
1475 #ifdef __cplusplus
1476 } /* end extern 'C' */
1477 #endif
1478 
1479 #endif /* _H_ncxtypes */
boolean origin_filter_negated
T: origin filter is negated.
Definition: ncxtypes.h:1378
ncx_num_t num
list member is a number
Definition: ncxtypes.h:621
YANG identity base.
Definition: ncxtypes.h:864
namespace axis (not allowed in YANG)
Definition: ncxtypes.h:504
XML display mode.
Definition: ncxtypes.h:460
compile-time if-feature code
Definition: ncxtypes.h:775
status_t res
parsing result
Definition: ncxtypes.h:712
YANG extension usage entry A nested external statement will produce a tree of ncx_appinfo_t.
Definition: ncxtypes.h:670
YANG octal format.
Definition: ncxtypes.h:334
uint8 digits
number of decimal digits 1 .
Definition: ncxtypes.h:559
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:548
int16
Definition: ncxtypes.h:208
text result
Definition: ncxtypes.h:541
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1075
default; adapt node
Definition: ncxtypes.h:1467
ncx_result_format_t
specify the requested result format type
Definition: ncxtypes.h:539
not set
Definition: ncxtypes.h:1411
ncx_nmda_filtyp_t
internal enumerations for NMDA filter types used in the /filters container NCX_NMDA_FILTYP_STREAM == ...
Definition: ncxtypes.h:1402
netconfcentral WEB page format
Definition: ncxtypes.h:992
used with obj_deviation_t to defer object lookups
Definition: ncxtypes.h:1213
RFC 4741 or 6241 <rpc>
Definition: ncxtypes.h:412
not set
Definition: ncxtypes.h:191
dlq provides general double-linked list and queue support:
split y_foo.h file
Definition: ncxtypes.h:1000
RFC 4741 or 6241 <hello>
Definition: ncxtypes.h:411
not set
Definition: ncxtypes.h:1419
state or statistics
Definition: ncxtypes.h:193
ncx_cvttyp_t
enumeration for different NCX module conversion output types
Definition: ncxtypes.h:987
used with various structs to cache back-ptrs the &#39;node&#39; pointer may or may not be malloced! the ncx_f...
Definition: ncxtypes.h:1238
xmlChar * dname
malloced bit name (value not checked)
Definition: ncxtypes.h:604
&#39;*&#39; == 0 or more
Definition: ncxtypes.h:300
string
Definition: ncxtypes.h:217
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:1174
xmlChar * prefix
prefix used in if-feature
Definition: ncxtypes.h:725
not set
Definition: ncxtypes.h:273
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:822
turbogears2 (not supported)
Definition: ncxtypes.h:999
RFC 5277 <notification>
Definition: ncxtypes.h:414
explicit
Definition: ncxtypes.h:1015
JSON message encoding.
Definition: ncxtypes.h:480
RelaxNG compact (not supported)
Definition: ncxtypes.h:1208
not set
Definition: ncxtypes.h:419
base type not set
Definition: ncxtypes.h:201
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:1258
ncx_snmp_agt_role_t
enum to identify the SNMP agent native mode
Definition: ncxtypes.h:1314
instance-identifier
Definition: ncxtypes.h:219
val_value_t
Definition: ncxtypes.h:276
not set
Definition: ncxtypes.h:1224
NCX_BAD_DATA_IGNORE to silently accept invalid input values.
Definition: ncxtypes.h:433
leafref (needs special processing)
Definition: ncxtypes.h:221
ncx_cfg_t cfg_ds
internal config ID to use
Definition: ncxtypes.h:1393
xmlChar * error_app_tag
error-app-tag field
Definition: ncxtypes.h:1108
empty
Definition: ncxtypes.h:205
uint8 zeroes
number of leading zeroes 0 .
Definition: ncxtypes.h:560
split u_foo.h file
Definition: ncxtypes.h:1002
scoped remote name
Definition: ncxtypes.h:262
status_t res
may be stored with errors
Definition: ncxtypes.h:891
struct typ_template_t_ * typ
backptr to type
Definition: ncxtypes.h:1122
NCX base64 string node for YANG &#39;binary&#39; built-in type.
Definition: ncxtypes.h:649
ncx_revhist_t
Definition: ncxtypes.h:286
xmlChar * revision
revision date for include-by-revision
Definition: ncxtypes.h:1065
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:894
ncx_access_t
NCX Access Control &#39;max-access&#39; enumeration values Note that access control is applied to the session...
Definition: ncxtypes.h:169
xmlChar * ns
namespace URI
Definition: ncxtypes.h:924
identityref
Definition: ncxtypes.h:222
set by default origin
Definition: ncxtypes.h:1355
YANG revision entry.
Definition: ncxtypes.h:698
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
search metadata
Definition: ncxtypes.h:317
uint32 pos
position value or implied position
Definition: ncxtypes.h:605
internal container
Definition: ncxtypes.h:225
bundle y_foo.h file
Definition: ncxtypes.h:1005
boolean annotation
T: annotation, F:deviation.
Definition: ncxtypes.h:1216
boolean supported
T: load: F: import only.
Definition: ncxtypes.h:944
match all chars if only 1 match
Definition: ncxtypes.h:525
struct getcb_get2_t_ * get2cb
get2 control block in use
Definition: ncxtypes.h:836
uint32 warnings
yangdump results
Definition: ncxtypes.h:951
xmlChar * value
argument string (if any)
Definition: ncxtypes.h:681
YumaPro YANG-API 1.0.
Definition: ncxtypes.h:785
uint32 line_count
for EVAL_VERSION
Definition: ncxtypes.h:979
plain CLI display mode
Definition: ncxtypes.h:451
unknown origin
Definition: ncxtypes.h:1356
xmlns_qname_t *, error only
Definition: ncxtypes.h:282
YANG 1.1 anydata.
Definition: ncxtypes.h:229
ncx_config_state_t
server config state Root Check
Definition: ncxtypes.h:1418
struct ncx_module_t_ * devmod
deviations module
Definition: ncxtypes.h:1215
not set
Definition: ncxtypes.h:1466
normal state
Definition: ncxtypes.h:1421
the global class will have the same result for any context node (static, absolute path) /foo/bar/baz ...
Definition: ncxtypes.h:1294
boolean seen
for yangdiff
Definition: ncxtypes.h:1112
ncx_yang_version_t
enumeration for different YANG language versions
Definition: ncxtypes.h:793
ncx_str_t str
list member is a string
Definition: ncxtypes.h:624
YANG if-feature entry.
Definition: ncxtypes.h:736
xmlChar * name
feature name
Definition: ncxtypes.h:806
boolean stmtmode
T: save yang_stmt_t.
Definition: ncxtypes.h:942
xmlns_id_t nsid
from mod containing identity
Definition: ncxtypes.h:885
ncx_name_match_t
Node name match modes.
Definition: ncxtypes.h:521
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:715
operational datastore
Definition: ncxtypes.h:1344
uint16
Definition: ncxtypes.h:212
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1043
boolean boo
list member is a boolean
Definition: ncxtypes.h:633
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:1465
xmlChar * name
YANG 1.1 allows an expression.
Definition: ncxtypes.h:742
called from <restart>
Definition: ncxtypes.h:375
not set
Definition: ncxtypes.h:522
read-only
Definition: ncxtypes.h:172
not a real type, string buffer for contents
Definition: ncxtypes.h:231
status_t res
key
Definition: ncxtypes.h:1332
xmlChar * ncx_str_t
string alias for data types:
Definition: ncxtypes.h:589
TBD.
Definition: ncxtypes.h:358
int32 val
YANG value-stmt or implied value.
Definition: ncxtypes.h:597
run-time if-feature code
Definition: ncxtypes.h:776
whitespace not allowed: unquoted string
Definition: ncxtypes.h:1091
one NCX_BT_ENUM enumeration value (user may enter 1 of 3 forms)
Definition: ncxtypes.h:594
ncx_iqual_t
The instance qualifier types are borrowed from ABNF and RelaxNG.
Definition: ncxtypes.h:295
uint32
Definition: ncxtypes.h:213
const xmlChar * errmsg
backptr to CLI param value string
Definition: ncxtypes.h:1333
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1068
not set
Definition: ncxtypes.h:448
NCX_BAD_DATA_CHECK to prompt user to keep or re-enter value.
Definition: ncxtypes.h:439
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:1102
search range
Definition: ncxtypes.h:315
ncx_xpath_axis_t
XPath expression axis types.
Definition: ncxtypes.h:488
trim
Definition: ncxtypes.h:1014
obj_key_t *, error only
Definition: ncxtypes.h:281
&#39;+&#39; == 1 or more
Definition: ncxtypes.h:299
xmlChar * revision
revision-stmt for import-by-revision
Definition: ncxtypes.h:1040
not set
Definition: ncxtypes.h:410
the object class will have the same result for any instance of a specific object node (static...
Definition: ncxtypes.h:1300
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:787
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:709
not set
Definition: ncxtypes.h:314
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
XML message encoding.
Definition: ncxtypes.h:477
boolean defaultrev
T: use for default ver.
Definition: ncxtypes.h:945
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:879
union of all the basic number types if float not supported, then it is stored as an int64 ...
Definition: ncxtypes.h:567
session ID, error only
Definition: ncxtypes.h:283
typ_def_t
Definition: ncxtypes.h:290
CBOR not used yet.
Definition: ncxtypes.h:483
ncx_enum_t enu
list member is a enum
Definition: ncxtypes.h:627
ncx_agttarg_t
enum to identify the agent native target
Definition: ncxtypes.h:352
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:812
xmlns_id_t nsid
namespace ID
Definition: ncxtypes.h:1458
const xmlChar * name
bptr to typ_enum_t.name or this.dname
Definition: ncxtypes.h:603
start event
Definition: ncxtypes.h:1225
void * node
const or plain malloced data pointer
Definition: ncxtypes.h:1240
XSD format (obsolete)
Definition: ncxtypes.h:989
int64
Definition: ncxtypes.h:210
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:900
boolean with_origin
add origin attributes
Definition: ncxtypes.h:1387
uint32 ubufflen
binary buffer len
Definition: ncxtypes.h:651
extend event
Definition: ncxtypes.h:1228
ncx_shutdowntyp_t
enumeration of the different program shutdown modes
Definition: ncxtypes.h:371
union of various data structures to represent different base types
Definition: ncxtypes.h:619
not set
Definition: ncxtypes.h:397
ncx_feature_code_t code
dynamic or static code-gen
Definition: ncxtypes.h:821
xmlChar * name
module name
Definition: ncxtypes.h:902
const xmlChar * typname
typename
Definition: ncxtypes.h:1123
ncx_strtyp_t
enum for WHITESPACE ALLOWED vs.
Definition: ncxtypes.h:1089
struct ncx_module_t_ * parentmod
backptr set if submod
Definition: ncxtypes.h:933
int64 d
NCX_BT_DOUBLE.
Definition: ncxtypes.h:576
xmlChar * prefix
prefix used in import-stmt for module
Definition: ncxtypes.h:1037
obsolete removed from tree
Definition: ncxtypes.h:422
netconfcentral.org dB format
Definition: ncxtypes.h:991
uint64 ul
NCX_BT_ULONG.
Definition: ncxtypes.h:571
struct ncx_identity_t_ * base
back-ptr to base id
Definition: ncxtypes.h:866
xmlChar * version
revision data argument
Definition: ncxtypes.h:703
JSON (RFC 7951 format)
Definition: ncxtypes.h:466
hidden: just for XPath
Definition: ncxtypes.h:216
One &#39;include&#39; clause, YANG only.
Definition: ncxtypes.h:1060
transport layer
Definition: ncxtypes.h:344
uint64
Definition: ncxtypes.h:214
cancel event
Definition: ncxtypes.h:1226
persistent config
Definition: ncxtypes.h:192
plain CLI display mode with YANG prefixes added to nodes
Definition: ncxtypes.h:454
internal, not a real type
Definition: ncxtypes.h:227
ncx_error_t tkerr
file and line info for the compiler
Definition: ncxtypes.h:693
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1054
boolean expr_result
expression result, if set
Definition: ncxtypes.h:762
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:1194
merge first
Definition: ncxtypes.h:306
NACM data rule.
Definition: ncxtypes.h:1023
int32 i
NCX_BT_INT.
Definition: ncxtypes.h:568
int64 l
NCX_BT_LONG.
Definition: ncxtypes.h:569
not set
Definition: ncxtypes.h:782
NCX_BAD_DATA_ERROR to prompt user to re-enter value.
Definition: ncxtypes.h:442
YANG format.
Definition: ncxtypes.h:1205
session ended event
Definition: ncxtypes.h:1413
yangcli-pro CLI mode
Definition: ncxtypes.h:469
boolean unload_active
T: unload in progress.
Definition: ncxtypes.h:981
xmlChar * submodule
submodule name to include
Definition: ncxtypes.h:1062
xmlChar * source
full filespec
Definition: ncxtypes.h:931
parent axis
Definition: ncxtypes.h:507
copy with new name
Definition: ncxtypes.h:994
ncx_nmda_origin_t origin
origin filter
Definition: ncxtypes.h:1363
xmlChar * ocversion
oc-ext:openconfig-version
Definition: ncxtypes.h:909
with-startup=true
Definition: ncxtypes.h:366
struct obj_template_t_ * objnode
get2 for complex node
Definition: ncxtypes.h:834
error message replacement record
Definition: ncxtypes.h:1331
uint32 flags
flags to maintain list state
Definition: ncxtypes.h:637
ncx_feature_t
Definition: ncxtypes.h:288
const xmlChar * prefix
backptr to token inside xpath pcb
Definition: ncxtypes.h:1457
deprecated (treated as current
Definition: ncxtypes.h:421
one NCX_BT_BITS bit value
Definition: ncxtypes.h:602
XML display mode without any prefixes (not compliant XML!)
Definition: ncxtypes.h:463
struct ncx_module_t_ * parent
if this is a submodule
Definition: ncxtypes.h:970
boolean
Definition: ncxtypes.h:206
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
not set
Definition: ncxtypes.h:988
ncx_idlink_t idlink
internal id link
Definition: ncxtypes.h:893
exact but case-insensitive
Definition: ncxtypes.h:524
xmlChar * basename
base identity name
Definition: ncxtypes.h:868
const xmlChar * belongsver
back ptr to mod ver
Definition: ncxtypes.h:936
startup datastore
Definition: ncxtypes.h:386
not set
Definition: ncxtypes.h:1350
running datastore (no value for not set!)
Definition: ncxtypes.h:384
report Error and stop parse
Definition: ncxtypes.h:1469
uint32 ustrlen
binary buffer used
Definition: ncxtypes.h:652
dynamic origin
Definition: ncxtypes.h:1352
obj_template_t
Definition: ncxtypes.h:277
ncx_squal_t
typdef search qualifier list (internal compiler modes)
Definition: ncxtypes.h:313
xmlChar * name
feature name used in if-feature
Definition: ncxtypes.h:728
kill -1 SIGHUP
Definition: ncxtypes.h:373
xmlns_id_t nsid
assigned by xmlns
Definition: ncxtypes.h:938
protocol operation layer
Definition: ncxtypes.h:346
CLI syntax used in val_dump_value.
Definition: ncxtypes.h:401
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information ...
Definition: ncxtypes.h:660
boolean config_filter_set
config content filter used
Definition: ncxtypes.h:1381
uint32 linenum
line number
Definition: ncxtypes.h:662
not set
Definition: ncxtypes.h:430
report-all
Definition: ncxtypes.h:1012
keep track of the typenames used for local typedefs only used by ncxdump to generate XSDs OBSOLETE: D...
Definition: ncxtypes.h:1120
Decimal64 data type.
Definition: ncxtypes.h:557
, called from <shutdown>, SIGINT, SIGKILL, SIGQUIT, SIGABRT, SIGTRAP, SIGTERM
Definition: ncxtypes.h:378
RFC 4741 base:1.0.
Definition: ncxtypes.h:783
match all chars case-insensitive if only 1 match
Definition: ncxtypes.h:528
bits restriction
Definition: ncxtypes.h:327
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:1446
application layer
Definition: ncxtypes.h:347
report-all-tagged
Definition: ncxtypes.h:1013
boolean defaults_added
agt: for mod load
Definition: ncxtypes.h:946
C format.
Definition: ncxtypes.h:398
match all chars case-insensitive, return first match
Definition: ncxtypes.h:534
ncx_identity_t
Definition: ncxtypes.h:289
YANG feature entry.
Definition: ncxtypes.h:801
const xmlChar * sourcefn
ptr to fn in source
Definition: ncxtypes.h:935
SNMP master server role.
Definition: ncxtypes.h:1316
&#39;?&#39; == 0 or 1
Definition: ncxtypes.h:298
server module info cache record for def_reg_add_mod
Definition: ncxtypes.h:1322
prune failing node(s)
Definition: ncxtypes.h:1468
exact (default)
Definition: ncxtypes.h:523
value not set
Definition: ncxtypes.h:296
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:918
double-quote Xpath for error-path
Definition: ncxtypes.h:400
running datastore
Definition: ncxtypes.h:1341
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1071
bundle y_foo.c file
Definition: ncxtypes.h:1004
boolean expr_skipmode
internal optimization flag
Definition: ncxtypes.h:763
YANG 1.1 identifier-ref-arg that within an if-feature expression.
Definition: ncxtypes.h:720
ncx:xsdlist extension (internal, deprecated)
Definition: ncxtypes.h:223
ncx_nmda_ds_t nmda_ds
NMDA datastore to use.
Definition: ncxtypes.h:1390
ncx_nmda_origin_t
internal enumerations for standard NMDA origins
Definition: ncxtypes.h:1349
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
a built-in base type
Definition: ncxtypes.h:244
merge sorted
Definition: ncxtypes.h:308
not set
Definition: ncxtypes.h:1339
YANG-API URI with list1/key1/key2.
Definition: ncxtypes.h:403
ncx_include_t
Definition: ncxtypes.h:285
YANG hexidecimal format.
Definition: ncxtypes.h:336
ncx_yang_version_t langver
YANG lang.
Definition: ncxtypes.h:939
attribute axis
Definition: ncxtypes.h:492
internal NMDA origin filter (negate field stored separately)
Definition: ncxtypes.h:1361
int8
Definition: ncxtypes.h:207
ncx_merge_t
The merge type for the NETCONF merge operation.
Definition: ncxtypes.h:304
not set
Definition: ncxtypes.h:324
match all chars case-insensitive, return first match
Definition: ncxtypes.h:531
TBD.
Definition: ncxtypes.h:357
preceding axis (not allowed in YANG)
Definition: ncxtypes.h:510
YumaPro Internal CLI 1.0.
Definition: ncxtypes.h:786
cfg_template_t *, error only
Definition: ncxtypes.h:280
struct for holding r/o pointer to generic internal node for filtering purposes
Definition: ncxtypes.h:830
internal choice, not really used
Definition: ncxtypes.h:226
single-quote Xpath for filter
Definition: ncxtypes.h:399
struct val_value_t_ * filnode
read-only backptr
Definition: ncxtypes.h:833
search values
Definition: ncxtypes.h:316
boolean seen
for yangdiff
Definition: ncxtypes.h:768
initialization phase
Definition: ncxtypes.h:1420
value not set
Definition: ncxtypes.h:305
YIN format.
Definition: ncxtypes.h:998
ncx_numfmt_t
Enumeration of number format types.
Definition: ncxtypes.h:332
xmlChar * module
module name being imported
Definition: ncxtypes.h:1034
uint32 linepos
line position
Definition: ncxtypes.h:663
internal reference to another type
Definition: ncxtypes.h:248
ncx_instfmt_t
instance identifier string format types
Definition: ncxtypes.h:396
binary (base64)
Definition: ncxtypes.h:218
no iqual == 1
Definition: ncxtypes.h:297
uint8
Definition: ncxtypes.h:211
not set
Definition: ncxtypes.h:364
read-write (create/delete not allowed)
Definition: ncxtypes.h:173
boolean config_filter
content filter (config or non-config)
Definition: ncxtypes.h:1384
ncx_display_mode_t
enumeration of val_dump_value display modes
Definition: ncxtypes.h:447
xmlChar * prefix
module prefix
Definition: ncxtypes.h:927
not set
Definition: ncxtypes.h:1203
status_t
global error return code
Definition: status_enum.h:186
SIL or SIL-SA H file.
Definition: ncxtypes.h:995
boolean isclone
flag to identfy cloned appinfo
Definition: ncxtypes.h:690
boolean seen
for yangdiff
Definition: ncxtypes.h:823
ncx_status_t status
status-stmt
Definition: ncxtypes.h:886
clause is optional
Definition: ncxtypes.h:1084
timeout event
Definition: ncxtypes.h:1227
boolean enabled
feature is enabled
Definition: ncxtypes.h:820
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1105
clause is required
Definition: ncxtypes.h:1083
xmlChar * belongs
set if submod
Definition: ncxtypes.h:932
whitespace allowed: quoted string
Definition: ncxtypes.h:1090
XML result.
Definition: ncxtypes.h:542
target=candidate
Definition: ncxtypes.h:354
xmlChar * name
external statement name
Definition: ncxtypes.h:678
boolean force_yuma_nc
HACK: TRUE if yuma-nc replacing ietf-nc.
Definition: ncxtypes.h:1052
target=running
Definition: ncxtypes.h:355
status_t status
module parse result
Definition: ncxtypes.h:949
not a real type, points fo file for contents
Definition: ncxtypes.h:230
ncx_layer_t
Enumeration of NETCONF protocol layers.
Definition: ncxtypes.h:342
pattern restriction
Definition: ncxtypes.h:325
ncx_list_t devmodlist
for deviations list
Definition: ncxtypes.h:977
NCX list member: list of string or number Usually used within a val_value_t structure.
Definition: ncxtypes.h:612
grp_template_t
Definition: ncxtypes.h:275
RelaxNG format (not supported )
Definition: ncxtypes.h:1207
status_t res
may be stored with errors
Definition: ncxtypes.h:819
RFC 6241 base:1.1.
Definition: ncxtypes.h:784
not set
Definition: ncxtypes.h:353
read-create (all access)
Definition: ncxtypes.h:174
int64 val
adjusted number to fit in 64 bits
Definition: ncxtypes.h:558
ncx_confirm_event_t
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well...
Definition: ncxtypes.h:1223
not set
Definition: ncxtypes.h:1020
boolean seen
for yangcli
Definition: ncxtypes.h:895
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
descendant-or-self axis
Definition: ncxtypes.h:495
when-stmt
Definition: ncxtypes.h:1022
ncx_nmda_ds_t
internal enumerations for standard NMDA datastores
Definition: ncxtypes.h:1338
boolean used
for compiler not-used warning
Definition: ncxtypes.h:1050
ncx_xpath_type_t
enumeration for different XPath back pointer types
Definition: ncxtypes.h:1019
ncx_btype_t btyp
base type of each member
Definition: ncxtypes.h:643
not set
Definition: ncxtypes.h:489
status_t res
set to NO_ERR if the import was parsed OK
Definition: ncxtypes.h:1055
RESTCONF URI with list1=key1,key2.
Definition: ncxtypes.h:404
not set
Definition: ncxtypes.h:1315
decimal64
Definition: ncxtypes.h:215
bad datastore being used anyway
Definition: ncxtypes.h:1422
xmlChar * baseprefix
base identity prefix
Definition: ncxtypes.h:867
ncx_data_class_t
NCX Persistence Control.
Definition: ncxtypes.h:190
One &#39;import&#39; clause in YANG.
Definition: ncxtypes.h:1030
xmlChar * descr
description-stmt (not saved on server)
Definition: ncxtypes.h:706
boolean unloadable
T: unload allowed.
Definition: ncxtypes.h:980
xmlChar * ref
reference-stmt (not saved in server)
Definition: ncxtypes.h:882
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:921
struct ncx_module_t_ * mod
module back-ptr
Definition: ncxtypes.h:661
local member within the table
Definition: ncxtypes.h:259
a complex type
Definition: ncxtypes.h:246
ncx_dec64_t dec
NCX_BT_DECIMAL64.
Definition: ncxtypes.h:578
xmlChar * typname_malloc
replaced type name
Definition: ncxtypes.h:1124
boolean ocpattern_mode
T: openconfig patterns.
Definition: ncxtypes.h:948
boolean added
T: don&#39;t free on err.
Definition: ncxtypes.h:943
boolean expr_evalmode
internal field
Definition: ncxtypes.h:765
struct ext_template_t_ * ext
YANG extension found to match this external stmt.
Definition: ncxtypes.h:684
must=stmt
Definition: ncxtypes.h:1021
xmlChar * ref
reference-stmt (not saved on server)
Definition: ncxtypes.h:1046
struct val_value_t_ * useval
parent node of objnode
Definition: ncxtypes.h:835
uint8 ncx_owner_id_t
used as index into the agt_owner registry
Definition: ncxtypes.h:1262
following-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:501
ncx_feature_code_t
Feature code generation type (deprecated)
Definition: ncxtypes.h:773
SNMP sub-agent role.
Definition: ncxtypes.h:1317
index named type declared inline
Definition: ncxtypes.h:258
ext_template_t
Definition: ncxtypes.h:287
not set
Definition: ncxtypes.h:372
intended origin
Definition: ncxtypes.h:1351
obsolete; not used
Definition: ncxtypes.h:997
typ_template_t
Definition: ncxtypes.h:274
struct ncx_module_t_ * submod
found submodule for this include
Definition: ncxtypes.h:1074
header for a NCX List
Definition: ncxtypes.h:642
not set
Definition: ncxtypes.h:243
ncx_strrest_t
Enumeration of string restriction types.
Definition: ncxtypes.h:323
descendant axis
Definition: ncxtypes.h:494
RFC 4741 or 6241 <rpc-reply>
Definition: ncxtypes.h:413
uint32 u
NCX_BT_UINT.
Definition: ncxtypes.h:570
SQL format (not supported)
Definition: ncxtypes.h:990
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1098
merge last
Definition: ncxtypes.h:307
not set
Definition: ncxtypes.h:256
enumeration restriction
Definition: ncxtypes.h:326
xmlChar * dname
malloced enum (value not checked)
Definition: ncxtypes.h:596
xmlChar * error_message
error-message field
Definition: ncxtypes.h:1111
split u_foo.c file
Definition: ncxtypes.h:1003
void(* ncx_unload_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is unloaded from the system
Definition: ncxtypes.h:1154
startup datastore
Definition: ncxtypes.h:1342
CLI syntax used in yangcli config mode.
Definition: ncxtypes.h:402
ncx_errinfo_t, error only
Definition: ncxtypes.h:278
boolean expr_logerrors
true if logging errors; F: silent
Definition: ncxtypes.h:764
bits
Definition: ncxtypes.h:203
unsigned char * ustr
binary string
Definition: ncxtypes.h:650
search appinfo
Definition: ncxtypes.h:318
ncx_agtstart_t
enum to identify the agent native startup mode
Definition: ncxtypes.h:363
not set
Definition: ncxtypes.h:343
not set
Definition: ncxtypes.h:540
boolean dev_module
T: deviation; F: normal.
Definition: ncxtypes.h:947
learned origin
Definition: ncxtypes.h:1354
the key class with have the same result for any context node (static, absolute path) and the target i...
Definition: ncxtypes.h:1289
void(* ncx_load_cbfn_t)(ncx_module_t *mod)
user function callback template when a module is loaded into the system
Definition: ncxtypes.h:1140
YANG identity entry.
Definition: ncxtypes.h:873
candidate datastore
Definition: ncxtypes.h:385
ncx_node_t
NCX Internal Node Types.
Definition: ncxtypes.h:272
ncx_msg_encoding_t
enumeration for message encoding formats
Definition: ncxtypes.h:473
internal, YANG list
Definition: ncxtypes.h:228
ancestor axis
Definition: ncxtypes.h:490
the &#39;instance&#39; class will have the same result for 1 or more instances of a specific object node (sta...
Definition: ncxtypes.h:1308
internal format for XPath
Definition: ncxtypes.h:337
RPC operation layer.
Definition: ncxtypes.h:345
not set
Definition: ncxtypes.h:474
ncx_leafref_class_t
Classification for the types of leafref path statements wrt/ how they can be cached.
Definition: ncxtypes.h:1279
anyxml
Definition: ncxtypes.h:202
ncx_protocol_t
NCX session protocol versions supported.
Definition: ncxtypes.h:781
self axis
Definition: ncxtypes.h:516
session started event
Definition: ncxtypes.h:1412
not set
Definition: ncxtypes.h:333
ncx_module_t * mod
found module for this import
Definition: ncxtypes.h:1049
enumeration
Definition: ncxtypes.h:204
a restriction of a base type
Definition: ncxtypes.h:245
IETF RESTCONF.
Definition: ncxtypes.h:788
const xmlChar * modname
backptr into module
Definition: ncxtypes.h:884
ncx_error_t tkerr
file and line info for compiler
Definition: ncxtypes.h:1077
ancestor-or-self axis
Definition: ncxtypes.h:491
enum not explicitly set
Definition: ncxtypes.h:171
index simple type declared inline
Definition: ncxtypes.h:257
candidate datastore
Definition: ncxtypes.h:1340
internal NMDA get-data state parameters; rest of parameter are stored directly in the xml_msg_hdr_t u...
Definition: ncxtypes.h:1370
uint32 errors
yangdump results
Definition: ncxtypes.h:950
uint32 flags
internal flags
Definition: ncxtypes.h:940
enum not explicitly set
Definition: ncxtypes.h:774
ncx_bit_t bit
list member is a bit
Definition: ncxtypes.h:630
union (needs special processing)
Definition: ncxtypes.h:220
xmlChar * prefix
the prefix used in the if-feature stmt
Definition: ncxtypes.h:741
YANG deciaml format.
Definition: ncxtypes.h:335
ncx_ses_event_t
internal enumerations for session event types
Definition: ncxtypes.h:1410
system-set origin
Definition: ncxtypes.h:1353
split y_foo.c file
Definition: ncxtypes.h:1001
child axis (default)
Definition: ncxtypes.h:493
ncx_cfg_t
hardwire the 3 standard configs
Definition: ncxtypes.h:383
xmlChar * descr
description-stmt (not saved in server)
Definition: ncxtypes.h:809
NCX_BAD_DATA_WARN to warn and accept invalid input values.
Definition: ncxtypes.h:436
ncx_tclass_t
Enumeration of the basic value type classifications.
Definition: ncxtypes.h:242
const xmlChar * modname
backptr
Definition: ncxtypes.h:1324
current (default)
Definition: ncxtypes.h:420
XML namespace support.
uint8 feature_flags
internal YANG 1.1 flags
Definition: ncxtypes.h:890
TBD.
Definition: ncxtypes.h:356
ncx_withdefaults_t
enum for with-defaults enum values
Definition: ncxtypes.h:1010
const xmlChar * name
bptr to typ_enum_t or dname
Definition: ncxtypes.h:595
a restriction of a named type
Definition: ncxtypes.h:247
not used
Definition: ncxtypes.h:1025
boolean ismod
module/submodule keyword
Definition: ncxtypes.h:941
canonical YANG (not supported)
Definition: ncxtypes.h:993
xmlChar * organization
organization-stmt (not saved on server)
Definition: ncxtypes.h:912
ncx_status_t
enumeration for different YANG data-def status values
Definition: ncxtypes.h:418
xmlChar * name
identity name
Definition: ncxtypes.h:876
xmlChar * contact_info
contact-stmt (not saved on server)
Definition: ncxtypes.h:915
uint8 feature_flags
internal flags for YANG 1.1 processing
Definition: ncxtypes.h:824
boolean usexsd
FALSE if duplicate.
Definition: ncxtypes.h:1051
with-startup=false
Definition: ncxtypes.h:365
not set
Definition: ncxtypes.h:1011
boolean expr_set
state variables used for YANG 1.1 if-feature-stmt parsing
Definition: ncxtypes.h:761
xmlChar * prefix
external prefix used
Definition: ncxtypes.h:675
ncx_modformat_t
enum for get-schema format type enum values matches the schema-format identities in RFC 6022 ...
Definition: ncxtypes.h:1202
boolean origin_filter_set
T: origin filter is being used.
Definition: ncxtypes.h:1375
JSON result.
Definition: ncxtypes.h:543
intended datastore
Definition: ncxtypes.h:1343
xmlChar *, error only
Definition: ncxtypes.h:279
ncx_opt_t
enum for REQUIRED vs.
Definition: ncxtypes.h:1082
kill -10 SIGUSR1
Definition: ncxtypes.h:374
SIL or SIL-SA C file.
Definition: ncxtypes.h:996
struct ncx_feature_t_ * feature
backptr to found feature
Definition: ncxtypes.h:731
int32
Definition: ncxtypes.h:209
YIN format.
Definition: ncxtypes.h:1206
ncx_indextyp_t
Enumeration of the different types of index components YANG ONLY SUPPORTS NCX_IT_LOCAL.
Definition: ncxtypes.h:255
intermediate leafref node
Definition: ncxtypes.h:1024
xmlChar * xmlprefix
assigned prefix (may be different than YANG prefix)
Definition: ncxtypes.h:930
unscoped remote name
Definition: ncxtypes.h:261
ncx_error_t tkerr
file, line info for compiler errors
Definition: ncxtypes.h:767
following axis (not allowed in YANG)
Definition: ncxtypes.h:498
ncx_import_t
Definition: ncxtypes.h:284
gather the prefix/nsid bindings used in an XPath string needed to generate the correct xmlns directiv...
Definition: ncxtypes.h:1456
CC complete event.
Definition: ncxtypes.h:1229
boolean isroot
base==NULL not an error
Definition: ncxtypes.h:892
ncx_btype_t
enumeration of the built-in NCX types These types cannot be overridden and cannot be imported ...
Definition: ncxtypes.h:200
ncx_status_t status
status-stmt
Definition: ncxtypes.h:815
XSD format.
Definition: ncxtypes.h:1204
ncx_msgtyp_t
enumeration for different NETCONF message types
Definition: ncxtypes.h:409
struct val_value_t_ * node
read-only backptr
Definition: ncxtypes.h:832
scoped local member within the table
Definition: ncxtypes.h:260
preceding-sibling axis (not allowed in YANG)
Definition: ncxtypes.h:513
plain CLI display mode with YANG module names added to nodes
Definition: ncxtypes.h:457