From c88b268f846e5501e19b5d75b0e8ac9b11858857 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Mon, 2 Oct 2006 21:58:33 +0000 Subject: Split documentation into files by topic and convert to AsciiDoc format. svn path=/trunk/netsurf/; revision=2975 --- Docs/01-content | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Docs/01-content (limited to 'Docs/01-content') diff --git a/Docs/01-content b/Docs/01-content new file mode 100644 index 000000000..4db4bade8 --- /dev/null +++ b/Docs/01-content @@ -0,0 +1,24 @@ +Fetching, managing, and converting content +========================================== + +The modules in the content directory provide the infrastructure for fetching +data, managing it in memory, and converting it for display. + +Struct Content +-------------- +Each URL is stored in a struct ::content. This structure contains the +content_type and a union with fields for each type of data (HTML, CSS, +images). The content_* functions provide a general interface for handling these +structures. For example, content_redraw() calls html_redraw() or +nsjpeg_redraw(), etc., depending on the type of content. See content.h and +content.c. + +Fetching +-------- +A high-level interface to starting the process of fetching and converting an URL +is provided by the fetchcache functions, which check the memory cache for a url +and fetch, convert, and cache it if not present. See fetchcache.h and +fetchcache.c. + +The fetch module provides a low-level URL fetching interface. See fetch.h and +fetch.c. -- cgit v1.2.3