Annotation of libwww/Library/src/HTInit.html, revision 2.9

2.6       timbl       1: <HTML>
                      2: <HEAD>
2.9     ! frystyk     3: <TITLE>Initialization routines in libwww</TITLE>
2.6       timbl       4: <NEXTID N="z1">
                      5: </HEAD>
                      6: <BODY>
2.9     ! frystyk     7: <H1>Initialization Module</H1>
        !             8: 
        !             9: This module resisters all the plug &amp; play software modules which will
        !            10: be used in the program on client side (The server has it's own initialization
        !            11: module). The module is a part of the <A HREF="Overview.html">CERN Common WWW
        !            12: Library</A>. <P>
        !            13: 
        !            14: The initialization consists of two phases: Setting up the MIME type conversions
        !            15: and defining the relation between a basic set of file suffixes and MIME types. 
        !            16: To override this, just copy it and link in your version before you link
2.6       timbl      17: with the library.<P>
                     18: 
2.9     ! frystyk    19: Implemented by <A NAME="z0" HREF="HTInit.c">HTInit.c</A> by default.
2.7       timbl      20: 
2.9     ! frystyk    21: <PRE>
        !            22: #include "HTUtils.h"
        !            23: #include "HTList.h"
        !            24: </PRE>
2.7       timbl      25: 
2.9     ! frystyk    26: <H2>MIME Type Conversions</H2>
2.7       timbl      27: 
2.9     ! frystyk    28: Two default functions can be used to do the MIME type initialization. The
        !            29: first contains all MIME types the client can handle <B>plus</B> the types
        !            30: that can be handled using save and execute calls, e.g. to start a PostScript
        !            31: viewer. The second function only contains MIME type conversions that can
        !            32: be handled internally in the client. As an example, the latter is used
        !            33: when <A HREF="http://info.cern.ch/hypertext/WWW/LineMode/Status.html">
        !            34: Line Mode Browser</A> is started in Non-Interactive mode.
        !            35: 
        !            36: <PRE>
        !            37: PUBLIC void HTFormatInit PARAMS((HTList * conversions));
        !            38: PUBLIC void HTFormatInitNIM PARAMS((HTList * conversions));
        !            39: </PRE>
        !            40: 
        !            41: <H2>File Suffix Setup</H2>
        !            42: 
        !            43: This functions defines a basic set of file suffixes and the corresponding
        !            44: MIME types.
        !            45: 
        !            46: <PRE>
        !            47: PUBLIC void HTFileInit NOPARAMS;
        !            48: </PRE>
2.7       timbl      49: 
2.9     ! frystyk    50: End of HTInit Module.
        !            51: </BODY>
2.6       timbl      52: </HTML>
2.8       frystyk    53: 

Webmaster