KB interface. Functions provided by an implementation. All functions have to be provided, there is no default/fallback. These functions should be called via the corresponding static inline wrappers below. See the wrappers for the documentation.
More...
|
int(* | kb_new )(kb_t *, const char *) |
|
int(* | kb_delete )(kb_t) |
|
struct kb_item *(* | kb_get_single )(kb_t, const char *, enum kb_item_type) |
|
char *(* | kb_get_str )(kb_t, const char *) |
|
int(* | kb_get_int )(kb_t, const char *) |
|
struct kb_item *(* | kb_get_all )(kb_t, const char *) |
|
struct kb_item *(* | kb_get_pattern )(kb_t, const char *) |
|
int(* | kb_add_str )(kb_t, const char *, const char *) |
|
int(* | kb_set_str )(kb_t, const char *, const char *) |
|
int(* | kb_add_int )(kb_t, const char *, int) |
|
int(* | kb_set_int )(kb_t, const char *, int) |
|
int(* | kb_del_items )(kb_t, const char *) |
|
int(* | kb_lnk_reset )(kb_t) |
|
int(* | kb_flush )(kb_t) |
|
KB interface. Functions provided by an implementation. All functions have to be provided, there is no default/fallback. These functions should be called via the corresponding static inline wrappers below. See the wrappers for the documentation.