Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

ast_channel_pvt Struct Reference

#include <channel_pvt.h>

Collaboration diagram for ast_channel_pvt:

Collaboration graph
[legend]

Data Fields

void * pvt
ast_framereadq
int alertpipe [2]
ast_trans_pvtwritetrans
ast_trans_pvtreadtrans
int rawreadformat
int rawwriteformat
int(* send_digit )(struct ast_channel *chan, char digit)
int(* call )(struct ast_channel *chan, char *addr, int timeout)
int(* hangup )(struct ast_channel *chan)
int(* answer )(struct ast_channel *chan)
ast_frame *(* read )(struct ast_channel *chan)
int(* write )(struct ast_channel *chan, struct ast_frame *frame)
int(* send_text )(struct ast_channel *chan, char *text)
int(* send_image )(struct ast_channel *chan, struct ast_frame *frame)
int(* send_html )(struct ast_channel *chan, int subclass, char *data, int len)
ast_frame *(* exception )(struct ast_channel *chan)
int(* bridge )(struct ast_channel *c0, struct ast_channel *c1, int flags, struct ast_frame **fo, struct ast_channel **rc)
int(* indicate )(struct ast_channel *c, int condition)
int(* fixup )(struct ast_channel *oldchan, struct ast_channel *newchan)
int(* setoption )(struct ast_channel *chan, int option, void *data, int datalen)
int(* queryoption )(struct ast_channel *chan, int option, void *data, int *datalen)
int(* transfer )(struct ast_channel *chan, char *newdest)
int(* write_video )(struct ast_channel *chan, struct ast_frame *frame)

Field Documentation

int alertpipe[2]
 

Definition at line 28 of file channel_pvt.h.

Referenced by ast_channel_free(), ast_do_masquerade(), ast_queue_frame(), and ast_read().

int(* answer)(struct ast_channel *chan)
 

Answer the line

Referenced by ast_answer().

int(* bridge)(struct ast_channel *c0, struct ast_channel *c1, int flags, struct ast_frame **fo, struct ast_channel **rc)
 

Bridge two channels of the same type together

int(* call)(struct ast_channel *chan, char *addr, int timeout)
 

Call a given phone number (address, etc), but don't take longer than timeout seconds to do so.

Referenced by ast_call().

struct ast_frame*(* exception)(struct ast_channel *chan)
 

Handle an exception, reading a frame

Referenced by ast_read().

int(* fixup)(struct ast_channel *oldchan, struct ast_channel *newchan)
 

Fix up a channel: If a channel is consumed, this is called. Basically update any ->owner links

Referenced by ast_do_masquerade().

int(* hangup)(struct ast_channel *chan)
 

Hangup (and possibly destroy) the channel

Referenced by ast_hangup().

int(* indicate)(struct ast_channel *c, int condition)
 

Indicate a particular condition (e.g. AST_CONTROL_BUSY or AST_CONTROL_RINGING or AST_CONTROL_CONGESTION

Referenced by ast_indicate().

void* pvt
 

Private data used by channel backend

Definition at line 26 of file channel_pvt.h.

Referenced by ast_channel_free(), ast_check_hangup(), ast_do_masquerade(), and ast_rtp_bridge().

int(* queryoption)(struct ast_channel *chan, int option, void *data, int *datalen)
 

Query a given option

int rawreadformat
 

Raw read format

Definition at line 34 of file channel_pvt.h.

Referenced by ast_set_read_format().

int rawwriteformat
 

Raw write format

Definition at line 36 of file channel_pvt.h.

Referenced by ast_prod(), and ast_set_write_format().

struct ast_frame*(* read)(struct ast_channel *chan)
 

Read a frame, in standard format

Referenced by ast_read().

struct ast_frame* readq
 

Definition at line 27 of file channel_pvt.h.

Referenced by ast_channel_free(), ast_do_masquerade(), ast_queue_frame(), and ast_read().

struct ast_trans_pvt* readtrans
 

Read translation path

Definition at line 32 of file channel_pvt.h.

Referenced by ast_channel_free(), ast_read(), and ast_set_read_format().

int(* send_digit)(struct ast_channel *chan, char digit)
 

Send a literal DTMF digit

int(* send_html)(struct ast_channel *chan, int subclass, char *data, int len)
 

Send HTML data

Referenced by ast_channel_sendhtml(), ast_channel_sendurl(), and ast_channel_supports_html().

int(* send_image)(struct ast_channel *chan, struct ast_frame *frame)
 

Display or send an image

Referenced by ast_send_image(), and ast_supports_images().

int(* send_text)(struct ast_channel *chan, char *text)
 

Display or transmit text

Referenced by ast_sendtext(), and ast_write().

int(* setoption)(struct ast_channel *chan, int option, void *data, int datalen)
 

Set a given option

Referenced by ast_channel_setoption().

int(* transfer)(struct ast_channel *chan, char *newdest)
 

Blind transfer other side

Referenced by ast_transfer().

int(* write)(struct ast_channel *chan, struct ast_frame *frame)
 

Write a frame, in standard format

Referenced by ast_write().

int(* write_video)(struct ast_channel *chan, struct ast_frame *frame)
 

Write a frame, in standard format

Referenced by ast_write(), and ast_write_video().

struct ast_trans_pvt* writetrans
 

Write translation path

Definition at line 30 of file channel_pvt.h.

Referenced by ast_channel_free(), ast_set_write_format(), and ast_write().


The documentation for this struct was generated from the following file:
Generated on Sat Jun 12 16:41:52 2004 for Asterisk by doxygen 1.3.7