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_leaflist 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_qnamedflts
uint32_t max
uint32_t min
struct lysp_restrmusts
struct lysp_type type
const char * units
struct lysp_whenwhen

Detailed Description

Definition at line 803 of file tree_schema.h.

Field Documentation

◆ [union]

union { ... } lysp_node_leaflist

common part corresponding to lysp_node

◆ dflts

struct lysp_qname* lysp_node_leaflist::dflts

list of default values (sized array), they may or may not be qualified names

Definition at line 825 of file tree_schema.h.

◆ max

uint32_t lysp_node_leaflist::max

max-elements constraint, 0 means unbounded

Definition at line 828 of file tree_schema.h.

◆ min

uint32_t lysp_node_leaflist::min

min-elements constraint

Definition at line 827 of file tree_schema.h.

◆ musts

struct lysp_restr* lysp_node_leaflist::musts

list of must restrictions (sized array)

Definition at line 821 of file tree_schema.h.

◆ type

struct lysp_type lysp_node_leaflist::type

type of the leaf node (mandatory)

Definition at line 823 of file tree_schema.h.

◆ units

const char* lysp_node_leaflist::units

units of the leaf's type

Definition at line 824 of file tree_schema.h.

◆ when

struct lysp_when* lysp_node_leaflist::when

when statement

Definition at line 822 of file tree_schema.h.


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