2 * mod_crccache_client.h
4 * Created on: 15/03/2009
8 #ifndef MOD_CRCCACHE_CLIENT_H
9 #define MOD_CRCCACHE_CLIENT_H
11 #include "cache/cache.h"
13 #include <ap_config.h>
14 #include <http_config.h>
15 #include <apr_optional.h>
17 #include "mod_crccache_client_find_similar.h"
19 extern module AP_MODULE_DECLARE_DATA crccache_client_module
;
27 struct cache_disable
{
33 /* static information about the local cache */
36 apr_array_header_t
*cacheenable
; /* URLs to cache */
37 apr_array_header_t
*cachedisable
; /* URLs not to cache */
40 const char* cache_root
;
41 apr_size_t cache_root_len
;
42 int dirlevels
; /* Number of levels of subdirectories */
43 int dirlength
; /* Length of subdirectory names */
44 apr_off_t minfs
; /* minimum file size for cached files */
45 apr_off_t maxfs
; /* maximum file size for cached files */
47 similar_page_cache_t
*similar_page_cache
;
48 } crccache_client_conf
;
50 #endif /*MOD_CRCCACHE_CLIENT_H*/