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_leaflist 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_value ** dflts
uint32_t max
uint32_t min
struct lysc_mustmusts
struct lysc_typetype
const char * units
struct lysc_when ** when

Detailed Description

Definition at line 1641 of file tree_schema.h.

Field Documentation

◆ [union]

union { ... } lysc_node_leaflist

◆ dflts

struct lyd_value** lysc_node_leaflist::dflts

list (sized array) of default values, use lyd_value_get_canonical() to get the canonical strings

Definition at line 1669 of file tree_schema.h.

◆ max

uint32_t lysc_node_leaflist::max

max-elements constraint

Definition at line 1673 of file tree_schema.h.

◆ min

uint32_t lysc_node_leaflist::min

min-elements constraint

Definition at line 1672 of file tree_schema.h.

◆ musts

struct lysc_must* lysc_node_leaflist::musts

list of must restrictions (sized array)

Definition at line 1664 of file tree_schema.h.

◆ type

struct lysc_type* lysc_node_leaflist::type

type of the leaf node (mandatory)

Definition at line 1666 of file tree_schema.h.

◆ units

const char* lysc_node_leaflist::units

units of the leaf's type

Definition at line 1668 of file tree_schema.h.

◆ when

struct lysc_when** lysc_node_leaflist::when

list of pointers to when statements (sized array)

Definition at line 1665 of file tree_schema.h.


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