Thu Apr 28 2011 16:57:20

Asterisk developer's documentation


ast_bridge Struct Reference

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

#include <bridging.h>

Collaboration diagram for ast_bridge:

Data Fields

struct ast_channel ** array
size_t array_num
size_t array_size
void * bridge_pvt
struct {
   struct ast_bridge_channel *   first
   struct ast_bridge_channel *   last
channels
struct ast_flags feature_flags
struct ast_bridge_features features
int num
unsigned int refresh:1
unsigned int stop:1
struct 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.


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 ast_bridge_new(), 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 ast_bridge_new(), and bridge_array_add().

Bridge flags to tweak behavior

Definition at line 159 of file bridging.h.

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

Enabled features information

Definition at line 167 of file bridging.h.

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

Definition at line 175 of file bridging.h.

Definition at line 175 of file bridging.h.

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().

pthread_t thread

Thread running the bridge

Definition at line 165 of file bridging.h.

Referenced by ast_bridge_merge(), ast_bridge_new(), 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: