#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <string.h>
#include <sys/time.h>
#include <signal.h>
#include <errno.h>
#include <unistd.h>
#include <dirent.h>
#include <asterisk/channel.h>
#include <asterisk/file.h>
#include <asterisk/app.h>
#include <asterisk/dsp.h>
#include <asterisk/logger.h>
#include <asterisk/options.h>
#include <asterisk/astdb.h>
#include <asterisk/cli.h>
#include <asterisk/utils.h>
#include "db1-ast/include/db.h"
#include "asterisk.h"
#include "astconf.h"
Include dependency graph for db.c:
Go to the source code of this file.
Functions | |
AST_MUTEX_DEFINE_STATIC (dblock) | |
int | ast_db_deltree (const char *family, const char *keytree) |
int | ast_db_put (const char *family, const char *keys, char *value) |
int | ast_db_get (const char *family, const char *keys, char *value, int valuelen) |
int | ast_db_del (const char *family, const char *keys) |
ast_db_entry * | ast_db_gettree (const char *family, const char *keytree) |
void | ast_db_freetree (struct ast_db_entry *dbe) |
int | astdb_init (void) |
Variables | |
ast_cli_entry | cli_database_show |
ast_cli_entry | cli_database_get |
ast_cli_entry | cli_database_put |
ast_cli_entry | cli_database_del |
ast_cli_entry | cli_database_deltree |
|
Definition at line 179 of file db.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, key(), and LOG_DEBUG. Referenced by ast_privacy_set().
|
|
Definition at line 71 of file db.c. References ast_mutex_lock, ast_mutex_unlock, and key(). Referenced by ast_privacy_reset().
|
|
Definition at line 367 of file db.c. References free, and ast_db_entry::next.
|
|
Definition at line 138 of file db.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, key(), LOG_DEBUG, and LOG_NOTICE. Referenced by ast_privacy_check().
|
|
Definition at line 309 of file db.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, key(), LOG_WARNING, and malloc.
|
|
Definition at line 111 of file db.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, key(), and LOG_WARNING. Referenced by ast_privacy_set().
|
|
|
|
Definition at line 417 of file db.c. References ast_cli_register(), cli_database_del, cli_database_deltree, cli_database_get, cli_database_put, and cli_database_show. Referenced by main().
|
|
Initial value:
Definition at line 411 of file db.c. Referenced by astdb_init(). |
|
Initial value:
Definition at line 414 of file db.c. Referenced by astdb_init(). |
|
Initial value:
Definition at line 405 of file db.c. Referenced by astdb_init(). |
|
Initial value:
Definition at line 408 of file db.c. Referenced by astdb_init(). |
|
Initial value:
Definition at line 402 of file db.c. Referenced by astdb_init(). |