* 20100923.3 (2.3.9-dev) Add "last" member to ap_directive_t
* 20101012.0 (2.3.9-dev) Add header to cache_status hook.
* 20101016.0 (2.3.9-dev) Remove ap_cache_check_allowed().
+ * 20101017.0 (2.3.9-dev) Make ap_cache_control() public, add cache_control_t
+ * to mod_disk_cache format.
*/
#define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
cache_control_t control_in; /* cache control incoming */
} cache_request_rec;
-/**
- * Parse the Cache-Control and Pragma headers in one go, marking
- * which tokens appear within the header. Populate the structure
- * passed in.
- */
-int ap_cache_control(request_rec *r, cache_control_t *cc, const char *cc_header,
- const char *pragma_header, apr_table_t *headers);
-
/**
* Check the whether the request allows a cached object to be served as per RFC2616
* section 14.9.4 (Cache Revalidation and Reload Controls)
*/
CACHE_DECLARE(apr_table_t *)ap_cache_cacheable_headers_out(request_rec *r);
+/**
+ * Parse the Cache-Control and Pragma headers in one go, marking
+ * which tokens appear within the header. Populate the structure
+ * passed in.
+ */
+int ap_cache_control(request_rec *r, cache_control_t *cc, const char *cc_header,
+ const char *pragma_header, apr_table_t *headers);
+
/* hooks */