libyang  1.0.253
YANG data modeling language library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
lytype_plugin_list Struct Reference

#include <user_types.h>

Data Fields

const char * module
 
const char * revision
 
const char * name
 
lytype_store_clb store_clb
 
void(* free_clb )(void *ptr)
 

Detailed Description

Definition at line 62 of file user_types.h.

Field Documentation

const char* module

Name of the module where the type is defined.

Definition at line 63 of file user_types.h.

const char* revision

Optional module revision - if not specified, the plugin applies to any revision, which is not the best approach due to a possible future revisions of the module. Instead, there should be defined multiple items in the plugins list, each with the different revision, but all with the same store callback. The only valid use case for the NULL revision is the case when the module has no revision.

Definition at line 64 of file user_types.h.

const char* name

Name of the type to be stored in a custom way.

Definition at line 69 of file user_types.h.

lytype_store_clb store_clb

Callback used for storing values of this type.

Definition at line 70 of file user_types.h.

void(* free_clb)(void *ptr)

Callback used for freeing values of this type.

Definition at line 71 of file user_types.h.


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