diff options
author | James Bursa <james@netsurf-browser.org> | 2008-06-03 01:10:46 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2008-06-03 01:10:46 +0000 |
commit | 8282253a5415263e2385d47d9416a611a00eea0f (patch) | |
tree | cc7f829f95d164de024821ab8766c136dbd81916 /content/fetch.h | |
parent | f59d4a3626301e9eb5ae56edf050337e8f6fb4d1 (diff) | |
download | netsurf-8282253a5415263e2385d47d9416a611a00eea0f.tar.gz netsurf-8282253a5415263e2385d47d9416a611a00eea0f.tar.bz2 |
Move struct cache_data from fetch to content as it is no longer needed by fetch. Make it a member instead of pointer in struct content.
svn path=/trunk/netsurf/; revision=4246
Diffstat (limited to 'content/fetch.h')
-rw-r--r-- | content/fetch.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/content/fetch.h b/content/fetch.h index 4306e65da..6bf83636d 100644 --- a/content/fetch.h +++ b/content/fetch.h @@ -48,19 +48,6 @@ struct content; struct fetch; struct form_successful_control; -struct cache_data { - time_t req_time; /**< Time of request */ - time_t res_time; /**< Time of response */ - time_t date; /**< Date: response header */ - time_t expires; /**< Expires: response header */ -#define INVALID_AGE -1 - int age; /**< Age: response header */ - int max_age; /**< Max-age Cache-control parameter */ - bool no_cache; /**< no-cache Cache-control parameter */ - char *etag; /**< Etag: response header */ - time_t last_modified; /**< Last-Modified: response header */ -}; - #ifdef WITH_SSL struct ssl_cert_info { long version; /**< Certificate version */ |