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 
45  const char *module;
46  const char *revision;
51  const char *name;
53  void (*free_clb)(void *ptr);
54 };
55 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif /* LY_USER_TYPES_H_ */
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
const char * module
Definition: user_types.h:45
lytype_store_clb store_clb
Definition: user_types.h:52
const char * revision
Definition: user_types.h:46
node's value representation
Definition: tree_data.h:94
const char * name
Definition: user_types.h:51
The main libyang public header.
void(* free_clb)(void *ptr)
Definition: user_types.h:53