![]() |
libyang 3.13.5
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
Data node structure for unparsed (opaque) nodes. More...
#include <tree_data.h>
Data Fields | |
| union { | |
| struct { | |
| uint32_t | flags |
| uint32_t | hash |
| struct lyd_meta * | meta |
| struct lyd_node * | next |
| struct lyd_node_inner * | parent |
| struct lyd_node * | prev |
| void * | priv |
| const struct lysc_node * | schema |
| } | |
| struct lyd_node | node |
| }; | |
| struct lyd_attr * | attr |
| struct lyd_node * | child |
| const struct ly_ctx * | ctx |
| LY_VALUE_FORMAT | format |
| uint32_t | hints |
| struct ly_opaq_name | name |
| void * | val_prefix_data |
| const char * | value |
Data node structure for unparsed (opaque) nodes.
lydhints
Definition at line 985 of file tree_data.h.
| union { ... } lyd_node_opaq |
common part corresponding to lyd_node
| struct lyd_attr* lyd_node_opaq::attr |
pointer to the list of generic attributes of this node
Definition at line 1012 of file tree_data.h.
| struct lyd_node* lyd_node_opaq::child |
pointer to the child node (compatible with lyd_node_inner)
Definition at line 1004 of file tree_data.h.
| const struct ly_ctx* lyd_node_opaq::ctx |
libyang context
Definition at line 1013 of file tree_data.h.
| LY_VALUE_FORMAT lyd_node_opaq::format |
format of the node and any prefixes, LY_VALUE_XML or LY_VALUE_JSON
Definition at line 1009 of file tree_data.h.
| uint32_t lyd_node_opaq::hints |
additional information about from the data source, see the hints list
Definition at line 1008 of file tree_data.h.
| struct ly_opaq_name lyd_node_opaq::name |
node name with module information
Definition at line 1006 of file tree_data.h.
| void* lyd_node_opaq::val_prefix_data |
format-specific prefix data
Definition at line 1010 of file tree_data.h.
| const char* lyd_node_opaq::value |
original value
Definition at line 1007 of file tree_data.h.