summaryrefslogtreecommitdiff
path: root/include/ap_slotmem.h
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2009-05-15 17:41:56 +0000
committerJim Jagielski <jim@apache.org>2009-05-15 17:41:56 +0000
commit027d128b674ae4f0c96641cfd74e2add667df671 (patch)
tree9fd1fcf45f0a64b58a13f04a7857416d289c8851 /include/ap_slotmem.h
parent6ee05d9afbdf0dd372db3e99688ae7eb07b1e313 (diff)
downloadhttpd-027d128b674ae4f0c96641cfd74e2add667df671.tar.gz
Another slotmem flag. This one determines if access
requires grab/return git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@775255 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_slotmem.h')
-rw-r--r--include/ap_slotmem.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ap_slotmem.h b/include/ap_slotmem.h
index e066e773d2..3e957dab6e 100644
--- a/include/ap_slotmem.h
+++ b/include/ap_slotmem.h
@@ -57,8 +57,17 @@ extern "C" {
typedef unsigned int ap_slotmem_type_t;
+/*
+ * AP_SLOTMEM_TYPE_PERSIST: For transitory providers, persist
+ * the data on the file-system
+ *
+ * AP_SLOTMEM_TYPE_NOTMPSAFE:
+ *
+ * AP_SLOTMEM_TYPE_PREALLOC: Access to slots require they be grabbed 1st
+ */
#define AP_SLOTMEM_TYPE_PERSIST (1 << 0)
#define AP_SLOTMEM_TYPE_NOTMPSAFE (1 << 1)
+#define AP_SLOTMEM_TYPE_PREGRAB (1 << 2)
typedef struct ap_slotmem_instance_t ap_slotmem_instance_t;