libyang 3.13.5
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
Loading...
Searching...
No Matches
lyd_node_opaq Struct Reference

Data node structure for unparsed (opaque) nodes. More...

#include <tree_data.h>

Data Fields

union { 
   struct { 
uint32_t flags
uint32_t hash
struct lyd_metameta
struct lyd_nodenext
struct lyd_node_innerparent
struct lyd_nodeprev
void * priv
const struct lysc_nodeschema
   } 
struct lyd_node node
}; 
struct lyd_attrattr
struct lyd_nodechild
const struct ly_ctxctx
LY_VALUE_FORMAT format
uint32_t hints
struct ly_opaq_name name
void * val_prefix_data
const char * value

Detailed Description

Data node structure for unparsed (opaque) nodes.

lydhints

Definition at line 985 of file tree_data.h.

Field Documentation

◆ [union]

union { ... } lyd_node_opaq

common part corresponding to lyd_node

◆ attr

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.

◆ child

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.

◆ ctx

const struct ly_ctx* lyd_node_opaq::ctx

libyang context

Definition at line 1013 of file tree_data.h.

◆ format

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.

◆ hints

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.

◆ name

struct ly_opaq_name lyd_node_opaq::name

node name with module information

Definition at line 1006 of file tree_data.h.

◆ val_prefix_data

void* lyd_node_opaq::val_prefix_data

format-specific prefix data

Definition at line 1010 of file tree_data.h.

◆ value

const char* lyd_node_opaq::value

original value

Definition at line 1007 of file tree_data.h.


The documentation for this struct was generated from the following file: