Annotation of libwww/Library/src/WWWInit.html, revision 2.10
2.1 frystyk 1: <HTML>
2: <HEAD>
2.8 frystyk 3: <!-- Changed by: Henrik Frystyk Nielsen, 15-Jul-1996 -->
2.9 frystyk 4: <TITLE>W3C Sample Code 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.
2.10 ! frystyk 66: <PRE>
! 67: #include "<A HREF="HTHInit.html">HTHInit.h</A>"
2.1 frystyk 68: </PRE>
69: <PRE>
70: #ifdef __cplusplus
71: } /* end extern C definitions */
72: #endif
73:
74: #endif
75: </PRE>
2.4 frystyk 76: <P>
77: <HR>
2.3 frystyk 78: <ADDRESS>
2.10 ! frystyk 79: @(#) $Id: WWWInit.html,v 2.9 1997/02/16 18:43:25 frystyk Exp $
2.3 frystyk 80: </ADDRESS>
2.4 frystyk 81: </BODY></HTML>
Webmaster