58 #ifndef _ASTERISK_BRIDGING_H
59 #define _ASTERISK_BRIDGING_H
61 #if defined(__cplusplus) || defined(c_plusplus)
153 unsigned int waiting:1;
356 int ast_bridge_merge(struct ast_bridge *bridge0, struct ast_bridge *bridge1);
422 #if defined(__cplusplus) || defined(c_plusplus)
ast_bridge_capability
Capabilities for a bridge technology.
Main Channel structure associated with a channel.
struct ast_bridge_features * features
int ast_bridge_check(enum ast_bridge_capability capabilities)
See if it is possible to create a bridge.
enum ast_bridge_channel_state ast_bridge_join(struct ast_bridge *bridge, struct ast_channel *chan, struct ast_channel *swap, struct ast_bridge_features *features)
Join (blocking) a channel to a bridge.
Structure that contains features information.
static struct aji_capabilities * capabilities
AST_LIST_ENTRY(ast_bridge_channel) entry
struct ast_bridge * ast_bridge_new(enum ast_bridge_capability capabilities, int flags)
Create a new bridge.
int ast_bridge_depart(struct ast_bridge *bridge, struct ast_channel *chan)
Depart a channel from a bridge.
int ast_bridge_destroy(struct ast_bridge *bridge)
Destroy a bridge.
struct ast_bridge * bridge
pthread_cond_t ast_cond_t
struct ast_bridge_technology * technology
void ast_bridge_change_state(struct ast_bridge_channel *bridge_channel, enum ast_bridge_channel_state new_state)
Change the state of a bridged channel.
int ast_bridge_impart(struct ast_bridge *bridge, struct ast_channel *chan, struct ast_channel *swap, struct ast_bridge_features *features)
Impart (non-blocking) a channel on a bridge.
int ast_bridge_merge(struct ast_bridge *bridge0, struct ast_bridge *bridge1)
Merge two bridges together.
static struct channel_usage channels
int ast_bridge_suspend(struct ast_bridge *bridge, struct ast_channel *chan)
Suspend a channel temporarily from a bridge.
#define AST_LIST_HEAD_NOLOCK(name, type)
Defines a structure to be used to hold a list of specified type (with no lock).
Structure that contains information about a bridge.
int ast_bridge_remove(struct ast_bridge *bridge, struct ast_channel *chan)
Remove a channel from a bridge.
struct ast_channel ** array
struct ast_channel * swap
Structure used to handle boolean flags.
struct ast_channel * chan
Structure that contains information regarding a channel in a bridge.
Structure that is the essence of a bridge technology.
ast_bridge_write_result
Return values for bridge technology write function.
ast_bridge_channel_state
State information about a bridged channel.
enum ast_bridge_channel_state state
int ast_bridge_unsuspend(struct ast_bridge *bridge, struct ast_channel *chan)
Unsuspend a channel from a bridge.
Structure for mutex and tracking information.