17 #ifndef APR_MEMCACHE_H
18 #define APR_MEMCACHE_H
65 #if APR_HAS_THREADS || defined(DOXYGEN)
void * server_baton
Definition: apr_memcache.h:107
apr_uint16_t ntotal
Definition: apr_memcache.h:102
Definition: apr_memcache.h:98
apr_uint32_t total_connections
Definition: apr_memcache.h:403
apr_uint32_t flags
Definition: apr_memcache.h:100
apr_memcache_hash_func hash_func
Definition: apr_memcache.h:106
Definition: apr_arch_thread_mutex.h:28
apr_status_t status
Definition: apr_memcache.h:114
apr_uint16_t nalloc
Definition: apr_memcache.h:101
apr_status_t apr_memcache_decr(apr_memcache_t *mc, const char *key, apr_int32_t n, apr_uint32_t *new_value)
apr_uint64_t evictions
Definition: apr_memcache.h:416
struct apr_reslist_t apr_reslist_t
Definition: apr_reslist.h:42
apr_status_t apr_memcache_server_create(apr_pool_t *p, const char *host, apr_port_t port, apr_uint32_t min, apr_uint32_t smax, apr_uint32_t max, apr_uint32_t ttl, apr_memcache_server_t **ns)
void * hash_baton
Definition: apr_memcache.h:105
apr_uint32_t connection_structures
Definition: apr_memcache.h:405
apr_status_t apr_memcache_enable_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
apr_uint32_t limit_maxbytes
Definition: apr_memcache.h:422
apr_status_t apr_memcache_replace(apr_memcache_t *mc, const char *key, char *baton, const apr_size_t data_size, apr_uint32_t timeout, apr_uint16_t flags)
apr_uint32_t threads
Definition: apr_memcache.h:424
apr_size_t len
Definition: apr_memcache.h:116
Definition: apr_memcache.h:60
apr_uint32_t pointer_size
Definition: apr_memcache.h:389
apr_memcache_server_t * apr_memcache_find_server_hash_default(void *baton, apr_memcache_t *mc, const apr_uint32_t hash)
apr_uint32_t get_hits
Definition: apr_memcache.h:411
apr_uint32_t apr_memcache_hash(apr_memcache_t *mc, const char *data, const apr_size_t data_len)
APR-UTIL Resource List Routines.
apr_uint32_t get_misses
Definition: apr_memcache.h:413
apr_uint32_t curr_items
Definition: apr_memcache.h:395
apr_status_t apr_memcache_set(apr_memcache_t *mc, const char *key, char *baton, const apr_size_t data_size, apr_uint32_t timeout, apr_uint16_t flags)
apr_status_t apr_memcache_stats(apr_memcache_server_t *ms, apr_pool_t *p, apr_memcache_stats_t **stats)
apr_int64_t apr_time_t
Definition: apr_time.h:45
const char * version
Definition: apr_memcache.h:381
apr_status_t apr_memcache_disable_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
apr_time_t rusage_system
Definition: apr_memcache.h:393
apr_status_t apr_memcache_create(apr_pool_t *p, apr_uint16_t max_servers, apr_uint32_t flags, apr_memcache_t **mc)
const char * key
Definition: apr_memcache.h:115
apr_uint32_t curr_connections
Definition: apr_memcache.h:401
apr_pool_t * p
Definition: apr_memcache.h:104
void apr_memcache_add_multget_key(apr_pool_t *data_pool, const char *key, apr_hash_t **values)
APR-UTIL Buckets/Bucket Brigades.
apr_uint64_t bytes_written
Definition: apr_memcache.h:420
apr_memcache_server_t *(* apr_memcache_server_func)(void *baton, apr_memcache_t *mc, const apr_uint32_t hash)
Definition: apr_memcache.h:93
APR Platform Definitions.
struct apr_hash_t apr_hash_t
Definition: apr_hash.h:52
apr_port_t port
Definition: apr_memcache.h:63
apr_memcache_server_t ** live_servers
Definition: apr_memcache.h:103
struct apr_memcache_conn_t apr_memcache_conn_t
Definition: apr_memcache.h:56
apr_uint32_t cmd_get
Definition: apr_memcache.h:407
Definition: apr_memcache.h:112
apr_uint32_t total_items
Definition: apr_memcache.h:397
apr_time_t time
Definition: apr_memcache.h:387
apr_uint32_t(* apr_memcache_hash_func)(void *baton, const char *data, const apr_size_t data_len)
Definition: apr_memcache.h:82
Definition: apr_memcache.h:378
apr_status_t apr_memcache_incr(apr_memcache_t *mc, const char *key, apr_int32_t n, apr_uint32_t *nv)
#define APR_DECLARE(x)
Definition: macros.h:6
apr_time_t rusage_user
Definition: apr_memcache.h:391
apr_time_t btime
Definition: apr_memcache.h:74
apr_uint32_t apr_memcache_hash_crc32(void *baton, const char *data, const apr_size_t data_len)
apr_pool_t * p
Definition: apr_memcache.h:70
apr_memcache_server_status_t status
Definition: apr_memcache.h:64
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
Definition: apr_memcache.h:52
apr_status_t apr_memcache_getp(apr_memcache_t *mc, apr_pool_t *p, const char *key, char **baton, apr_size_t *len, apr_uint16_t *flags)
int apr_status_t
Definition: apr_errno.h:44
apr_uint16_t apr_port_t
Definition: apr_network_io.h:257
apr_memcache_server_status_t
Definition: apr_memcache.h:49
char * data
Definition: apr_memcache.h:117
apr_uint32_t cmd_set
Definition: apr_memcache.h:409
apr_uint32_t apr_memcache_hash_default(void *baton, const char *data, const apr_size_t data_len)
apr_uint64_t bytes_read
Definition: apr_memcache.h:418
int ns
Definition: mod_dav.h:587
apr_thread_mutex_t * lock
Definition: apr_memcache.h:72
apr_status_t apr_memcache_add(apr_memcache_t *mc, const char *key, char *baton, const apr_size_t data_size, apr_uint32_t timeout, apr_uint16_t flags)
dav_resource int dav_locktoken dav_response int flags
Definition: mod_dav.h:1452
apr_uint16_t flags
Definition: apr_memcache.h:118
apr_status_t apr_memcache_multgetp(apr_memcache_t *mc, apr_pool_t *temp_pool, apr_pool_t *data_pool, apr_hash_t *values)
apr_uint64_t bytes
Definition: apr_memcache.h:399
apr_status_t apr_memcache_delete(apr_memcache_t *mc, const char *key, apr_uint32_t timeout)
apr_memcache_server_t * apr_memcache_find_server_hash(apr_memcache_t *mc, const apr_uint32_t hash)
const char * host
Definition: apr_memcache.h:62
apr_uint32_t uptime
Definition: apr_memcache.h:385
apr_reslist_t * conns
Definition: apr_memcache.h:66
apr_uint32_t pid
Definition: apr_memcache.h:383
apr_memcache_server_t * apr_memcache_find_server(apr_memcache_t *mc, const char *host, apr_port_t port)
apr_status_t apr_memcache_add_server(apr_memcache_t *mc, apr_memcache_server_t *server)
Definition: apr_memcache.h:51
apr_memcache_server_func server_func
Definition: apr_memcache.h:108
apr_status_t apr_memcache_version(apr_memcache_server_t *ms, apr_pool_t *p, char **baton)