Sun Oct 16 2011 08:43:12

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.


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

size_t array_num

Number of channels in the above array

Definition at line 171 of file bridging.h.

Referenced by softmix_bridge_thread(), bridge_array_add(), bridge_array_remove(), generic_thread_loop(), and 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(), and ast_bridge_new().

Bridge flags to tweak behavior

Definition at line 159 of file bridging.h.

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

Enabled features information

Definition at line 167 of file bridging.h.

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

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 bridge_channel_join(), and ast_bridge_merge().

unsigned int refresh

Bit to indicate the bridge thread should refresh itself

Definition at line 157 of file bridging.h.

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

unsigned int stop

Bit to indicate the bridge thread should stop

Definition at line 155 of file bridging.h.

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

pthread_t thread

Thread running the bridge

Definition at line 165 of file bridging.h.

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

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: