File: HTInit.h

package info (click to toggle)
cern-httpd 3.0A-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 5,392 kB
  • ctags: 6,554
  • sloc: ansic: 37,902; makefile: 1,746; perl: 535; csh: 167; sh: 143
file content (43 lines) | stat: -rw-r--r-- 1,548 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*                                                          Initialization routines in libwww
                                  INITIALIZATION MODULE
                                             
   This module resisters all the plug & play software modules which will be used in the
   program on client side (The server has it's own initialization module). The module is a
   part of the CERN Common WWW Library.
   
   The initialization consists of two phases: Setting up the MIME type conversions and
   defining the relation between a basic set of file suffixes and MIME types.  To override
   this, just copy it and link in your version before you link with the library.
   
   Implemented by HTInit.c by default.
   
 */

#include "HTUtils.h"
#include "HTList.h"
/*

MIME Type Conversions

   Two default functions can be used to do the MIME type initialization. The first
   contains all MIME types the client can handle plus the types that can be handled using
   save and execute calls, e.g. to start a PostScript viewer. The second function only
   contains MIME type conversions that can be handled internally in the client. As an
   example, the latter is used when  Line Mode Browser is started in Non-Interactive mode.
   
 */

PUBLIC void HTFormatInit PARAMS((HTList * conversions));
PUBLIC void HTFormatInitNIM PARAMS((HTList * conversions));
/*

File Suffix Setup

   This functions defines a basic set of file suffixes and the corresponding MIME types.
   
 */

PUBLIC void HTFileInit NOPARAMS;
/*

   End of HTInit Module.  */