diff options
author | James Bursa <james@netsurf-browser.org> | 2006-10-02 21:58:33 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2006-10-02 21:58:33 +0000 |
commit | c88b268f846e5501e19b5d75b0e8ac9b11858857 (patch) | |
tree | e09f15adccc34647b590638c1416c1df4ca027ca /Docs/01-content | |
parent | 118f435133cb5aa3a81fa84e29f69e563e2a0e35 (diff) | |
download | netsurf-c88b268f846e5501e19b5d75b0e8ac9b11858857.tar.gz netsurf-c88b268f846e5501e19b5d75b0e8ac9b11858857.tar.bz2 |
Split documentation into files by topic and convert to AsciiDoc format.
svn path=/trunk/netsurf/; revision=2975
Diffstat (limited to 'Docs/01-content')
-rw-r--r-- | Docs/01-content | 24 |
1 files changed, 24 insertions, 0 deletions
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. |