yumapro  24.10-1
YumaPro SDK
Loading...
Searching...
No Matches
YIN Language Format

YIN Language Format. More...

Collaboration diagram for YIN Language Format:

Data Structures

struct  yin_mapping_t
 YANG to YIN mapping The argument and element vs. More...
 

Functions

const yin_mapping_tyin_find_mapping (const xmlChar *name)
 Find a static yin mapping entry. More...
 
tk_chain_tyinyang_convert_token_chain (const xmlChar *sourcespec, status_t *res)
 Try to open a file as a YIN formatted XML file and convert it to a token chain for processing by yang_parse_from_token_chain. More...
 

Detailed Description

YIN Language Format.

Convert YIN File to a Token Chain.

Function Documentation

◆ yin_find_mapping()

const yin_mapping_t * yin_find_mapping ( const xmlChar *  name)

Find a static yin mapping entry.

Parameters
namekeyword name to find
Returns
pointer to found entry, NULL if none found
Here is the call graph for this function:

◆ yinyang_convert_token_chain()

tk_chain_t * yinyang_convert_token_chain ( const xmlChar *  sourcespec,
status_t res 
)

Try to open a file as a YIN formatted XML file and convert it to a token chain for processing by yang_parse_from_token_chain.

Parameters
sourcespecfile spec for the YIN file to read
[out]resaddress of return status
  • *res status of the operation
Returns
malloced token chain containing the converted YIN file
Here is the call graph for this function: