]> granicus.if.org Git - apache/commitdiff
Remove an unused function.
authorSander Striker <striker@apache.org>
Tue, 8 Mar 2005 01:34:32 +0000 (01:34 +0000)
committerSander Striker <striker@apache.org>
Tue, 8 Mar 2005 01:34:32 +0000 (01:34 +0000)
* cache_util.c
* mod_cache.imp
* mod_cache.h

  (ap_cache_request_is_conditional): Removed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156471 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/cache_util.c
modules/cache/mod_cache.h
modules/cache/mod_cache.imp

index 7ad187ac948f559bc5f1e14db47355b874c9c3fa..cb27e653c95dc80eb008984bad9f1654ad0de2c6 100644 (file)
 
 extern module AP_MODULE_DECLARE_DATA cache_module;
 
-/* return true if the request is conditional */
-CACHE_DECLARE(int) ap_cache_request_is_conditional(apr_table_t *table)
-{
-    if (apr_table_get(table, "If-Match") ||
-        apr_table_get(table, "If-None-Match") ||
-        apr_table_get(table, "If-Modified-Since") ||
-        apr_table_get(table, "If-Unmodified-Since")) {
-        return 1;
-    }
-    return 0;
-}
 
 CACHE_DECLARE(cache_provider_list *)ap_cache_get_providers(request_rec *r,
                                                   cache_server_conf *conf, 
index 554d0a7ebf38db8cfc0915326e024215a9bd2e0d..5e72e903050f07927ace5134f039e57bc07a6643 100644 (file)
@@ -256,7 +256,6 @@ CACHE_DECLARE(void) ap_cache_usec2hex(apr_time_t j, char *y);
 CACHE_DECLARE(char *) generate_name(apr_pool_t *p, int dirlevels, 
                                     int dirlength, 
                                     const char *name);
-CACHE_DECLARE(int) ap_cache_request_is_conditional(apr_table_t *table);
 CACHE_DECLARE(cache_provider_list *)ap_cache_get_providers(request_rec *r, cache_server_conf *conf, const char *url);
 CACHE_DECLARE(int) ap_cache_liststr(apr_pool_t *p, const char *list,
                                     const char *key, char **val);
index 6bf4db08af966c53be905b0bb33230c297956fec..593bc354a053977040a5e0582f0a6efbf4d4eff9 100644 (file)
@@ -1,5 +1,4 @@
  (MODCACHE)
- ap_cache_request_is_conditional,
  ap_cache_get_providers,
  ap_cache_liststr,
  ap_cache_tokstr,