libyang
0.16.105
YANG data modeling language library
user_types.h
Go to the documentation of this file.
1
15
#ifndef LY_USER_TYPES_H_
16
#define LY_USER_TYPES_H_
17
18
#include "
libyang.h
"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
42
typedef
int (*
lytype_store_clb
)(
const
char
*type_name,
const
char
*value_str,
lyd_val
*value,
char
**err_msg);
43
44
struct
lytype_plugin_list
{
45
const
char
*
module
;
46
const
char
*
revision
;
51
const
char
*
name
;
52
lytype_store_clb
store_clb
;
53
void (*
free_clb
)(
void
*ptr);
54
};
55
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
/* LY_USER_TYPES_H_ */
lytype_store_clb
int(* lytype_store_clb)(const char *type_name, const char *value_str, lyd_val *value, char **err_msg)
Callback for storing user type values.
Definition:
user_types.h:42
lytype_plugin_list::module
const char * module
Definition:
user_types.h:45
lytype_plugin_list::store_clb
lytype_store_clb store_clb
Definition:
user_types.h:52
lytype_plugin_list::revision
const char * revision
Definition:
user_types.h:46
lyd_value_u
node's value representation
Definition:
tree_data.h:94
lytype_plugin_list::name
const char * name
Definition:
user_types.h:51
libyang.h
The main libyang public header.
lytype_plugin_list
Definition:
user_types.h:44
lytype_plugin_list::free_clb
void(* free_clb)(void *ptr)
Definition:
user_types.h:53
src
user_types.h
Generated on Wed Aug 18 2021 05:58:33 for libyang by
1.8.14