summaryrefslogtreecommitdiffstats
path: root/include/ap_socache.h
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2008-12-09 15:52:59 +0100
committerJoe Orton <jorton@apache.org>2008-12-09 15:52:59 +0100
commitb078f2374e459a25742a44e43fedd0daabc49c15 (patch)
tree1deadb58bde2eb8704cfe210bbb79662f39c808e /include/ap_socache.h
parentImprove mod_ssl's environment variable extraction to correctly handle (diff)
downloadapache2-b078f2374e459a25742a44e43fedd0daabc49c15.tar.xz
apache2-b078f2374e459a25742a44e43fedd0daabc49c15.zip
* include/ap_socache.h: Define AP_SOCACHE_DEFAULT_PROVIDER as a
default provider name, to allow consumers to use a default provider if not configured otherwise. * modules/cache/mod_socache_shmcb.c (register_hooks): Register shmcb as the default provider. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724723 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_socache.h')
-rw-r--r--include/ap_socache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ap_socache.h b/include/ap_socache.h
index b037c0a6ee..8d0492e34d 100644
--- a/include/ap_socache.h
+++ b/include/ap_socache.h
@@ -160,5 +160,8 @@ typedef struct ap_socache_provider_t {
/** The provider version used to register socache providers. */
#define AP_SOCACHE_PROVIDER_VERSION "0"
+/** Default provider name. */
+#define AP_SOCACHE_DEFAULT_PROVIDER "default"
+
#endif /* AP_SOCACHE_H */
/** @} */