2 * Asterisk -- A telephony toolkit for Linux.
4 * Persistant data storage (akin to *doze registry)
6 * Copyright (C) 1999, Mark Spencer
8 * Mark Spencer <markster@linux-support.net>
10 * This program is free software, distributed under the terms of
11 * the GNU General Public License
14 #ifndef _ASTERISK_ASTDB_H
15 #define _ASTERISK_ASTDB_H
17 #if defined(__cplusplus) || defined(c_plusplus)
21 int ast_db_get(const char *family, const char *key, char *out, int outlen);
23 int ast_db_put(const char *family, const char *key, char *value);
25 int ast_db_del(const char *family, const char *key);
27 int ast_db_deltree(const char *family, const char *keytree);
29 #if defined(__cplusplus) || defined(c_plusplus)