Annotation of libwww/Library/src/WWWInit.html, revision 2.8
2.1 frystyk 1: <HTML>
2: <HEAD>
2.8 ! frystyk 3: <!-- Changed by: Henrik Frystyk Nielsen, 15-Jul-1996 -->
2.4 frystyk 4: <TITLE>W3C Reference Library libwww Default Initialization</TITLE>
2.1 frystyk 5: </HEAD>
6: <BODY>
2.4 frystyk 7: <H1>
2.8 ! frystyk 8: Default Initialization Modules and Profiles
2.4 frystyk 9: </H1>
2.1 frystyk 10: <PRE>
11: /*
12: ** (c) COPYRIGHT MIT 1995.
13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
2.4 frystyk 16: <P>
17: As mentioned in the <A HREF="../User/Architecture/">Library Architecture</A>,
18: libwww consists of a small core and a large set of hooks for adding
19: functionality. By itself, the core it not capable of performing any Web related
20: tasks like accessing a HTTP server or parsing a HTML document. All this
21: functionality must be registered by the application. This way, the core of
22: libwww is kept application independent and can be used as the basic building
23: block for any kind of Web application. The Library comes with a large set
24: of default functions, for example for accessing HTTP and FTP servers, parsing
25: <A HREF="http://info.internet.isi.edu:80/in-notes/rfc/files/rfc822.txt">RFC
26: 822</A> headers etc. This module helps the application programmer setting
27: up all this functionality, but it is important to note that none of it is
28: <I>required</I> in order to use the Library.
2.1 frystyk 29: <PRE>
30: #ifndef WWWINIT_H
31: #define WWWINIT_H
32: </PRE>
33: <PRE>
34: #ifdef __cplusplus
35: extern "C" {
36: #endif
37: </PRE>
2.4 frystyk 38: <H2>
2.8 ! frystyk 39: Application Profiles
! 40: </H2>
! 41: <P>
! 42: Application profiles are initialization functions that are "preset" to initialize
! 43: the Library with the set of features often used in <I>clients</I>,
! 44: <I>servers</I>, <I>robots</I>, and <I>proxy servers</I>. They are basically
! 45: collections of the more detailed initialization functions that you can find
! 46: later in this interface description. In many cases you do not need to use
! 47: anything else than the profiles, but if you have more specific requirements
! 48: then you can always fall back on using the initialization functions below
! 49: or even werite your own extensions.
! 50: <PRE>#include "<A HREF="HTProfil.html">HTProfil.h</A>"
! 51: </PRE>
! 52: <H2>
2.7 frystyk 53: Default Protocols, Transports, MIME Headers, Dialogs etc.
2.4 frystyk 54: </H2>
55: <P>
56: This module contains a large set of default initialization functions for
57: protocol modules, stream converters, event managers etc.
58: <PRE>#include "<A HREF="HTInit.html">HTInit.h</A>"
59: </PRE>
60: <H2>
2.5 frystyk 61: Default HTML Parsers
62: </H2>
63: <P>
64: This file contains the initialization for the HTML parsers in libwww. The
65: parsers are used for presenting HTML objects as well as clear text documents.
66: <PRE>#include "<A HREF="HTHInit.html">HTHInit.h</A>"
67: </PRE>
68: <H2>
2.4 frystyk 69: Default File Suffix Binding
70: </H2>
71: <P>
72: Register the default set of bindings between file suffixes and media types.
73: This is used for example to guess the media type of a FTP URL of a local
74: file URL.
2.6 frystyk 75: <PRE>#include "<A HREF="HTBInit.html">HTBInit.h</A>"
2.1 frystyk 76: </PRE>
77: <PRE>
78: #ifdef __cplusplus
79: } /* end extern C definitions */
80: #endif
81:
82: #endif
83: </PRE>
2.4 frystyk 84: <P>
85: <HR>
2.3 frystyk 86: <ADDRESS>
2.8 ! frystyk 87: @(#) $Id: WWWInit.html,v 2.7 1996/06/28 16:31:36 frystyk Exp $
2.3 frystyk 88: </ADDRESS>
2.4 frystyk 89: </BODY></HTML>
Webmaster