34 #include "asterisk/global_datastores.h"
42 if (!dialed_interface_list) {
61 if(!(old_list = data)) {
65 if(!(new_list =
ast_calloc(1,
sizeof(*new_list)))) {
87 .
type =
"dialed-interface",
108 new->media = old->
media;
113 .
type =
"encrypt-call",
#define AST_LIST_LOCK(head)
Locks a list.
Asterisk main include file. File version handling, generic pbx functions.
#define AST_LIST_HEAD(name, type)
Defines a structure to be used to hold a list of specified type.
static void * dialed_interface_duplicate(void *data)
#define AST_LIST_UNLOCK(head)
Attempts to unlock a list.
Structure for a data store type.
#define AST_LIST_HEAD_DESTROY(head)
Destroys a list head structure.
struct ast_datastore_info dialed_interface_info
A set of macros to manage forward-linked lists.
#define AST_LIST_REMOVE_HEAD(head, field)
Removes and returns the head entry from a list.
static void secure_call_store_destroy(void *data)
struct ast_datastore_info secure_call_info
#define AST_LIST_INSERT_TAIL(head, elm, field)
Appends a list entry to the tail of a list.
#define AST_LIST_TRAVERSE(head, var, field)
Loops over (traverses) the entries in a list.
struct ast_dialed_interface::@174 list
static void * secure_call_store_duplicate(void *data)
#define AST_LIST_HEAD_INIT(head)
Initializes a list head structure.
#define ASTERISK_FILE_VERSION(file, version)
Register/unregister a source code file with the core.
static void dialed_interface_destroy(void *data)