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

#include <tree_schema.h>

Data Fields

union { 
   struct { 
const char * dsc
struct lysc_ext_instanceexts
uint16_t flags
uint8_t hash [4]
struct lys_modulemodule
const char * name
struct lysc_nodenext
uint16_t nodetype
struct lysc_nodeparent
struct lysc_nodeprev
void * priv
const char * ref
   } 
struct lysc_node node
}; 
struct lyd_valuedflt
struct lysc_mustmusts
struct lysc_typetype
const char * units
struct lysc_when ** when

Detailed Description

Definition at line 1610 of file tree_schema.h.

Field Documentation

◆ [union]

union { ... } lysc_node_leaf

◆ dflt

struct lyd_value* lysc_node_leaf::dflt

default value, use lyd_value_get_canonical() to get the canonical string

Definition at line 1638 of file tree_schema.h.

◆ musts

struct lysc_must* lysc_node_leaf::musts

list of must restrictions (sized array)

Definition at line 1633 of file tree_schema.h.

◆ type

struct lysc_type* lysc_node_leaf::type

type of the leaf node (mandatory)

Definition at line 1635 of file tree_schema.h.

◆ units

const char* lysc_node_leaf::units

units of the leaf's type

Definition at line 1637 of file tree_schema.h.

◆ when

struct lysc_when** lysc_node_leaf::when

list of pointers to when statements (sized array)

Definition at line 1634 of file tree_schema.h.


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