39 #include <xmlstring.h> 40 #include <xmlregexp.h> 87 typedef struct grp_template_t_ {
166 extern const xmlChar *
void grp_free_template(grp_template_t *grp)
Scrub the memory in a grp_template_t by freeing all the sub-fields and then freeing the entire struct...
Definition: grp.c:131
void grp_clean_groupingQ(dlq_hdr_t *que)
Clean a queue of grp_template_t structs.
Definition: grp.c:164
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
ncx_status_t status
parse status
Definition: grp.h:100
void * parent
const back-ptr to parent obj
Definition: grp.h:93
struct grp_template_t_ * parentgrp
direct parent is grp
Definition: grp.h:94
YANG module data structures Many internal representations of YANG module constructs.
struct to remember error info tkc->cur_err will be checked before tkc->cur for error information ...
Definition: ncxtypes.h:812
ncx_error_t tkerr
file and line info for compiler
Definition: grp.h:92
One YANG 'grouping' definition – sibling set template.
Definition: grp.h:87
xmlChar * descr
description-stmt (not on server)
Definition: grp.h:90
boolean loop_detected
T: loop detected by compiler.
Definition: grp.h:99
NCX Syntax Token Handler.
Global error messages for status code enumerations.
grp_template_t * grp_new_template(void)
Malloc and initialize the fields in a grp_template_t.
Definition: grp.c:100
boolean istop
T: top-level grouping.
Definition: grp.h:97
xmlns_id_t nsid
namespace ID of module defining grp
Definition: grp.h:95
const xmlChar * grp_get_mod_name(const grp_template_t *grp)
Get the module name for a grouping.
Definition: grp.c:231
uint32 grpindex
used for XSD generation
Definition: grp.h:101
boolean expand_done
T: expand already done.
Definition: grp.h:98
boolean grp_has_typedefs(const grp_template_t *grp)
Check if the grouping contains any typedefs.
Definition: grp.c:190
ncx_status_t
enumeration for different YANG data-def status values
Definition: ncxtypes.h:570
boolean used
used flag for yangdiff use
Definition: grp.h:96
xmlChar * ref
reference-stmt (not on server)
Definition: grp.h:91
xmlChar * name
name of the grouping
Definition: grp.h:89