Main Page | Modules | Data Structures | File List | Data Fields | Globals

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"

Go to the source code of this file.

Data Structures

struct  apr_memcache_server_t
struct  apr_memcache_t
struct  apr_memcache_stats_t

Typedefs

typedef apr_memcache_conn_t apr_memcache_conn_t
typedef apr_memcache_server_t apr_memcache_server_t

Enumerations

enum  apr_memcache_server_status_t { APR_MC_SERVER_LIVE, APR_MC_SERVER_DEAD }

Functions

 apr_memcache_hash (const char *data, apr_uint32_t data_len)
 apr_memcache_find_server_hash (apr_memcache_t *mc, const apr_uint32_t hash)
 apr_memcache_add_server (apr_memcache_t *mc, apr_memcache_server_t *server)
 apr_memcache_find_server (apr_memcache_t *mc, const char *host, apr_port_t port)
 apr_memcache_enable_server (apr_memcache_t *mc, apr_memcache_server_t *ms)
 apr_memcache_disable_server (apr_memcache_t *mc, apr_memcache_server_t *ms)
 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)
 apr_memcache_create (apr_pool_t *p, apr_uint16_t max_servers, apr_uint32_t flags, apr_memcache_t **mc)
 apr_memcache_getp (apr_memcache_t *mc, apr_pool_t *p, const char *key, char **baton, apr_size_t *len, apr_uint32_t *flags)
 apr_memcache_set (apr_memcache_t *mc, const char *key, char *baton, const apr_uint32_t data_size, apr_uint32_t timeout, apr_uint32_t flags)
 apr_memcache_add (apr_memcache_t *mc, const char *key, char *baton, const apr_uint32_t data_size, apr_uint32_t timeout, apr_uint32_t flags)
 apr_memcache_replace (apr_memcache_t *mc, const char *key, char *data, const apr_uint32_t data_size, apr_uint32_t timeout, apr_uint32_t flags)
 apr_memcache_delete (apr_memcache_t *mc, const char *key, apr_uint32_t timeout)
 apr_memcache_incr (apr_memcache_t *mc, const char *key, apr_int32_t n, apr_uint32_t *nv)
 apr_memcache_decr (apr_memcache_t *mc, const char *key, apr_int32_t n, apr_uint32_t *new_value)
 apr_memcache_version (apr_memcache_server_t *ms, apr_pool_t *p, char **baton)
 apr_memcache_stats (apr_memcache_server_t *ms, apr_pool_t *p, 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.

Generated on Fri Dec 10 15:07:10 2004 for apr_memcache by doxygen 1.3.7