Wed Oct 28 11:46:42 2009

Asterisk developer's documentation


ast_filestream Struct Reference

This structure is allocated by file.c in one chunk, together with buf_size and desc_size bytes of memory to be used for private purposes (e.g. buffers etc.). More...

#include <mod_format.h>

Collaboration diagram for ast_filestream:

Collaboration graph
[legend]

Data Fields

void * _private
char * buf
FILE * f
char * filename
int flags
struct ast_formatfmt
struct ast_frame fr
int lasttimeout
int lastwriteformat
mode_t mode
const char * orig_chan_name
struct ast_channelowner
char * realfilename
struct ast_tranlator_pvt * tr
struct ast_trans_pvttrans
struct ast_filestreamvfs

Detailed Description

This structure is allocated by file.c in one chunk, together with buf_size and desc_size bytes of memory to be used for private purposes (e.g. buffers etc.).

Definition at line 100 of file mod_format.h.


Field Documentation

void* _private

char* buf

FILE* f

char* filename

int flags

Definition at line 103 of file mod_format.h.

Referenced by ast_readfile(), ast_writefile(), and ast_writestream().

struct ast_format* fmt [read]

struct ast_frame fr [read]

Definition at line 113 of file mod_format.h.

Referenced by ast_filehelper(), ast_readaudio_callback(), and ast_readvideo_callback().

Definition at line 112 of file mod_format.h.

Referenced by ast_writestream().

mode_t mode

Definition at line 104 of file mod_format.h.

Referenced by ast_readfile(), ast_writefile(), and ast_writestream().

const char* orig_chan_name

struct ast_channel* owner [read]

char* realfilename

Definition at line 106 of file mod_format.h.

Referenced by ast_writefile(), and filestream_destructor().

struct ast_tranlator_pvt* tr [read]

Definition at line 111 of file mod_format.h.

struct ast_trans_pvt* trans [read]

Transparently translate from another format -- just once

Definition at line 110 of file mod_format.h.

Referenced by ast_filehelper(), ast_readfile(), ast_writefile(), ast_writestream(), and filestream_destructor().

struct ast_filestream* vfs [read]


The documentation for this struct was generated from the following file:

Generated on Wed Oct 28 11:46:42 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6