diff options
author | Jeff Trawick <trawick@apache.org> | 2009-03-30 13:27:53 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2009-03-30 13:27:53 +0200 |
commit | fb6a306876ee8265da71c7a0bd69eb0040a04e84 (patch) | |
tree | b15caef08dd680e3145eb0686b6ae8be9b37c876 /include | |
parent | Use named watchdog for heartmonitor. (diff) | |
download | apache2-fb6a306876ee8265da71c7a0bd69eb0040a04e84.tar.xz apache2-fb6a306876ee8265da71c7a0bd69eb0040a04e84.zip |
rename the new retained-data APIs to ap_retained_data_create()/ap_retained_data_get(), for better
consistency with existing APIs (e.g., slotmem)
don't bother changing the MMN, which doesn't reflect recent -dev changes anyway
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759924 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/ap_mmn.h | 2 | ||||
-rw-r--r-- | include/http_config.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/ap_mmn.h b/include/ap_mmn.h index aaaff2e456..a147528c6d 100644 --- a/include/ap_mmn.h +++ b/include/ap_mmn.h @@ -189,7 +189,7 @@ * 20090130.0 (2.3.2-dev) Add ap_ prefix to unixd_setup_child(). * 20090131.0 (2.3.2-dev) Remove ap_default_type(), disable DefaultType * 20090208.0 (2.3.2-dev) Add conn_rec::current_thread. - * 20090208.1 (2.3.3-dev) Add ap_set_retained_data()/ap_get_retained_data() + * 20090208.1 (2.3.3-dev) Add ap_retained_data_create()/ap_retained_data_get() */ #define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */ diff --git a/include/http_config.h b/include/http_config.h index 6ad9087046..a140fb7cb8 100644 --- a/include/http_config.h +++ b/include/http_config.h @@ -921,14 +921,14 @@ AP_DECLARE(int) ap_process_config_tree(server_rec *s, * @param Size in bytes of the retained data (to be allocated) * @return Address of new retained data structure, initially cleared */ -AP_DECLARE(void *) ap_set_retained_data(const char *key, apr_size_t size); +AP_DECLARE(void *) ap_retained_data_create(const char *key, apr_size_t size); /** - * Retrieve data which was stored by ap_set_retained_data() + * Retrieve data which was stored by ap_retained_data_create() * @param key The unique key associated with this module's retained data * @return Address of previously retained data structure, or NULL if not yet saved */ -AP_DECLARE(void *) ap_get_retained_data(const char *key); +AP_DECLARE(void *) ap_retained_data_get(const char *key); /* Module-method dispatchers, also for http_request.c */ /** |