summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2001-05-30 11:03:37 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2001-05-30 11:03:37 +0000
commit5a2cd17ba75282a9d02c8a40788615924336f68c (patch)
treea39d76c918f2528afb7688f5a7ee644dff560077 /include
parent2ed09e9402972392d46319d2529973a7449f8a8d (diff)
downloadlibapr-5a2cd17ba75282a9d02c8a40788615924336f68c.tar.gz
Add an identity string to the memory modules. Justin pointed out that
there was no way of checking which module we were using, so now there is :) Updated the memory test to use the new test header and to check the identity returned. Submitted by: Concept from Justin Erenkrantz Refined by Sander Striker Reviewed by: David Reid git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61679 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr_sms.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apr_sms.h b/include/apr_sms.h
index ba1de1296..e29db6ba7 100644
--- a/include/apr_sms.h
+++ b/include/apr_sms.h
@@ -93,6 +93,7 @@ struct apr_sms_t
apr_sms_t *sibling_mem_sys;
apr_sms_t **ref_mem_sys;
apr_sms_t *accounting_mem_sys;
+ const char *identity; /* a string identifying the module */
struct apr_sms_cleanup *cleanups;