libyang
3.6.0
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
Macros | |
#define | LYPLG_TYPE_STORE_DYNAMIC 0x01 |
#define | LYPLG_TYPE_STORE_IMPLEMENT 0x02 |
#define | LYPLG_TYPE_STORE_IS_UTF8 0x04 |
#define | LYPLG_TYPE_STORE_ONLY 0x08 |
Options applicable to lyplg_type_store_clb().
#define LYPLG_TYPE_STORE_DYNAMIC 0x01 |
Value was dynamically allocated in its exact size and is supposed to be freed or directly inserted into the context's dictionary (e.g. in case of canonization). In any case, the caller of the callback does not free the provided value after calling the type's store callback with this option.
Definition at line 471 of file plugins_types.h.
#define LYPLG_TYPE_STORE_IMPLEMENT 0x02 |
If a foreign module is needed to be implemented to successfully instantiate the value, make the module implemented.
Definition at line 478 of file plugins_types.h.
#define LYPLG_TYPE_STORE_IS_UTF8 0x04 |
The value is guaranteed to be a valid UTF-8 string, if applicable for the type.
Definition at line 481 of file plugins_types.h.
#define LYPLG_TYPE_STORE_ONLY 0x08 |
The value is stored only, type-specific validation is skipped (performed before)
Definition at line 482 of file plugins_types.h.