Annotation of libwww/Library/src/HTBInit.html, revision 2.5

2.1       frystyk     1: <HTML>
                      2: <HEAD>
2.5     ! frystyk     3:   <TITLE>W3C Reference Library libwww Media Type Initialization</TITLE>
2.1       frystyk     4: </HEAD>
                      5: <BODY>
2.5     ! frystyk     6: <H1>
        !             7:   Default Media Type Initialization Module
        !             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.5     ! 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.
        !            28: <P>
        !            29: This module is implemented by <A HREF="HTBInit.c">HTBInit.c</A>, and it is
        !            30: a part of the <A HREF="http://www.w3.org/pub/WWW/Library/">W3C Reference
        !            31: Library</A>. You can also have a look at the other
        !            32: <A HREF="WWWInit.html">Initialization modules</A>.
2.1       frystyk    33: <PRE>
                     34: #ifndef HTBINIT_H
                     35: #define HTBINIT_H
                     36: </PRE>
2.5     ! frystyk    37: <H2>
        !            38:   Default File Suffix Binding
        !            39: </H2>
        !            40: <P>
        !            41: Register the default set of bindings between file suffixes and media types.
        !            42: This is used for example to guess the media type of a FTP URL of a local
        !            43: file URL.
        !            44: <PRE>
        !            45: #include "WWWCore.h"
2.1       frystyk    46: 
                     47: extern void HTFileInit (void);
                     48: </PRE>
                     49: <PRE>
                     50: #endif
                     51: </PRE>
2.5     ! frystyk    52: <P>
        !            53:   <HR>
2.3       frystyk    54: <ADDRESS>
2.5     ! frystyk    55:   @(#) $Id: HTBInit.html,v 2.4 1996/05/15 17:32:11 frystyk Exp $
2.3       frystyk    56: </ADDRESS>
2.5     ! frystyk    57: </BODY></HTML>

Webmaster