46 #define AP_SOCACHE_FLAG_NOTMPSAFE (0x0001)
80 const unsigned char *id,
82 const unsigned char *data,
153 const unsigned char *id,
unsigned int idlen,
155 unsigned char *data,
unsigned int datalen,
173 const unsigned char *id,
unsigned int idlen,
174 unsigned char *data,
unsigned int *datalen,
187 const unsigned char *id,
unsigned int idlen,
219 #define AP_SOCACHE_PROVIDER_GROUP "socache"
221 #define AP_SOCACHE_PROVIDER_VERSION "0"
224 #define AP_SOCACHE_DEFAULT_PROVIDER "default"
apr_status_t() ap_socache_iterator_t(ap_socache_instance_t *instance, server_rec *s, void *userctx, const unsigned char *id, unsigned int idlen, const unsigned char *data, unsigned int datalen, apr_pool_t *pool)
Definition: ap_socache.h:77
struct ap_socache_instance_t ap_socache_instance_t
Definition: ap_socache.h:49
struct ap_socache_provider_t ap_socache_provider_t
request_rec * r
Definition: mod_dav.h:518
const char * s
Definition: mod_dav.h:1327
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
apr_int64_t apr_time_t
Definition: apr_time.h:45
Definition: ap_socache.h:53
apr_size_t avg_id_len
Definition: ap_socache.h:55
apr_size_t avg_obj_size
Definition: ap_socache.h:57
apr_interval_time_t expiry_interval
Definition: ap_socache.h:59
Definition: ap_socache.h:89
apr_status_t(* store)(ap_socache_instance_t *instance, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *data, unsigned int datalen, apr_pool_t *pool)
Definition: ap_socache.h:152
unsigned int flags
Definition: ap_socache.h:94
void(* status)(ap_socache_instance_t *instance, request_rec *r, int flags)
Definition: ap_socache.h:199
const char * name
Definition: ap_socache.h:91
apr_status_t(* remove)(ap_socache_instance_t *instance, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *pool)
Definition: ap_socache.h:186
apr_status_t(* iterate)(ap_socache_instance_t *instance, server_rec *s, void *userctx, ap_socache_iterator_t *iterator, apr_pool_t *pool)
Definition: ap_socache.h:212
void(* destroy)(ap_socache_instance_t *instance, server_rec *s)
Definition: ap_socache.h:138
apr_status_t(* init)(ap_socache_instance_t *instance, const char *cname, const struct ap_socache_hints *hints, server_rec *s, apr_pool_t *pool)
Definition: ap_socache.h:129
apr_status_t(* retrieve)(ap_socache_instance_t *instance, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *data, unsigned int *datalen, apr_pool_t *pool)
Definition: ap_socache.h:172
A structure that represents the current request.
Definition: httpd.h:856
A structure to store information for each virtual server.
Definition: httpd.h:1382