summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2001-06-10 14:50:10 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2001-06-10 14:50:10 +0000
commit36b87b525a93873c84f137dc9597e50c8adc3555 (patch)
treeaceb0f37e93d2065630c60d151f096ccfaebaa23 /include
parentac8945480d477d06f662bfc7411a8ac72c27ebf5 (diff)
downloadlibapr-36b87b525a93873c84f137dc9597e50c8adc3555.tar.gz
Add a function to get the parent of a memory system.
Submitted by: Sander Striker <striker@samba-tng.org> Reviewed by: David Reid <dreid@apache.org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61743 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr_sms.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/apr_sms.h b/include/apr_sms.h
index 6767ad815..22412932b 100644
--- a/include/apr_sms.h
+++ b/include/apr_sms.h
@@ -244,6 +244,12 @@ APR_DECLARE(apr_status_t) apr_sms_is_ancestor(apr_sms_t *a, apr_sms_t *b);
*/
APR_DECLARE(const char *) apr_sms_identity(apr_sms_t *sms);
+/**
+ * Get the parent sms
+ * @param sms the memory system to get the parent from
+ */
+APR_DECLARE(apr_sms_t *) apr_sms_get_parent(apr_sms_t *sms);
+
/*
* memory system cleanup management functions
*/