Apache HTTPD
Functions | Variables
apr_buckets_file.c File Reference
#include "apr.h"
#include "apr_general.h"
#include "apr_file_io.h"
#include "apr_buckets.h"

Go to the source code of this file.

Functions

static void file_bucket_destroy (void *data)
 
static apr_status_t file_bucket_read (apr_bucket *e, const char **str, apr_size_t *len, apr_read_type_e block)
 
 APU_DECLARE (apr_bucket *)
 
 APU_DECLARE (apr_status_t)
 
static apr_status_t file_bucket_setaside (apr_bucket *b, apr_pool_t *reqpool)
 

Variables

APU_DECLARE_DATA const apr_bucket_type_t apr_bucket_type_file
 

Function Documentation

◆ APU_DECLARE() [1/2]

APU_DECLARE ( apr_bucket )

Definition at line 154 of file apr_buckets_file.c.

◆ APU_DECLARE() [2/2]

APU_DECLARE ( int  )

Most DBM libraries take a POSIX mode for creating files. Don't trust the mode_t type, some platforms may not support it, int is safe.

< Shared lock. More than one process or thread can hold a shared lock at any given time. Essentially, this is a "read lock", preventing writers from establishing an exclusive lock.

Definition at line 187 of file apr_buckets_file.c.

◆ file_bucket_destroy()

static void file_bucket_destroy ( void *  data)
static

Definition at line 32 of file apr_buckets_file.c.

◆ file_bucket_read()

static apr_status_t file_bucket_read ( apr_bucket e,
const char **  str,
apr_size_t len,
apr_read_type_e  block 
)
static

Definition at line 75 of file apr_buckets_file.c.

◆ file_bucket_setaside()

static apr_status_t file_bucket_setaside ( apr_bucket b,
apr_pool_t reqpool 
)
static

Definition at line 215 of file apr_buckets_file.c.