yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
yang_obj.h File Reference

YANG Module parser support for data-def-stmt. More...

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

Go to the source code of this file.

Functions

status_t yang_obj_consume_datadef (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *que, obj_template_t *parent)
 Parse the next N tokens as a data-def-stmt. More...
 
status_t yang_obj_consume_datadef_grp (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *que, obj_template_t *parent, grp_template_t *grp)
 Parse the next N tokens as a data-def-stmt (in a grouping) More...
 
status_t yang_obj_consume_rpc (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod)
 Parse the next N tokens as a rpc-stmt. More...
 
status_t yang_obj_consume_notification (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod)
 Parse the next N tokens as a notification-stmt. More...
 
status_t yang_obj_consume_augment (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod)
 Parse the next N tokens as a top-level augment-stmt. More...
 
status_t yang_obj_consume_deviation (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod)
 Parse the next N tokens as a top-level deviation-stmt. More...
 
status_t yang_obj_resolve_datadefs (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Resolve data-def-stmts. More...
 
status_t yang_obj_resolve_uses (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Resolves uses-stmts. More...
 
status_t yang_obj_resolve_augments (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Resolve augment statements. More...
 
status_t yang_obj_resolve_augments_final (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Resolve augmnet statements (final pass) More...
 
status_t yang_obj_resolve_deviations (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod)
 Resolve deviation-stmts. More...
 
status_t yang_obj_resolve_final (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ, boolean ingrouping, boolean is_top)
 Resolve objects (final pass) More...
 
status_t yang_obj_top_resolve_final (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Resolve top-level objects (final pass) More...
 
status_t yang_obj_resolve_xpath (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Resolve XPath statements. More...
 
status_t yang_obj_resolve_xpath_final (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Resolve XPath statements (final pass) More...
 
status_t yang_obj_check_leafref_loops (tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Check all leafref objects for hard-wired object loops Must be done after yang_obj_resolve_xpath. More...
 
status_t yang_obj_remove_deleted_nodes (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *datadefQ)
 Find any nodes marked for deletion and remove them. More...
 
status_t set_tkc_error (tk_chain_t *tkc, ncx_module_t *mod, ncx_error_t *err, status_t res)
 utility function for setting and reporting tkc errors. More...
 
status_t yang_obj_add_object (tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *que, obj_template_t *obj)
 Check if an object already exists, and add it if not. More...
 
status_t yang_obj_consume_structure (yang_pcb_t *pcb, tk_chain_t *tkc, ncx_module_t *mod, dlq_hdr_t *que)
 Parse the next N tokens as a structure as defined in RFC 8791. More...
 

Detailed Description

YANG Module parser support for data-def-stmt.