Apache2
Collaboration diagram for mem:

Data Structures

struct  ap_slotmem_provider_t
 

Macros

#define AP_SLOTMEM_PROVIDER_GROUP   "slotmem"
 
#define AP_SLOTMEM_PROVIDER_VERSION   "0"
 
#define AP_SLOTMEM_TYPE_PERSIST   (1 << 0)
 
#define AP_SLOTMEM_TYPE_NOTMPSAFE   (1 << 1)
 
#define AP_SLOTMEM_TYPE_PREGRAB   (1 << 2)
 
#define AP_SLOTMEM_TYPE_CLEARINUSE   (1 << 3)
 

Typedefs

typedef unsigned int ap_slotmem_type_t
 
typedef struct ap_slotmem_instance_t ap_slotmem_instance_t
 
typedef apr_status_t ap_slotmem_callback_fn_t(void *mem, void *data, apr_pool_t *pool)
 
typedef struct ap_slotmem_provider_t ap_slotmem_provider_t
 

Detailed Description

Macro Definition Documentation

◆ AP_SLOTMEM_PROVIDER_GROUP

#define AP_SLOTMEM_PROVIDER_GROUP   "slotmem"

◆ AP_SLOTMEM_PROVIDER_VERSION

#define AP_SLOTMEM_PROVIDER_VERSION   "0"

◆ AP_SLOTMEM_TYPE_CLEARINUSE

#define AP_SLOTMEM_TYPE_CLEARINUSE   (1 << 3)

◆ AP_SLOTMEM_TYPE_NOTMPSAFE

#define AP_SLOTMEM_TYPE_NOTMPSAFE   (1 << 1)

◆ AP_SLOTMEM_TYPE_PERSIST

#define AP_SLOTMEM_TYPE_PERSIST   (1 << 0)

◆ AP_SLOTMEM_TYPE_PREGRAB

#define AP_SLOTMEM_TYPE_PREGRAB   (1 << 2)

Typedef Documentation

◆ ap_slotmem_callback_fn_t

typedef apr_status_t ap_slotmem_callback_fn_t(void *mem, void *data, apr_pool_t *pool)

callback function used for slotmem doall.

Parameters
memis the memory associated with a worker.
datais what is passed to slotmem.
poolis pool used
Returns
APR_SUCCESS if all went well

◆ ap_slotmem_instance_t

◆ ap_slotmem_provider_t

◆ ap_slotmem_type_t

typedef unsigned int ap_slotmem_type_t