Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
apr_arch_file_io.h File Reference
#include "apr.h"
#include "apr_private.h"
#include "apr_general.h"
#include "apr_tables.h"
#include "apr_file_io.h"
#include "apr_file_info.h"
#include "apr_errno.h"
#include "apr_lib.h"
#include "apr_poll.h"
#include "apr_time.h"
#include <sys/stat.h>
#include <fsio.h>
Include dependency graph for apr_arch_file_io.h:

Go to the source code of this file.

Data Structures

struct  apr_rotating_info_t
 
struct  apr_file_t
 
struct  apr_dir_t
 
struct  apr_stat_entry_t
 

Macros

#define APR_FILE_DEFAULT_BUFSIZE   4096
 
#define APR_FILE_BUFSIZE   APR_FILE_DEFAULT_BUFSIZE
 
#define file_lock(f)
 
#define file_unlock(f)
 
#define lseek(f, o, w)   lseek64(f,o,w)
 
#define ftruncate(f, l)   ftruncate64(f,l)
 
#define MAX_SERVER_NAME   64
 
#define MAX_VOLUME_NAME   64
 
#define MAX_PATH_NAME   256
 
#define MAX_FILE_NAME   256
 
#define DRIVE_ONLY   1
 

Typedefs

typedef struct stat struct_stat
 
typedef struct apr_rotating_info_t apr_rotating_info_t
 
typedef struct apr_stat_entry_t apr_stat_entry_t
 

Functions

apr_status_t filepath_root_case (char **rootpath, char *root, apr_pool_t *p)
 
apr_status_t filepath_has_drive (const char *rootpath, int only, apr_pool_t *p)
 
apr_status_t filepath_compare_drive (const char *path1, const char *path2, apr_pool_t *p)
 
apr_status_t apr_unix_file_cleanup (void *)
 
apr_status_t apr_unix_child_file_cleanup (void *)
 
mode_t apr_unix_perms2mode (apr_fileperms_t perms)
 
apr_fileperms_t apr_unix_mode2perms (mode_t mode)
 
apr_status_t apr_file_flush_locked (apr_file_t *thefile)
 
apr_status_t apr_file_info_get_locked (apr_finfo_t *finfo, apr_int32_t wanted, apr_file_t *thefile)
 

Macro Definition Documentation

#define APR_FILE_BUFSIZE   APR_FILE_DEFAULT_BUFSIZE
#define APR_FILE_DEFAULT_BUFSIZE   4096
#define DRIVE_ONLY   1
#define file_lock (   f)
Value:
do { \
if ((f)->thlock) \
apr_thread_mutex_lock((f)->thlock); \
} while (0)
apr_status_t apr_thread_mutex_lock(apr_thread_mutex_t *mutex)
#define file_unlock (   f)
Value:
do { \
if ((f)->thlock) \
apr_thread_mutex_unlock((f)->thlock); \
} while (0)
apr_status_t apr_thread_mutex_unlock(apr_thread_mutex_t *mutex)
#define ftruncate (   f,
 
)    ftruncate64(f,l)
#define lseek (   f,
  o,
 
)    lseek64(f,o,w)
#define MAX_FILE_NAME   256
#define MAX_PATH_NAME   256
#define MAX_SERVER_NAME   64
#define MAX_VOLUME_NAME   64

Typedef Documentation

typedef struct stat struct_stat

Function Documentation

apr_status_t apr_file_flush_locked ( apr_file_t thefile)
apr_status_t apr_file_info_get_locked ( apr_finfo_t finfo,
apr_int32_t  wanted,
apr_file_t thefile 
)
apr_status_t apr_unix_child_file_cleanup ( void )
apr_status_t apr_unix_file_cleanup ( void )
apr_fileperms_t apr_unix_mode2perms ( mode_t  mode)
mode_t apr_unix_perms2mode ( apr_fileperms_t  perms)
apr_status_t filepath_compare_drive ( const char *  path1,
const char *  path2,
apr_pool_t p 
)
apr_status_t filepath_has_drive ( const char *  rootpath,
int  only,
apr_pool_t p 
)
apr_status_t filepath_root_case ( char **  rootpath,
char *  root,
apr_pool_t p 
)