diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-11-24 22:30:09 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-11-24 22:30:09 +0000 |
commit | 8c60ae4c5c4c497030e15a36557d67b6c415e0ab (patch) | |
tree | 2b581cbc6dfed788c67d589b741bdfd10e3db72c /include/apr_lib.h | |
parent | 3200eabb89b3b6c838bc20b4dde02a93330d91e5 (diff) | |
download | libapr-8c60ae4c5c4c497030e15a36557d67b6c415e0ab.tar.gz |
Deal with pool function failures in a clean way. I need to look at how we
are dealing with this in APR more closely. Currently, I just passed NULL
for the initial allocation. This means we get an error back in ap_initialize.
I think this is okay, but I wanted to get this change in because of all the
discussion about it, and I am stopping work for the day. I'll look at this
more tomorrow or Friday.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59488 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_lib.h')
-rw-r--r-- | include/apr_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/apr_lib.h b/include/apr_lib.h index 6d7275763..4b571e695 100644 --- a/include/apr_lib.h +++ b/include/apr_lib.h @@ -299,7 +299,7 @@ API_EXPORT(int) ap_vsnprintf(char *buf, size_t len, const char *format, /* * APR memory structure manipulators (pools, tables, and arrays). */ -API_EXPORT(ap_pool_t *) ap_make_sub_pool(ap_pool_t *p); +API_EXPORT(ap_pool_t *) ap_make_sub_pool(ap_pool_t *p, int (*apr_abort)(int retcode)); API_EXPORT(void) ap_clear_pool(struct context_t *p); API_EXPORT(void) ap_destroy_pool(struct context_t *p); API_EXPORT(long) ap_bytes_in_pool(ap_pool_t *p); |