summaryrefslogtreecommitdiff
path: root/memcache/apr_memcache.c
diff options
context:
space:
mode:
authorBojan Smojver <bojan@apache.org>2009-07-16 04:52:56 +0000
committerBojan Smojver <bojan@apache.org>2009-07-16 04:52:56 +0000
commita8a38fa8c6aee51481b3f93ebc6c0a7dbc385191 (patch)
tree0c1c98ecda582dad96c430c26da47dc11375a87e /memcache/apr_memcache.c
parentca371098d7183a23cea08a7605d9a95926864a0a (diff)
downloadapr-a8a38fa8c6aee51481b3f93ebc6c0a7dbc385191.tar.gz
Convert various APU_DECLARE into APR_DECLARE.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@794523 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memcache/apr_memcache.c')
-rw-r--r--memcache/apr_memcache.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/memcache/apr_memcache.c b/memcache/apr_memcache.c
index d244d564e..3332841e2 100644
--- a/memcache/apr_memcache.c
+++ b/memcache/apr_memcache.c
@@ -129,7 +129,7 @@ static apr_status_t make_server_live(apr_memcache_t *mc, apr_memcache_server_t *
}
-APU_DECLARE(apr_status_t) apr_memcache_add_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
+APR_DECLARE(apr_status_t) apr_memcache_add_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
{
apr_status_t rv = APR_SUCCESS;
@@ -145,7 +145,7 @@ APU_DECLARE(apr_status_t) apr_memcache_add_server(apr_memcache_t *mc, apr_memcac
static apr_status_t mc_version_ping(apr_memcache_server_t *ms);
-APU_DECLARE(apr_memcache_server_t *)
+APR_DECLARE(apr_memcache_server_t *)
apr_memcache_find_server_hash(apr_memcache_t *mc, const apr_uint32_t hash)
{
if (mc->server_func) {
@@ -156,7 +156,7 @@ apr_memcache_find_server_hash(apr_memcache_t *mc, const apr_uint32_t hash)
}
}
-APU_DECLARE(apr_memcache_server_t *)
+APR_DECLARE(apr_memcache_server_t *)
apr_memcache_find_server_hash_default(void *baton, apr_memcache_t *mc,
const apr_uint32_t hash)
{
@@ -207,7 +207,7 @@ apr_memcache_find_server_hash_default(void *baton, apr_memcache_t *mc,
return ms;
}
-APU_DECLARE(apr_memcache_server_t *) apr_memcache_find_server(apr_memcache_t *mc, const char *host, apr_port_t port)
+APR_DECLARE(apr_memcache_server_t *) apr_memcache_find_server(apr_memcache_t *mc, const char *host, apr_port_t port)
{
int i;
@@ -268,7 +268,7 @@ static apr_status_t ms_release_conn(apr_memcache_server_t *ms, apr_memcache_conn
#endif
}
-APU_DECLARE(apr_status_t) apr_memcache_enable_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
+APR_DECLARE(apr_status_t) apr_memcache_enable_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
{
apr_status_t rv = APR_SUCCESS;
@@ -280,7 +280,7 @@ APU_DECLARE(apr_status_t) apr_memcache_enable_server(apr_memcache_t *mc, apr_mem
return rv;
}
-APU_DECLARE(apr_status_t) apr_memcache_disable_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
+APR_DECLARE(apr_status_t) apr_memcache_disable_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
{
return make_server_dead(mc, ms);
}
@@ -386,7 +386,7 @@ mc_conn_destruct(void *conn_, void *params, apr_pool_t *pool)
}
#endif
-APU_DECLARE(apr_status_t) apr_memcache_server_create(apr_pool_t *p,
+APR_DECLARE(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,
@@ -433,7 +433,7 @@ APU_DECLARE(apr_status_t) apr_memcache_server_create(apr_pool_t *p,
return rv;
}
-APU_DECLARE(apr_status_t) apr_memcache_create(apr_pool_t *p,
+APR_DECLARE(apr_status_t) apr_memcache_create(apr_pool_t *p,
apr_uint16_t max_servers, apr_uint32_t flags,
apr_memcache_t **memcache)
{
@@ -527,7 +527,7 @@ static const apr_uint32_t crc32tab[256] = {
0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d,
};
-APU_DECLARE(apr_uint32_t) apr_memcache_hash_crc32(void *baton,
+APR_DECLARE(apr_uint32_t) apr_memcache_hash_crc32(void *baton,
const char *data,
const apr_size_t data_len)
{
@@ -541,7 +541,7 @@ APU_DECLARE(apr_uint32_t) apr_memcache_hash_crc32(void *baton,
return ~crc;
}
-APU_DECLARE(apr_uint32_t) apr_memcache_hash_default(void *baton,
+APR_DECLARE(apr_uint32_t) apr_memcache_hash_default(void *baton,
const char *data,
const apr_size_t data_len)
{
@@ -551,7 +551,7 @@ APU_DECLARE(apr_uint32_t) apr_memcache_hash_default(void *baton,
return ((apr_memcache_hash_crc32(baton, data, data_len) >> 16) & 0x7fff);
}
-APU_DECLARE(apr_uint32_t) apr_memcache_hash(apr_memcache_t *mc,
+APR_DECLARE(apr_uint32_t) apr_memcache_hash(apr_memcache_t *mc,
const char *data,
const apr_size_t data_len)
{
@@ -670,7 +670,7 @@ static apr_status_t storage_cmd_write(apr_memcache_t *mc,
return rv;
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_set(apr_memcache_t *mc,
const char *key,
char *data,
@@ -685,7 +685,7 @@ apr_memcache_set(apr_memcache_t *mc,
timeout, flags);
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_add(apr_memcache_t *mc,
const char *key,
char *data,
@@ -700,7 +700,7 @@ apr_memcache_add(apr_memcache_t *mc,
timeout, flags);
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_replace(apr_memcache_t *mc,
const char *key,
char *data,
@@ -716,7 +716,7 @@ apr_memcache_replace(apr_memcache_t *mc,
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_getp(apr_memcache_t *mc,
apr_pool_t *p,
const char *key,
@@ -853,7 +853,7 @@ apr_memcache_getp(apr_memcache_t *mc,
return rv;
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_delete(apr_memcache_t *mc,
const char *key,
apr_uint32_t timeout)
@@ -992,7 +992,7 @@ static apr_status_t num_cmd_write(apr_memcache_t *mc,
return rv;
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_incr(apr_memcache_t *mc,
const char *key,
apr_int32_t inc,
@@ -1007,7 +1007,7 @@ apr_memcache_incr(apr_memcache_t *mc,
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_decr(apr_memcache_t *mc,
const char *key,
apr_int32_t inc,
@@ -1023,7 +1023,7 @@ apr_memcache_decr(apr_memcache_t *mc,
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_version(apr_memcache_server_t *ms,
apr_pool_t *p,
char **baton)
@@ -1106,7 +1106,7 @@ apr_status_t mc_version_ping(apr_memcache_server_t *ms)
}
-APU_DECLARE(void)
+APR_DECLARE(void)
apr_memcache_add_multget_key(apr_pool_t *data_pool,
const char* key,
apr_hash_t **values)
@@ -1165,7 +1165,7 @@ static void mget_conn_result(int serverup,
}
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_multgetp(apr_memcache_t *mc,
apr_pool_t *temp_pool,
apr_pool_t *data_pool,
@@ -1635,7 +1635,7 @@ static void update_stats(apr_pool_t *p, apr_memcache_conn_t *conn,
else mc_do_stat(threads, uint32)
}
-APU_DECLARE(apr_status_t)
+APR_DECLARE(apr_status_t)
apr_memcache_stats(apr_memcache_server_t *ms,
apr_pool_t *p,
apr_memcache_stats_t **stats)