summaryrefslogtreecommitdiff
path: root/include/arch/unix/misc.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-11-24 22:30:09 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-11-24 22:30:09 +0000
commit8c60ae4c5c4c497030e15a36557d67b6c415e0ab (patch)
tree2b581cbc6dfed788c67d589b741bdfd10e3db72c /include/arch/unix/misc.h
parent3200eabb89b3b6c838bc20b4dde02a93330d91e5 (diff)
downloadlibapr-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/arch/unix/misc.h')
-rw-r--r--include/arch/unix/misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/arch/unix/misc.h b/include/arch/unix/misc.h
index ea8cb12fd..0bb09383e 100644
--- a/include/arch/unix/misc.h
+++ b/include/arch/unix/misc.h
@@ -71,6 +71,7 @@ typedef struct datastruct {
struct context_t {
struct ap_pool_t *pool;
datastruct *prog_data;
+ int (*apr_abort)(int retcode);
};
#endif /* ! MISC_H */