|  | yumapro
    25.10-1
    YumaPro SDK | 
One YANG 'leaf' or 'anyxml' or 'anydata' definition. More...
#include <obj.h>

| Data Fields | |
| xmlChar * | name | 
| name of leaf or anyxml/anydata | |
| xmlChar * | units | 
| units-stmt only in a leaf | |
| xmlChar * | defval | 
| default-stmt only in a leaf | |
| xmlChar * | descr | 
| description-stmt (not saved on server) | |
| xmlChar * | ref | 
| reference-stmt (not saved on server) | |
| typ_def_t * | typdef | 
| typedef for the data type (leaf only) | |
| ncx_status_t | status | 
| status-stmt | |
| uint16 | keynum | 
| internal key number only for keay leafs | |
| dlq_hdr_t | mustQ | 
| Q of xpath_pcb_t. | |
| dlq_hdr_t | leafrefQ | 
| used for quick leafref validation on server  More... | |
| dlq_hdr_t | uniqrefQ | 
| used for quick unique-stmt validation on server A leaf can be the target of a unique stmt component from multiple lists.  More... | |
| struct obj_template_t_ * | leafrefobj | 
| leafref obj backptr only if btyp == NCX_BT_LEAFREF | |
One YANG 'leaf' or 'anyxml' or 'anydata' definition.
| dlq_hdr_t leafrefQ | 
used for quick leafref validation on server
Q of ncx_backptr_t to obj_template_t
| dlq_hdr_t uniqrefQ | 
used for quick unique-stmt validation on server A leaf can be the target of a unique stmt component from multiple lists.
Save a backptr to the list object that has a unique-stmt that references this leaf Q of ncx_backptr_t to obj_template_t