summaryrefslogtreecommitdiff
path: root/include/apr_allocator.h
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-06-08 20:27:42 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-06-08 20:27:42 +0000
commit889a69de96cd84cb27f057a73df6d90008f198a7 (patch)
tree22d8c6bb2021a19f2a7dab05cd499c20c96f9daa /include/apr_allocator.h
parentb933330a42924df3ea052d4e978c3e2fc0ef10f2 (diff)
downloadlibapr-889a69de96cd84cb27f057a73df6d90008f198a7.tar.gz
More API get/set renames, and providing stubs for those previously
renamed without thunks. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63477 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_allocator.h')
-rw-r--r--include/apr_allocator.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/apr_allocator.h b/include/apr_allocator.h
index fe548c625..25e635c08 100644
--- a/include/apr_allocator.h
+++ b/include/apr_allocator.h
@@ -147,12 +147,19 @@ APR_DECLARE(void) apr_allocator_free(apr_allocator_t *allocator,
APR_DECLARE(void) apr_allocator_owner_set(apr_allocator_t *allocator,
apr_pool_t *pool);
+/** @deprecated @see apr_allocator_owner_set */
+APR_DECLARE(void) apr_allocator_set_owner(apr_allocator_t *allocator,
+ apr_pool_t *pool);
+
/**
* Get the current owner of the allocator
* @param allocator The allocator to get the owner from
*/
APR_DECLARE(apr_pool_t *) apr_allocator_owner_get(apr_allocator_t *allocator);
+/** @deprecated @see apr_allocator_owner_get */
+APR_DECLARE(apr_pool_t *pool) apr_allocator_get_owner(
+ apr_allocator_t *allocator);
/**
* Set the current threshold at which the allocator should start
@@ -160,6 +167,10 @@ APR_DECLARE(apr_pool_t *) apr_allocator_owner_get(apr_allocator_t *allocator);
* @param allocator The allocator the set the threshold on
* @param size The threshold. 0 == unlimited.
*/
+APR_DECLARE(void) apr_allocator_max_free_set(apr_allocator_t *allocator,
+ apr_size_t size);
+
+/** @deprecated @see apr_allocator_max_free_set */
APR_DECLARE(void) apr_allocator_set_max_free(apr_allocator_t *allocator,
apr_size_t size);
@@ -174,12 +185,21 @@ APR_DECLARE(void) apr_allocator_set_max_free(apr_allocator_t *allocator,
APR_DECLARE(void) apr_allocator_mutex_set(apr_allocator_t *allocator,
apr_thread_mutex_t *mutex);
+/** @deprecated @see apr_allocator_mutex_set */
+APR_DECLARE(void) apr_allocator_set_mutex(apr_allocator_t *allocator,
+ apr_thread_mutex_t *mutex);
+
/**
* Get the mutex currently set for the allocator
* @param allocator The allocator
*/
APR_DECLARE(apr_thread_mutex_t *) apr_allocator_mutex_get(
apr_allocator_t *allocator);
+
+/** @deprecated @see apr_allocator_mutex_get */
+APR_DECLARE(apr_thread_mutex_t *) apr_allocator_get_mutex(
+ apr_allocator_t *allocator);
+
#endif /* APR_HAS_THREADS */
/** @} */