Asterisk - The Open Source Telephony Project GIT-master-7805f28
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
Data Fields
ast_channelstorage_instance Struct Reference

#include <channelstorage.h>

Collaboration diagram for ast_channelstorage_instance:
Collaboration graph
[legend]

Data Fields

int(* active_channels )(struct ast_channelstorage_instance *driver)
 
struct ast_channel *(* callback )(struct ast_channelstorage_instance *driver, ao2_callback_data_fn *cb_fn, void *arg, void *data, int ao2_flags)
 
void(* close )(struct ast_channelstorage_instance *driver)
 
struct ast_channel *(* get_by_exten )(struct ast_channelstorage_instance *driver, const char *exten, const char *context)
 
struct ast_channel *(* get_by_name_prefix )(struct ast_channelstorage_instance *driver, const char *name, size_t len)
 
struct ast_channel *(* get_by_name_prefix_or_uniqueid )(struct ast_channelstorage_instance *driver, const char *name, size_t len)
 
struct ast_channel *(* get_by_uniqueid )(struct ast_channelstorage_instance *driver, const char *uniqueid)
 
struct ast_channelstorage_driver_pvthandle
 
int(* insert )(struct ast_channelstorage_instance *driver, struct ast_channel *chan, int flags, int lock)
 
struct ast_channel_iterator *(* iterator_all_new )(struct ast_channelstorage_instance *driver)
 
struct ast_channel_iterator *(* iterator_by_exten_new )(struct ast_channelstorage_instance *driver, const char *exten, const char *context)
 
struct ast_channel_iterator *(* iterator_by_name_new )(struct ast_channelstorage_instance *driver, const char *driver_name, size_t name_len)
 
struct ast_channel_iterator *(* iterator_destroy )(struct ast_channelstorage_instance *driver, struct ast_channel_iterator *i)
 
struct ast_channel *(* iterator_next )(struct ast_channelstorage_instance *driver, struct ast_channel_iterator *i)
 
void * lock_handle
 
char name [0]
 
void(* rdlock )(struct ast_channelstorage_instance *driver)
 
int(* remove )(struct ast_channelstorage_instance *driver, struct ast_channel *chan, int lock)
 
void(* unlock )(struct ast_channelstorage_instance *driver)
 
void(* wrlock )(struct ast_channelstorage_instance *driver)
 

Detailed Description

Definition at line 45 of file channelstorage.h.

Field Documentation

◆ active_channels

int(* active_channels) (struct ast_channelstorage_instance *driver)

Definition at line 54 of file channelstorage.h.

◆ callback

struct ast_channel *(* callback) (struct ast_channelstorage_instance *driver, ao2_callback_data_fn *cb_fn, void *arg, void *data, int ao2_flags)

Definition at line 54 of file channelstorage.h.

◆ close

void(* close) (struct ast_channelstorage_instance *driver)

Definition at line 48 of file channelstorage.h.

Referenced by ast_channelstorage_close().

◆ get_by_exten

struct ast_channel *(* get_by_exten) (struct ast_channelstorage_instance *driver, const char *exten, const char *context)

Definition at line 54 of file channelstorage.h.

◆ get_by_name_prefix

struct ast_channel *(* get_by_name_prefix) (struct ast_channelstorage_instance *driver, const char *name, size_t len)

Definition at line 54 of file channelstorage.h.

◆ get_by_name_prefix_or_uniqueid

struct ast_channel *(* get_by_name_prefix_or_uniqueid) (struct ast_channelstorage_instance *driver, const char *name, size_t len)

Definition at line 54 of file channelstorage.h.

◆ get_by_uniqueid

struct ast_channel *(* get_by_uniqueid) (struct ast_channelstorage_instance *driver, const char *uniqueid)

Definition at line 54 of file channelstorage.h.

◆ handle

Definition at line 46 of file channelstorage.h.

Referenced by close_instance(), and get_instance().

◆ insert

int(* insert) (struct ast_channelstorage_instance *driver, struct ast_channel *chan, int flags, int lock)

Definition at line 49 of file channelstorage.h.

◆ iterator_all_new

struct ast_channel_iterator *(* iterator_all_new) (struct ast_channelstorage_instance *driver)

Definition at line 54 of file channelstorage.h.

◆ iterator_by_exten_new

struct ast_channel_iterator *(* iterator_by_exten_new) (struct ast_channelstorage_instance *driver, const char *exten, const char *context)

Definition at line 54 of file channelstorage.h.

◆ iterator_by_name_new

struct ast_channel_iterator *(* iterator_by_name_new) (struct ast_channelstorage_instance *driver, const char *driver_name, size_t name_len)

Definition at line 54 of file channelstorage.h.

◆ iterator_destroy

struct ast_channel_iterator *(* iterator_destroy) (struct ast_channelstorage_instance *driver, struct ast_channel_iterator *i)

Definition at line 54 of file channelstorage.h.

◆ iterator_next

struct ast_channel *(* iterator_next) (struct ast_channelstorage_instance *driver, struct ast_channel_iterator *i)

Definition at line 54 of file channelstorage.h.

◆ lock_handle

void* lock_handle

Definition at line 47 of file channelstorage.h.

◆ name

char name[0]

◆ rdlock

void(* rdlock) (struct ast_channelstorage_instance *driver)

Definition at line 51 of file channelstorage.h.

◆ remove

int(* remove) (struct ast_channelstorage_instance *driver, struct ast_channel *chan, int lock)

Definition at line 50 of file channelstorage.h.

◆ unlock

void(* unlock) (struct ast_channelstorage_instance *driver)

Definition at line 53 of file channelstorage.h.

◆ wrlock

void(* wrlock) (struct ast_channelstorage_instance *driver)

Definition at line 52 of file channelstorage.h.


The documentation for this struct was generated from the following file: