yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
yang_typ.h File Reference

YANG Module parser typedef and type statement support. More...

#include "dlq.h"
#include "grp.h"
#include "ncxtypes.h"
#include "status.h"
#include "tk.h"
#include "yang.h"
Include dependency graph for yang_typ.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

status_t yang_typ_consume_type (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, typ_def_t *intypdef)
 Consume a type-stmt. More...
 
status_t yang_typ_consume_metadata_type (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, typ_def_t *intypdef)
 Consume a type-stmt for metadata. More...
 
status_t yang_typ_consume_typedef (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *que)
 Consume a typedef-stmt. More...
 
status_t yang_typ_resolve_typedefs (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *typeQ, obj_template_t *parent)
 Resovlve the typeQ of typedefs. More...
 
status_t yang_typ_resolve_typedefs_final (tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *typeQ)
 Resolve typedefs (final pass) More...
 
status_t yang_typ_resolve_typedefs_grp (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *typeQ, obj_template_t *parent, grp_template_t *grp)
 Resolve typedefs in a grouping (final pass) More...
 
status_t yang_typ_resolve_type (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, typ_def_t *typdef, const xmlChar *defval, obj_template_t *obj)
 Resolve a type-stmt. More...
 
status_t yang_typ_resolve_type_final (tk_chain_t *tkc, ncx_module_t *mod, typ_def_t *typdef, const xmlChar *name, const xmlChar *defval, obj_template_t *obj)
 Resolve a type-stmt (final pass) More...
 
status_t yang_typ_rangenum_ok (typ_def_t *typdef, const ncx_num_t *num)
 Check is a range number is OK. More...
 
boolean yang_typ_enubit_enabled (typ_enum_t *enubit)
 Check if an enum or bit is enabled. More...
 
boolean yang_typ_identity_enabled (ncx_identity_t *id)
 Check if an identity-stmt is enabled. More...
 
status_t yang_typ_resolve_leafref (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, obj_template_t *testobj)
 Resolve the typdef in a leafref leaf or leaf-list. More...
 

Detailed Description

YANG Module parser typedef and type statement support.