From: Justin Erenkrantz Date: Tue, 8 Feb 2005 02:05:05 +0000 (+0000) Subject: * modules/cache/mod_cache.h: Move the structure declaration of cache_handle X-Git-Tag: 2.1.3~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e352ba28e1d0f70e281dd948509a62ada840e0a;p=apache * modules/cache/mod_cache.h: Move the structure declaration of cache_handle near its typedef declaration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151817 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_cache.h b/modules/cache/mod_cache.h index 61bcaa85a1..b2666ed6ae 100644 --- a/modules/cache/mod_cache.h +++ b/modules/cache/mod_cache.h @@ -188,6 +188,14 @@ struct cache_object { }; typedef struct cache_handle cache_handle_t; +struct cache_handle { + cache_object_t *cache_obj; + apr_table_t *req_hdrs; /* cached request headers */ + apr_table_t *resp_hdrs; /* cached response headers */ + apr_table_t *resp_err_hdrs; /* cached response err headers */ + const char *content_type; /* cached content type */ + int status; /* cached status */ +}; #define CACHE_PROVIDER_GROUP "cache" @@ -213,15 +221,6 @@ struct cache_provider_list { cache_provider_list *next; }; -struct cache_handle { - cache_object_t *cache_obj; - apr_table_t *req_hdrs; /* cached request headers */ - apr_table_t *resp_hdrs; /* cached response headers */ - apr_table_t *resp_err_hdrs; /* cached response err headers */ - const char *content_type; /* cached content type */ - int status; /* cached status */ -}; - /* per request cache information */ typedef struct { cache_provider_list *providers; /* possible cache providers */