12#ifndef _H_yang_feature
13#define _H_yang_feature
121 dlq_hdr_t *iffeatureQ,
122 dlq_hdr_t *appinfoQ);
227 dlq_hdr_t *iffeatureQ);
dlq provides general double-linked list and queue support:
status_t
global error return code
Definition: status_enum.h:210
boolean yang_feature_eval_iffeature(ncx_module_t *mod, ncx_iffeature_t *iff)
Evaluate the if-feature expression.
Definition: yang_feature.c:1666
status_t yang_feature_check_iffeature_mismatch(tk_chain_t *tkc, ncx_module_t *mod, obj_template_t *ancestor, obj_template_t *testobj, ncx_iffeature_t *iff, boolean iserror)
Check the child object against the ancestor node for 1 if-feature.
Definition: yang_feature.c:1600
status_t yang_feature_check_feature_loop(tk_chain_t *tkc, ncx_module_t *mod, ncx_feature_t *feature, ncx_feature_t *startfeature)
Check for a feature loop.
Definition: yang_feature.c:1432
status_t yang_feature_resolve_iffeatureQ(yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, obj_template_t *obj)
Check the Q of if-feature statements for the specified object.
Definition: yang_feature.c:1500
status_t yang_feature_consume_iffeature(tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *iffeatureQ, dlq_hdr_t *appinfoQ)
Consume an if-feature-stmt.
Definition: yang_feature.c:1334
status_t yang_feature_consume_feature(tk_chain_t *tkc, ncx_module_t *mod)
Parse the next N tokens as a feature statement.
Definition: yang_feature.c:1137
status_t yang_feature_resolve_iffeatureQ2(yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *iffeatureQ)
Check the Q of if-feature statements for the specified object.
Definition: yang_feature.c:1539
boolean yang_feature_eval_iffeatureQ(ncx_module_t *mod, dlq_hdr_t *iffQ)
Evaluate a Q ofif-feature expressions.
Definition: yang_feature.c:1717
status_t yang_feature_resolve_feature(yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, ncx_feature_t *feature)
Validate all the if-feature clauses present in the specified feature.
Definition: yang_feature.c:1382
YANG Grouping Statement Handler.
YANG module data structures Many internal representations of YANG module constructs.
Global error messages for status code enumerations.
YANG feature entry.
Definition: ncxtypes.h:1021
YANG if-feature entry.
Definition: ncxtypes.h:953
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1138
One YANG data-def-stmt.
Definition: obj.h:1229
token parsing chain (main parser control block)
Definition: tk.h:415
YANG parser control block.
Definition: yang.h:204
NCX Syntax Token Handler.
YANG Module parser utilities.