Wed Apr 6 11:30:12 2011

Asterisk developer's documentation


ast_bridge Struct Reference

Structure that contains information about a bridge. More...

#include <bridging.h>


Public Member Functions

 AST_LIST_HEAD_NOLOCK (, ast_bridge_channel) channels

Data Fields

ast_channel ** array
size_t array_num
size_t array_size
void * bridge_pvt
ast_flags feature_flags
ast_bridge_features features
int num
unsigned int refresh:1
unsigned int stop:1
ast_bridge_technologytechnology
pthread_t thread
unsigned int waiting:1


Detailed Description

Structure that contains information about a bridge.

Definition at line 149 of file bridging.h.


Member Function Documentation

AST_LIST_HEAD_NOLOCK ( ast_bridge_channel   ) 

Linked list of channels participating in the bridge


Field Documentation

struct ast_channel** array

Array of channels that the bridge thread is currently handling

Definition at line 169 of file bridging.h.

Referenced by bridge_array_add(), bridge_array_remove(), destroy_bridge(), and generic_thread_loop().

size_t array_num

Number of channels in the above array

Definition at line 171 of file bridging.h.

Referenced by bridge_array_add(), bridge_array_remove(), bridge_thread(), generic_thread_loop(), and softmix_bridge_thread().

size_t array_size

Number of channels the array can handle

Definition at line 173 of file bridging.h.

Referenced by bridge_array_add().

void* bridge_pvt

Private information unique to the bridge technology

Definition at line 163 of file bridging.h.

Referenced by multiplexed_bridge_create(), multiplexed_bridge_destroy(), multiplexed_bridge_join(), multiplexed_bridge_leave(), multiplexed_bridge_suspend(), multiplexed_bridge_unsuspend(), smart_bridge_operation(), softmix_bridge_create(), softmix_bridge_destroy(), and softmix_bridge_thread().

struct ast_flags feature_flags

Bridge flags to tweak behavior

Definition at line 159 of file bridging.h.

Referenced by ast_bridge_merge(), bridge_channel_join(), and bridge_check_dissolve().

struct ast_bridge_features features

Enabled features information

Definition at line 167 of file bridging.h.

Referenced by ast_bridge_handle_trip(), ast_bridge_impart(), ast_bridge_join(), bridge_channel_feature(), bridge_handle_dtmf(), and destroy_bridge().

int num

Number of channels participating in the bridge

Definition at line 151 of file bridging.h.

Referenced by ast_bridge_merge(), and bridge_channel_join().

unsigned int refresh

Bit to indicate the bridge thread should refresh itself

Definition at line 157 of file bridging.h.

Referenced by bridge_thread(), generic_thread_loop(), smart_bridge_operation(), and softmix_bridge_thread().

unsigned int stop

Bit to indicate the bridge thread should stop

Definition at line 155 of file bridging.h.

Referenced by ast_bridge_destroy(), bridge_channel_join(), bridge_check_dissolve(), bridge_thread(), generic_thread_loop(), smart_bridge_operation(), and softmix_bridge_thread().

struct ast_bridge_technology* technology

Bridge technology that is handling the bridge

Definition at line 161 of file bridging.h.

Referenced by ast_bridge_handle_trip(), ast_bridge_merge(), bridge_channel_join(), bridge_channel_join_multithreaded(), bridge_channel_suspend(), bridge_channel_unsuspend(), bridge_make_compatible(), bridge_thread(), destroy_bridge(), and smart_bridge_operation().

pthread_t thread

Thread running the bridge

Definition at line 165 of file bridging.h.

Referenced by ast_bridge_merge(), bridge_channel_join(), bridge_poke(), bridge_thread(), and smart_bridge_operation().

unsigned int waiting

Bit to indicate that the bridge thread is waiting on channels in the bridge array

Definition at line 153 of file bridging.h.

Referenced by bridge_array_add(), bridge_array_remove(), and generic_thread_loop().


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 11:30:12 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7