Apache HTTPD
Classes | Typedefs | Enumerations | Functions | Variables
apr_memcache.h File Reference

Client interface for memcached. More...

#include "apr.h"
#include "apr_pools.h"
#include "apr_time.h"
#include "apr_strings.h"
#include "apr_network_io.h"
#include "apr_ring.h"
#include "apr_buckets.h"
#include "apr_reslist.h"
#include "apr_hash.h"

Go to the source code of this file.

Classes

struct  apr_memcache_server_t
 
struct  apr_memcache_t
 
struct  apr_memcache_value_t
 
struct  apr_memcache_stats_t
 

Typedefs

typedef struct apr_memcache_conn_t apr_memcache_conn_t
 
typedef struct apr_memcache_server_t apr_memcache_server_t
 
typedef apr_uint32_t(* apr_memcache_hash_func) (void *baton, const char *data, const apr_size_t data_len)
 
typedef struct apr_memcache_t apr_memcache_t
 
typedef apr_memcache_server_t *(* apr_memcache_server_func) (void *baton, apr_memcache_t *mc, const apr_uint32_t hash)
 

Enumerations

enum  apr_memcache_server_status_t { APR_MC_SERVER_LIVE , APR_MC_SERVER_DEAD }
 

Functions

 APU_DECLARE (apr_uint32_t) apr_memcache_hash(apr_memcache_t *mc
 
 APU_DECLARE (apr_memcache_server_t *) apr_memcache_find_server_hash(apr_memcache_t *mc
 
 APU_DECLARE (apr_status_t) apr_memcache_add_server(apr_memcache_t *mc
 
 APU_DECLARE (void) apr_memcache_add_multget_key(apr_pool_t *data_pool
 Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIPHASH_KSIZE) secret key, into a possibly unaligned buffer (using the little endian representation as defined by the authors for interoperabilty) usable as a MAC.
 

Variables

const chardata
 
const char const apr_size_t data_len
 
const apr_uint32_t hash
 
apr_memcache_tmc
 
apr_memcache_server_tserver
 
const charhost
 
const char apr_port_t port
 
apr_memcache_server_tms
 
const char apr_port_t apr_uint32_t min
 
const char apr_port_t apr_uint32_t apr_uint32_t smax
 
const char apr_port_t apr_uint32_t apr_uint32_t apr_uint32_t max
 
const char apr_port_t apr_uint32_t apr_uint32_t apr_uint32_t apr_uint32_t ttl
 
const char apr_port_t apr_uint32_t apr_uint32_t apr_uint32_t apr_uint32_t apr_memcache_server_t ** ns
 
apr_uint16_t max_servers
 
apr_uint16_t apr_uint32_t flags
 
apr_pool_tp
 
apr_pool_t const charkey
 
apr_pool_t const char char ** baton
 
apr_pool_t const char char apr_size_tlen
 
const char apr_hash_t ** values
 
apr_pool_ttemp_pool
 
apr_pool_t apr_pool_tdata_pool
 
const char char const apr_size_t data_size
 
const char char const apr_size_t apr_uint32_t timeout
 
const char apr_int32_t n
 
const char apr_int32_t apr_uint32_tnv
 
const char apr_int32_t apr_uint32_tnew_value
 
apr_pool_t apr_memcache_stats_t ** stats
 

Detailed Description

Client interface for memcached.

Remarks
To use this interface you must have a separate memcached server running. See the memcached website at http://www.danga.com/memcached/ for more information.

Definition in file apr_memcache.h.