Apache2
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_thread_mutex.h"
#include "apr_time.h"
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/socket.h>
Include dependency graph for apr_arch_file_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  apr_rotating_info_t
 
struct  apr_file_t
 
struct  apr_dir_t
 

Macros

#define APR_FILE_DEFAULT_BUFSIZE   4096
 
#define APR_FILE_BUFSIZE   APR_FILE_DEFAULT_BUFSIZE
 
#define file_lock(f)
 
#define file_unlock(f)
 

Typedefs

typedef struct apr_rotating_info_t apr_rotating_info_t
 
typedef struct stat struct_stat
 

Functions

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

◆ APR_FILE_DEFAULT_BUFSIZE

#define APR_FILE_DEFAULT_BUFSIZE   4096

◆ file_lock

#define file_lock (   f)
Value:
do { \
if ((f)->thlock) \
apr_thread_mutex_lock((f)->thlock); \
} while (0)

◆ file_unlock

#define file_unlock (   f)
Value:
do { \
if ((f)->thlock) \
apr_thread_mutex_unlock((f)->thlock); \
} while (0)

Typedef Documentation

◆ apr_rotating_info_t

◆ struct_stat

typedef struct stat struct_stat

Function Documentation

◆ apr_file_flush_locked()

apr_status_t apr_file_flush_locked ( apr_file_t thefile)

◆ 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 
)

◆ apr_unix_child_file_cleanup()

apr_status_t apr_unix_child_file_cleanup ( void *  )

◆ apr_unix_file_cleanup()

apr_status_t apr_unix_file_cleanup ( void *  )

◆ apr_unix_mode2perms()

apr_fileperms_t apr_unix_mode2perms ( mode_t  mode)

◆ apr_unix_perms2mode()

mode_t apr_unix_perms2mode ( apr_fileperms_t  perms)