summaryrefslogtreecommitdiff
path: root/include/ap_slotmem.h
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2012-09-18 10:59:20 +0000
committerJim Jagielski <jim@apache.org>2012-09-18 10:59:20 +0000
commitbbc1e878f5029246c02d893921f05975e49de026 (patch)
treea07aac017f934c32ee33dfee984b50ac51a0648c /include/ap_slotmem.h
parent9026f9fac08cd61ec1ddf59e0724262616042d38 (diff)
downloadhttpd-bbc1e878f5029246c02d893921f05975e49de026.tar.gz
Add in new type CLEARINUSE which allows the inuse table to
be cleared upon storage. This may be expected/wanted/required by some applications git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1387088 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_slotmem.h')
-rw-r--r--include/ap_slotmem.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/ap_slotmem.h b/include/ap_slotmem.h
index 229aa713f4..b9c810366d 100644
--- a/include/ap_slotmem.h
+++ b/include/ap_slotmem.h
@@ -62,10 +62,14 @@ typedef unsigned int ap_slotmem_type_t;
* AP_SLOTMEM_TYPE_NOTMPSAFE:
*
* AP_SLOTMEM_TYPE_PREALLOC: Access to slots require they be grabbed 1st
+ *
+ * AP_SLOTMEM_TYPE_CLEARINUSE: If persisting, clear 'inuse' array before
+ * storing
*/
-#define AP_SLOTMEM_TYPE_PERSIST (1 << 0)
-#define AP_SLOTMEM_TYPE_NOTMPSAFE (1 << 1)
-#define AP_SLOTMEM_TYPE_PREGRAB (1 << 2)
+#define AP_SLOTMEM_TYPE_PERSIST (1 << 0)
+#define AP_SLOTMEM_TYPE_NOTMPSAFE (1 << 1)
+#define AP_SLOTMEM_TYPE_PREGRAB (1 << 2)
+#define AP_SLOTMEM_TYPE_CLEARINUSE (1 << 3)
typedef struct ap_slotmem_instance_t ap_slotmem_instance_t;