Annotation of libwww/Library/src/WWWInit.html, revision 2.11
2.1 frystyk 1: <HTML>
2: <HEAD>
2.11 ! 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
2.11 ! frystyk 25: MIME headers etc. This module helps the application programmer setting up
! 26: all this functionality, but it is important to note that none of it is
! 27: <I>required</I> in order to use libwww.
2.1 frystyk 28: <PRE>
29: #ifndef WWWINIT_H
30: #define WWWINIT_H
31: </PRE>
32: <PRE>
33: #ifdef __cplusplus
34: extern "C" {
35: #endif
36: </PRE>
2.4 frystyk 37: <H2>
2.11 ! frystyk 38: Default Protocols, Transports, MIME Headers, Dialogs etc.
! 39: </H2>
! 40: <P>
! 41: This module contains a large set of default initialization functions for
! 42: protocol modules, stream converters, event managers etc.
! 43: <PRE>
! 44: #include "<A HREF="HTInit.html">HTInit.h</A>"
! 45: </PRE>
! 46: <H2>
2.8 frystyk 47: Application Profiles
48: </H2>
49: <P>
50: Application profiles are initialization functions that are "preset" to initialize
51: the Library with the set of features often used in <I>clients</I>,
52: <I>servers</I>, <I>robots</I>, and <I>proxy servers</I>. They are basically
53: collections of the more detailed initialization functions that you can find
54: later in this interface description. In many cases you do not need to use
55: anything else than the profiles, but if you have more specific requirements
56: then you can always fall back on using the initialization functions below
57: or even werite your own extensions.
2.10 frystyk 58: <PRE>
2.11 ! frystyk 59: #include "<A HREF="HTProfil.html">HTProfil.h</A>"
2.1 frystyk 60: </PRE>
61: <PRE>
62: #ifdef __cplusplus
63: } /* end extern C definitions */
64: #endif
65:
66: #endif
67: </PRE>
2.4 frystyk 68: <P>
69: <HR>
2.3 frystyk 70: <ADDRESS>
2.11 ! frystyk 71: @(#) $Id: WWWInit.html,v 2.10 1999/02/07 18:24:19 frystyk Exp $
2.3 frystyk 72: </ADDRESS>
2.4 frystyk 73: </BODY></HTML>
Webmaster