diff options
author | Jim Jagielski <jim@apache.org> | 2009-01-02 20:58:08 +0100 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2009-01-02 20:58:08 +0100 |
commit | 005313c3ef9905d57b5f760e679a839c8eb6858f (patch) | |
tree | 808485fc5ffe2e119347ea2e265935b43ccbd8a5 /modules/mem | |
parent | Use default object file in APACHE_MODULE calls (diff) | |
download | apache2-005313c3ef9905d57b5f760e679a839c8eb6858f.tar.xz apache2-005313c3ef9905d57b5f760e679a839c8eb6858f.zip |
Add new struct element: name...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/mem')
-rw-r--r-- | modules/mem/mod_plainmem.c | 5 | ||||
-rw-r--r-- | modules/mem/mod_sharedmem.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/modules/mem/mod_plainmem.c b/modules/mem/mod_plainmem.c index 968f7991fd..90ba950f87 100644 --- a/modules/mem/mod_plainmem.c +++ b/modules/mem/mod_plainmem.c @@ -151,10 +151,13 @@ static apr_status_t slotmem_mem(ap_slotmem_t *score, int id, void **mem) } static const ap_slotmem_storage_method storage = { + "plainmem", &slotmem_do, &slotmem_create, &slotmem_attach, - &slotmem_mem + &slotmem_mem, + NULL, + NULL }; static int pre_config(apr_pool_t *p, apr_pool_t *plog, diff --git a/modules/mem/mod_sharedmem.c b/modules/mem/mod_sharedmem.c index 9f6c34857f..874682a844 100644 --- a/modules/mem/mod_sharedmem.c +++ b/modules/mem/mod_sharedmem.c @@ -362,6 +362,7 @@ static apr_status_t slotmem_unlock(ap_slotmem_t *slot) } static const ap_slotmem_storage_method storage = { + "sharedmem", &slotmem_do, &slotmem_create, &slotmem_attach, |