![]() |
libyang 3.13.5
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
Generic prefix and namespace mapping, meaning depends on the format. More...
#include <tree_data.h>
Data Fields | |
| union { | |
| const char * | module_name |
| const char * | module_ns |
| }; | |
| const char * | name |
| const char * | prefix |
Generic prefix and namespace mapping, meaning depends on the format.
The union is used as a reference to the data's module and according to the format, it can be used as a key for ly_ctx_get_module_implemented_ns() or ly_ctx_get_module_implemented(). While the module reference is always present, the prefix member can be omitted in case it is not present in the source data as a reference to the default module/namespace.
Definition at line 733 of file tree_data.h.
| union { ... } ly_opaq_name |
| const char* ly_opaq_name::name |
node name, without prefix if any was defined
Definition at line 734 of file tree_data.h.
| const char* ly_opaq_name::prefix |
identifier used in the qualified name as the prefix, can be NULL
Definition at line 735 of file tree_data.h.