Author: jfrederic.clere(a)jboss.com
Date: 2008-05-14 03:42:15 -0400 (Wed, 14 May 2008)
New Revision: 1598
Modified:
trunk/mod_cluster/native/include/balancer.h
trunk/mod_cluster/native/include/context.h
trunk/mod_cluster/native/include/host.h
trunk/mod_cluster/native/include/node.h
Log:
Add storage as parameter.
Modified: trunk/mod_cluster/native/include/balancer.h
===================================================================
--- trunk/mod_cluster/native/include/balancer.h 2008-05-13 14:59:47 UTC (rev 1597)
+++ trunk/mod_cluster/native/include/balancer.h 2008-05-14 07:42:15 UTC (rev 1598)
@@ -116,7 +116,7 @@
* @param p pool to use for allocations.
* @return address of struct used to access the table.
*/
-APR_DECLARE(mem_t *) get_mem_balancer(char *string, int *num, apr_pool_t *p);
+APR_DECLARE(mem_t *) get_mem_balancer(char *string, int *num, apr_pool_t *p,
slotmem_storage_method *storage);
/**
* create a shared balancer table
* @param name to use to create the table.
@@ -124,7 +124,7 @@
* @param p pool to use for allocations.
* @return address of struct used to access the table.
*/
-APR_DECLARE(mem_t *) create_mem_balancer(char *string, int *num, apr_pool_t *p);
+APR_DECLARE(mem_t *) create_mem_balancer(char *string, int *num, apr_pool_t *p,
slotmem_storage_method *storage);
/**
* provider for the mod_proxy_cluster or mod_jk modules.
Modified: trunk/mod_cluster/native/include/context.h
===================================================================
--- trunk/mod_cluster/native/include/context.h 2008-05-13 14:59:47 UTC (rev 1597)
+++ trunk/mod_cluster/native/include/context.h 2008-05-14 07:42:15 UTC (rev 1598)
@@ -118,7 +118,7 @@
* @param p pool to use for allocations.
* @return address of struct used to access the table.
*/
-APR_DECLARE(mem_t *) get_mem_context(char *string, int *num, apr_pool_t *p);
+APR_DECLARE(mem_t *) get_mem_context(char *string, int *num, apr_pool_t *p,
slotmem_storage_method *storage);
/**
* create a shared context table
* @param name to use to create the table.
@@ -126,7 +126,7 @@
* @param p pool to use for allocations.
* @return address of struct used to access the table.
*/
-APR_DECLARE(mem_t *) create_mem_context(char *string, int *num, apr_pool_t *p);
+APR_DECLARE(mem_t *) create_mem_context(char *string, int *num, apr_pool_t *p,
slotmem_storage_method *storage);
/**
* provider for the mod_proxy_cluster or mod_jk modules.
Modified: trunk/mod_cluster/native/include/host.h
===================================================================
--- trunk/mod_cluster/native/include/host.h 2008-05-13 14:59:47 UTC (rev 1597)
+++ trunk/mod_cluster/native/include/host.h 2008-05-14 07:42:15 UTC (rev 1598)
@@ -111,7 +111,7 @@
* @param p pool to use for allocations.
* @return address of struct used to access the table.
*/
-APR_DECLARE(mem_t *) get_mem_host(char *string, int *num, apr_pool_t *p);
+APR_DECLARE(mem_t *) get_mem_host(char *string, int *num, apr_pool_t *p,
slotmem_storage_method *storage);
/**
* create a shared host table
* @param name to use to create the table.
@@ -119,7 +119,7 @@
* @param p pool to use for allocations.
* @return address of struct used to access the table.
*/
-APR_DECLARE(mem_t *) create_mem_host(char *string, int *num, apr_pool_t *p);
+APR_DECLARE(mem_t *) create_mem_host(char *string, int *num, apr_pool_t *p,
slotmem_storage_method *storage);
/**
* provider for the mod_proxy_cluster or mod_jk modules.
Modified: trunk/mod_cluster/native/include/node.h
===================================================================
--- trunk/mod_cluster/native/include/node.h 2008-05-13 14:59:47 UTC (rev 1597)
+++ trunk/mod_cluster/native/include/node.h 2008-05-14 07:42:15 UTC (rev 1598)
@@ -137,7 +137,7 @@
* @param p pool to use for allocations.
* @return address of struct used to access the table.
*/
-APR_DECLARE(mem_t *) get_mem_node(char *string, int *num, apr_pool_t *p);
+APR_DECLARE(mem_t *) get_mem_node(char *string, int *num, apr_pool_t *p,
slotmem_storage_method *storage);
/**
* create a shared node table
* @param name to use to create the table.
@@ -145,7 +145,7 @@
* @param p pool to use for allocations.
* @return address of struct used to access the table.
*/
-APR_DECLARE(mem_t *) create_mem_node(char *string, int *num, apr_pool_t *p);
+APR_DECLARE(mem_t *) create_mem_node(char *string, int *num, apr_pool_t *p,
slotmem_storage_method *storage);
/**
* provider for the mod_proxy_cluster or mod_jk modules.