yumapro  20.10-12
YumaPro SDK
ncx_module_t_ Struct Reference

representation of one module or submodule during and after parsing More...

#include <ncxtypes.h>

Collaboration diagram for ncx_module_t_:

Data Fields

dlq_hdr_t qhdr
 queue header
 
xmlChar * name
 module name
 
xmlChar * version
 module revision; this is allowed to be NULL in YANG identifying the one and only revision of the module that is possible
 
xmlChar * ocversion
 oc-ext:openconfig-version
 
xmlChar * organization
 organization-stmt (not saved on server)
 
xmlChar * contact_info
 contact-stmt (not saved on server)
 
xmlChar * descr
 description-stmt (not saved on server)
 
xmlChar * ref
 reference-stmt (not saved on server)
 
xmlChar * ns
 namespace URI More...
 
xmlChar * prefix
 module prefix More...
 
xmlChar * xmlprefix
 assigned prefix (may be different than YANG prefix) More...
 
xmlChar * source
 full filespec
 
xmlChar * belongs
 set if submod
 
struct ncx_module_t_parentmod
 backptr set if submod
 
const xmlChar * sourcefn
 ptr to fn in source
 
const xmlChar * belongsver
 back ptr to mod ver
 
xmlns_id_t nsid
 assigned by xmlns
 
ncx_yang_version_t langver
 YANG lang. More...
 
uint32 flags
 internal flags
 
boolean ismod
 module/submodule keyword
 
boolean stmtmode
 T: save yang_stmt_t.
 
boolean added
 T: don't free on err.
 
boolean supported
 T: load: F: import only.
 
boolean defaultrev
 T: use for default ver.
 
boolean defaults_added
 agt: for mod load
 
boolean dev_module
 T: deviation; F: normal.
 
boolean ocpattern_mode
 T: openconfig patterns.
 
status_t status
 module parse result
 
uint32 errors
 yangdump results
 
uint32 warnings
 yangdump results
 
dlq_hdr_t revhistQ
 Q of ncx_revhist_t.
 
dlq_hdr_t importQ
 Q of ncx_import_t.
 
dlq_hdr_t includeQ
 Q of ncx_include_t.
 
dlq_hdr_t typeQ
 Q of typ_template_t.
 
dlq_hdr_t groupingQ
 Q of grp_template_t.
 
dlq_hdr_t datadefQ
 Q of obj_template_t.
 
dlq_hdr_t extensionQ
 Q of ext_template_t.
 
dlq_hdr_t deviationQ
 Q of obj_deviation_t.
 
dlq_hdr_t featureQ
 Q of ncx_feature_t.
 
dlq_hdr_t identityQ
 Q of ncx_identity_t.
 
dlq_hdr_t appinfoQ
 Q of ncx_appinfo_t.
 
dlq_hdr_t typnameQ
 Q of ncx_typname_t.
 
dlq_hdr_t saveimpQ
 Q of yang_import_ptr_t. More...
 
dlq_hdr_t stmtQ
 Q of yang_stmt_t. More...
 
struct ncx_module_t_parent
 if this is a submodule
 
dlq_hdr_t allincQ
 Q of yang_node_t to track all submodules. More...
 
dlq_hdr_t incchainQ
 used if parent == NULL
 
ncx_list_t devmodlist
 for deviations list
 
uint32 line_count
 for EVAL_VERSION
 
boolean unloadable
 T: unload allowed.
 
boolean unload_active
 T: unload in progress.
 

Detailed Description

representation of one module or submodule during and after parsing

Field Documentation

◆ allincQ

dlq_hdr_t allincQ

Q of yang_node_t to track all submodules.

used if parent == NULL

◆ langver

ncx_yang_version_t langver

YANG lang.

ver used

◆ ns

xmlChar* ns

namespace URI

malloc:main, copy:submod

◆ prefix

xmlChar* prefix

module prefix

may be empty in a submod

◆ saveimpQ

dlq_hdr_t saveimpQ

Q of yang_import_ptr_t.

saved from pcb->allimpQ

◆ stmtQ

dlq_hdr_t stmtQ

Q of yang_stmt_t.

saved for top, yang, docmode

◆ xmlprefix

xmlChar* xmlprefix

assigned prefix (may be different than YANG prefix)

will be diff. if duplicate


The documentation for this struct was generated from the following file: