23 #ifndef _ASTERISK_ASTDB_H
24 #define _ASTERISK_ASTDB_H
26 #if defined(__cplusplus) || defined(c_plusplus)
37 int ast_db_get(
const char *family,
const char *
key,
char *out,
int outlen);
80 #if defined(__cplusplus) || defined(c_plusplus)
int ast_db_get(const char *family, const char *key, char *out, int outlen)
Get key value specified by family/key.
void ast_db_freetree(struct ast_db_entry *entry)
Free structure created by ast_db_gettree()
int ast_db_get_allocated(const char *family, const char *key, char **out)
Get key value specified by family/key as a heap allocated string.
struct ast_db_entry * next
struct ast_db_entry * ast_db_gettree(const char *family, const char *keytree)
Get a list of values within the astdb tree If family is specified, only those keys will be returned...
int ast_db_del(const char *family, const char *key)
Delete entry in astdb.
int ast_db_put(const char *family, const char *key, const char *value)
Store value addressed by family/key.
int ast_db_deltree(const char *family, const char *keytree)
Delete one or more entries in astdb If both parameters are NULL, the entire database will be purged...