Apache HTTPD
Classes | Macros | Typedefs | Functions
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 <fsio.h>

Go to the source code of this file.

Classes

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)   do {} while (0)
 
#define file_unlock(f)   do {} while (0)
 
#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_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

◆ APR_FILE_BUFSIZE

#define APR_FILE_BUFSIZE   APR_FILE_DEFAULT_BUFSIZE

Definition at line 74 of file apr_arch_file_io.h.

◆ APR_FILE_DEFAULT_BUFSIZE

#define APR_FILE_DEFAULT_BUFSIZE   4096

Definition at line 72 of file apr_arch_file_io.h.

◆ DRIVE_ONLY

#define DRIVE_ONLY   1

Definition at line 145 of file apr_arch_file_io.h.

◆ file_lock

#define file_lock (   f)    do {} while (0)

Definition at line 86 of file apr_arch_file_io.h.

◆ file_unlock

#define file_unlock (   f)    do {} while (0)

Definition at line 87 of file apr_arch_file_io.h.

◆ MAX_FILE_NAME

#define MAX_FILE_NAME   256

Definition at line 143 of file apr_arch_file_io.h.

◆ MAX_PATH_NAME

#define MAX_PATH_NAME   256

Definition at line 142 of file apr_arch_file_io.h.

◆ MAX_SERVER_NAME

#define MAX_SERVER_NAME   64

Definition at line 140 of file apr_arch_file_io.h.

◆ MAX_VOLUME_NAME

#define MAX_VOLUME_NAME   64

Definition at line 141 of file apr_arch_file_io.h.

Typedef Documentation

◆ apr_stat_entry_t

Definition at line 131 of file apr_arch_file_io.h.

◆ struct_stat

Definition at line 95 of file apr_arch_file_io.h.

Function Documentation

◆ apr_file_flush_locked()

apr_status_t apr_file_flush_locked ( apr_file_t thefile)

Definition at line 313 of file readwrite.c.

◆ apr_file_info_get_locked()

apr_status_t apr_file_info_get_locked ( apr_finfo_t finfo,
apr_int32_t  wanted,
apr_file_t thefile 
)

Definition at line 85 of file filestat.c.

◆ apr_unix_child_file_cleanup()

apr_status_t apr_unix_child_file_cleanup ( void *  thefile)

Definition at line 85 of file open.c.

◆ apr_unix_file_cleanup()

apr_status_t apr_unix_file_cleanup ( void *  thefile)

Definition at line 71 of file open.c.

◆ apr_unix_mode2perms()

apr_fileperms_t apr_unix_mode2perms ( mode_t  mode)

Definition at line 71 of file fileacc.c.

◆ apr_unix_perms2mode()

mode_t apr_unix_perms2mode ( apr_fileperms_t  perms)

Definition at line 35 of file fileacc.c.

◆ filepath_compare_drive()

apr_status_t filepath_compare_drive ( const char path1,
const char path2,
apr_pool_t p 
)

Definition at line 49 of file filesys.c.

◆ filepath_has_drive()

apr_status_t filepath_has_drive ( const char rootpath,
int  only,
apr_pool_t p 
)

Definition at line 31 of file filesys.c.

◆ filepath_root_case()

apr_status_t filepath_root_case ( char **  rootpath,
char root,
apr_pool_t p 
)

Definition at line 21 of file filesys.c.