From fba46de9cbe8778919f68a7d24e242c7ee3f1331 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 11 Mar 2004 02:19:14 +0000 Subject: [project @ 2004-03-11 02:19:13 by bursa] Add source_data to content structure and remove equivalents from individual contents. svn path=/import/netsurf/; revision=606 --- content/content.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index 2d2e498fe..5520453a8 100644 --- a/content/content.h +++ b/content/content.h @@ -30,7 +30,6 @@ #include "netsurf/content/cache.h" #include "netsurf/content/content_type.h" #include "netsurf/content/fetch.h" -#include "netsurf/content/other.h" #include "netsurf/css/css.h" #include "netsurf/render/box.h" #include "netsurf/render/font.h" @@ -123,7 +122,6 @@ struct content { struct content_plugin_data plugin; #endif #endif - struct content_other_data other; } data; struct cache_entry *cache; /**< Used by cache, 0 if not cached. */ @@ -137,7 +135,8 @@ struct content { char status_message[80]; /**< Text for status bar. */ struct fetch *fetch; /**< Associated fetch, or 0. */ - unsigned long fetch_size; /**< Amount of data fetched so far. */ + char *source_data; /**< Source data, as received. */ + unsigned long source_size; /**< Amount of data fetched so far. */ unsigned long total_size; /**< Total data size, 0 if unknown. */ int lock; /**< Content in use, do not destroy. */ -- cgit v1.2.3