Asterisk datastore objects. More...
#include "asterisk.h"
#include "asterisk/_private.h"
#include "asterisk/datastore.h"
#include "asterisk/utils.h"
Go to the source code of this file.
Functions | |
struct ast_datastore * | __ast_datastore_alloc (const struct ast_datastore_info *info, const char *uid, const char *file, int line, const char *function) |
Create a data store object. More... | |
struct ast_datastore * | ast_datastore_alloc (const struct ast_datastore_info *info, const char *uid) |
int | ast_datastore_free (struct ast_datastore *datastore) |
Free a data store object. More... | |
Asterisk datastore objects.
Definition in file datastore.c.
struct ast_datastore* __ast_datastore_alloc | ( | const struct ast_datastore_info * | info, |
const char * | uid, | ||
const char * | file, | ||
int | line, | ||
const char * | function | ||
) |
Create a data store object.
[in] | info | information describing the data store object |
[in] | uid | unique identifer |
Definition at line 35 of file datastore.c.
References __ast_calloc(), ast_calloc, ast_free, ast_strdup, ast_strlen_zero(), ast_datastore::info, and ast_datastore::uid.
Referenced by ast_datastore_alloc().
struct ast_datastore * ast_datastore_alloc | ( | const struct ast_datastore_info * | info, |
const char * | uid | ||
) |
Definition at line 98 of file datastore.c.
References __ast_datastore_alloc().
Referenced by _macro_exec(), acf_curlopt_write(), acf_iaxvar_write(), acf_odbc_read(), add_features_datastore(), add_to_agi(), apply_plc(), ast_cel_fabricate_channel_from_event(), ast_channel_cc_params_init(), ast_channel_datastore_alloc(), ast_channel_datastore_inherit(), ast_channel_transfer_masquerade(), ast_do_pickup(), ast_iax2_new(), ast_setup_cc_recall_datastore(), audiohook_volume_get(), authenticate_reply(), calendar_query_exec(), cc_interfaces_datastore_init(), dial_exec_full(), do_notify(), dundi_query_read(), enable_jack_hook(), enum_query_read(), find_or_create_details(), find_transaction(), frame_trace_helper(), func_channel_write_real(), get_lock(), gosub_exec(), initialize_mutehook(), lua_get_state(), pitchshift_helper(), raise_exception(), set_chan_app_data(), setup_inheritance_datastore(), setup_mixmonitor_ds(), setup_transfer_datastore(), shared_write(), smdi_msg_retrieve_read(), socket_process(), speech_create(), speex_write(), srv_datastore_setup(), try_calling(), and volume_write().
int ast_datastore_free | ( | struct ast_datastore * | datastore | ) |
Free a data store object.
[in] | datastore | datastore to free |
Definition at line 65 of file datastore.c.
References ast_free, ast_datastore::data, ast_datastore_info::destroy, ast_datastore::info, and ast_datastore::uid.
Referenced by acf_curlopt_write(), acf_fetch(), acf_iaxvar_write(), acf_odbc_read(), add_features_datastore(), add_to_agi(), adjust_frame_for_plc(), apply_plc(), ast_cel_fabricate_channel_from_event(), ast_channel_datastore_free(), ast_channel_destructor(), ast_channel_transfer_masquerade(), ast_do_masquerade(), ast_do_pickup(), ast_dummy_channel_destructor(), ast_iax2_new(), ast_setup_cc_recall_datastore(), audiohook_volume_get(), authenticate_reply(), cc_interfaces_datastore_init(), clear_dialed_interfaces(), dial_exec_full(), disable_jack_hook(), enable_jack_hook(), exec_odbcfinish(), find_transaction(), frame_trace_helper(), func_mute_write(), get_lock(), gosub_exec(), initialize_mutehook(), lua_get_state(), manager_mutestream(), pitchshift_helper(), raise_exception(), session_destructor(), set_chan_app_data(), setup_inheritance_datastore(), shared_write(), socket_process(), speech_datastore_destroy(), speex_write(), srv_query_read(), stop_mixmonitor_exec(), try_calling(), and volume_write().