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

#include <tree_schema.h>

Data Fields

union { 
   struct { 
const char * dsc
struct lysp_ext_instanceexts
uint16_t flags
struct lysp_qnameiffeatures
const char * name
struct lysp_nodenext
uint16_t nodetype
struct lysp_nodeparent
const char * ref
   } 
struct lysp_node node
}; 
struct lysp_qname dflt
struct lysp_restrmusts
struct lysp_type type
const char * units
struct lysp_whenwhen

Detailed Description

Definition at line 778 of file tree_schema.h.

Field Documentation

◆ [union]

union { ... } lysp_node_leaf

common part corresponding to lysp_node

◆ dflt

struct lysp_qname lysp_node_leaf::dflt

default value, it may or may not be a qualified name

Definition at line 800 of file tree_schema.h.

◆ musts

struct lysp_restr* lysp_node_leaf::musts

list of must restrictions (sized array)

Definition at line 796 of file tree_schema.h.

◆ type

struct lysp_type lysp_node_leaf::type

type of the leaf node (mandatory)

Definition at line 798 of file tree_schema.h.

◆ units

const char* lysp_node_leaf::units

units of the leaf's type

Definition at line 799 of file tree_schema.h.

◆ when

struct lysp_when* lysp_node_leaf::when

when statement

Definition at line 797 of file tree_schema.h.


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