Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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

Typedef Documentation

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
typedef unsigned int ap_slotmem_type_t