diff options
author | Jim Jagielski <jim@apache.org> | 2009-05-13 20:04:05 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2009-05-13 20:04:05 +0200 |
commit | 03eae1f7faf1dfd5ecc4e19a06b575fb93a20536 (patch) | |
tree | c7857b4dede8e655e2cc6a1da2ee18307a90e468 /include | |
parent | standard method (diff) | |
download | apache2-03eae1f7faf1dfd5ecc4e19a06b575fb93a20536.tar.xz apache2-03eae1f7faf1dfd5ecc4e19a06b575fb93a20536.zip |
ap_slotmem_mem no longer exists. We never provide the ptr to
the actual mem. Instead, we rely solely on getter/setter
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@774454 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/ap_slotmem.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/ap_slotmem.h b/include/ap_slotmem.h index e59ef72096..aac7ea046f 100644 --- a/include/ap_slotmem.h +++ b/include/ap_slotmem.h @@ -101,14 +101,6 @@ struct ap_slotmem_storage_method { */ apr_status_t (* slotmem_attach)(ap_slotmem_t **new, const char *name, apr_size_t *item_size, unsigned int *item_num, apr_pool_t *pool); /** - * get the memory ptr associated with this worker slot. - * @param s ap_slotmem_t to use. - * @param item_id item to return for 0 to item_num - * @param mem address to store the pointer to the slot - * @return APR_SUCCESS if all went well - */ - apr_status_t (* slotmem_mem)(ap_slotmem_t *s, unsigned int item_id, void**mem); - /** * retrieve the memory associated with this worker slot. * @param s ap_slotmem_t to use. * @param item_id item to return for 0 to item_num @@ -198,15 +190,6 @@ AP_DECLARE(apr_status_t) ap_slotmem_create(ap_slotmem_storage_method *sm, ap_slo */ AP_DECLARE(apr_status_t) ap_slotmem_attach(ap_slotmem_storage_method *sm, ap_slotmem_t **new, const char *name, apr_size_t *item_size, unsigned int *item_num, apr_pool_t *pool); /** - * get the memory associated with this worker slot. - * @param sm ap_slotmem_storage_method provider obtained - * @param s ap_slotmem_t to use. - * @param item_id item to return for 0 to item_num - * @param mem address to store the pointer to the slot - * @return APR_SUCCESS if all went well - */ -AP_DECLARE(apr_status_t) ap_slotmem_mem(ap_slotmem_storage_method *sm, ap_slotmem_t *s, unsigned int item_id, void**mem); -/** * retrieve the memory associated with this worker slot. * @param sm ap_slotmem_storage_method provider obtained * @param s ap_slotmem_t to use. |