Annotation of libwww/Library/src/WWWInit.html, revision 2.5
2.1 frystyk 1: <HTML>
2: <HEAD>
2.4 frystyk 3: <TITLE>W3C Reference Library libwww Default Initialization</TITLE>
2.1 frystyk 4: </HEAD>
5: <BODY>
2.4 frystyk 6: <H1>
7: Default Initialization Modules
8: </H1>
2.1 frystyk 9: <PRE>
10: /*
11: ** (c) COPYRIGHT MIT 1995.
12: ** Please first read the full copyright statement in the file COPYRIGH.
13: */
14: </PRE>
2.4 frystyk 15: <P>
16: As mentioned in the <A HREF="../User/Architecture/">Library Architecture</A>,
17: libwww consists of a small core and a large set of hooks for adding
18: functionality. By itself, the core it not capable of performing any Web related
19: tasks like accessing a HTTP server or parsing a HTML document. All this
20: functionality must be registered by the application. This way, the core of
21: libwww is kept application independent and can be used as the basic building
22: block for any kind of Web application. The Library comes with a large set
23: of default functions, for example for accessing HTTP and FTP servers, parsing
24: <A HREF="http://info.internet.isi.edu:80/in-notes/rfc/files/rfc822.txt">RFC
25: 822</A> headers etc. This module helps the application programmer setting
26: up all this functionality, but it is important to note that none of it is
27: <I>required</I> in order to use the Library.
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.5 ! frystyk 38: Default Protocols, Transports, Dialogs etc.
2.4 frystyk 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>#include "<A HREF="HTInit.html">HTInit.h</A>"
44: </PRE>
45: <H2>
2.5 ! frystyk 46: Default HTML Parsers
! 47: </H2>
! 48: <P>
! 49: This file contains the initialization for the HTML parsers in libwww. The
! 50: parsers are used for presenting HTML objects as well as clear text documents.
! 51: <PRE>#include "<A HREF="HTHInit.html">HTHInit.h</A>"
! 52: </PRE>
! 53: <H2>
2.4 frystyk 54: Default File Suffix Binding
55: </H2>
56: <P>
57: Register the default set of bindings between file suffixes and media types.
58: This is used for example to guess the media type of a FTP URL of a local
59: file URL.
60: <PRE>#include "<A HREF="HTInit.html">HTBInit.h</A>"
2.1 frystyk 61: </PRE>
62: <PRE>
63: #ifdef __cplusplus
64: } /* end extern C definitions */
65: #endif
66:
67: #endif
68: </PRE>
2.4 frystyk 69: <P>
70: <HR>
2.3 frystyk 71: <ADDRESS>
2.5 ! frystyk 72: @(#) $Id: WWWInit.html,v 2.4 1996/05/20 15:07:33 frystyk Exp $
2.3 frystyk 73: </ADDRESS>
2.4 frystyk 74: </BODY></HTML>
Webmaster