Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

File Open Flags/Routines
[File I/O Handling Functions]


Defines

#define SWITCH_FOPEN_READ   0x00001
#define SWITCH_FOPEN_WRITE   0x00002
#define SWITCH_FOPEN_CREATE   0x00004
#define SWITCH_FOPEN_APPEND   0x00008
#define SWITCH_FOPEN_TRUNCATE   0x00010
#define SWITCH_FOPEN_BINARY   0x00020
#define SWITCH_FOPEN_EXCL   0x00040
#define SWITCH_FOPEN_BUFFERED   0x00080
#define SWITCH_FOPEN_DELONCLOSE   0x00100
#define SWITCH_FOPEN_XTHREAD   0x00200
#define SWITCH_FOPEN_SHARELOCK   0x00400
#define SWITCH_FOPEN_NOCLEANUP   0x00800
#define SWITCH_FOPEN_SENDFILE_ENABLED   0x01000
#define SWITCH_FOPEN_LARGEFILE   0x04000


Define Documentation

#define SWITCH_FOPEN_APPEND   0x00008
 

Append to the end of the file

#define SWITCH_FOPEN_BINARY   0x00020
 

Open the file in binary mode

#define SWITCH_FOPEN_BUFFERED   0x00080
 

Open the file for buffered I/O

#define SWITCH_FOPEN_CREATE   0x00004
 

Create the file if not there

#define SWITCH_FOPEN_DELONCLOSE   0x00100
 

Delete the file after close

#define SWITCH_FOPEN_EXCL   0x00040
 

Open should fail if APR_CREATE and file exists.

#define SWITCH_FOPEN_LARGEFILE   0x04000
 

Platform dependent flag to enable large file support

#define SWITCH_FOPEN_NOCLEANUP   0x00800
 

Do not register a cleanup when the file is opened

#define SWITCH_FOPEN_READ   0x00001
 

Open the file for reading

#define SWITCH_FOPEN_SENDFILE_ENABLED   0x01000
 

Advisory flag that this file should support apr_socket_sendfile operation

#define SWITCH_FOPEN_SHARELOCK   0x00400
 

Platform dependent support for higher level locked read/write access to support writes across process/machines

#define SWITCH_FOPEN_TRUNCATE   0x00010
 

Open the file and truncate to 0 length

#define SWITCH_FOPEN_WRITE   0x00002
 

Open the file for writing

#define SWITCH_FOPEN_XTHREAD   0x00200
 

Platform dependent tag to open the file for use across multiple threads


Generated on Fri Oct 10 11:24:23 2008 for FreeSWITCH by  doxygen 1.3.9.1