diff options
Diffstat (limited to 'include/apr_memcache.h')
-rw-r--r-- | include/apr_memcache.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/apr_memcache.h b/include/apr_memcache.h index 2a3bcaab8..7e376e602 100644 --- a/include/apr_memcache.h +++ b/include/apr_memcache.h @@ -151,7 +151,7 @@ APR_DECLARE(apr_uint32_t) apr_memcache_hash_default(void *baton, * @return server that controls specified hash * @see apr_memcache_hash */ -APR_DECLARE(apr_memcache_server_t *) apr_memcache_find_server_hash(apr_memcache_t *mc, +APR_DECLARE(apr_memcache_server_t *) apr_memcache_find_server_hash(apr_memcache_t *mc, const apr_uint32_t hash); /** @@ -159,7 +159,7 @@ APR_DECLARE(apr_memcache_server_t *) apr_memcache_find_server_hash(apr_memcache_ */ APR_DECLARE(apr_memcache_server_t *) apr_memcache_find_server_hash_default(void *baton, - apr_memcache_t *mc, + apr_memcache_t *mc, const apr_uint32_t hash); /** @@ -243,9 +243,9 @@ APR_DECLARE(apr_status_t) apr_memcache_create(apr_pool_t *p, * @param baton location of the allocated value * @param len length of data at baton * @param flags any flags set by the client for this key - * @return + * @return */ -APR_DECLARE(apr_status_t) apr_memcache_getp(apr_memcache_t *mc, +APR_DECLARE(apr_status_t) apr_memcache_getp(apr_memcache_t *mc, apr_pool_t *p, const char* key, char **baton, @@ -304,7 +304,7 @@ APR_DECLARE(apr_status_t) apr_memcache_set(apr_memcache_t *mc, * @param data_size length of data at baton * @param timeout time for the data to live on the server * @param flags any flags set by the client for this key - * @return APR_SUCCESS if the key was added, APR_EEXIST if the key + * @return APR_SUCCESS if the key was added, APR_EEXIST if the key * already exists on the server. */ APR_DECLARE(apr_status_t) apr_memcache_add(apr_memcache_t *mc, @@ -322,7 +322,7 @@ APR_DECLARE(apr_status_t) apr_memcache_add(apr_memcache_t *mc, * @param data_size length of data at baton * @param timeout time for the data to live on the server * @param flags any flags set by the client for this key - * @return APR_SUCCESS if the key was added, APR_EEXIST if the key + * @return APR_SUCCESS if the key was added, APR_EEXIST if the key * did not exist on the server. */ APR_DECLARE(apr_status_t) apr_memcache_replace(apr_memcache_t *mc, @@ -348,7 +348,7 @@ APR_DECLARE(apr_status_t) apr_memcache_delete(apr_memcache_t *mc, * @param n number to increment by * @param nv new value after incrementing */ -APR_DECLARE(apr_status_t) apr_memcache_incr(apr_memcache_t *mc, +APR_DECLARE(apr_status_t) apr_memcache_incr(apr_memcache_t *mc, const char *key, apr_int32_t n, apr_uint32_t *nv); @@ -360,7 +360,7 @@ APR_DECLARE(apr_status_t) apr_memcache_incr(apr_memcache_t *mc, * @param n number to decrement by * @param new_value new value after decrementing */ -APR_DECLARE(apr_status_t) apr_memcache_decr(apr_memcache_t *mc, +APR_DECLARE(apr_status_t) apr_memcache_decr(apr_memcache_t *mc, const char *key, apr_int32_t n, apr_uint32_t *new_value); @@ -421,7 +421,7 @@ typedef struct /** Number of bytes this server is allowed to use for storage. */ apr_uint32_t limit_maxbytes; /** Number of threads the server is running (if built with threading) */ - apr_uint32_t threads; + apr_uint32_t threads; } apr_memcache_stats_t; /** @@ -430,7 +430,7 @@ typedef struct * @param p Pool to allocate answer from * @param stats location of the new statistics structure */ -APR_DECLARE(apr_status_t) apr_memcache_stats(apr_memcache_server_t *ms, +APR_DECLARE(apr_status_t) apr_memcache_stats(apr_memcache_server_t *ms, apr_pool_t *p, apr_memcache_stats_t **stats); |