First attempt at debianization
[erwise] / Cl / WWWLibrary / HTFormat.h
1 /*              Manage different file formats                   HTFormat.c
2 **              =============================
3 **
4 */
5 #ifndef HTFORMAT_H
6 #define HTFORMAT_H
7
8 #include "HTUtils.h"
9
10 typedef int HTFormat;
11                                 /* Can take the following values: */
12 #define WWW_INVALID   (-1)
13 #define WWW_SOURCE      0       /* Whatever it was                      */
14 #define WWW_PLAINTEXT   1       /* plain ISO latin (ASCII)              */
15 #define WWW_POSTSCRIPT  2       /* Postscript - encapsulated?           */
16 #define WWW_RICHTEXT    3       /* Microsoft RTF transfer format        */
17 #define WWW_HTML        4       /* WWW HyperText Markup Language        */
18 #define WWW_BINARY      5       /* Otherwise Unknown binary format */
19
20 #include "HTAnchor.h"
21
22
23 /*      Clear input buffer and set file number
24 */
25 extern void HTInitInput PARAMS((int file_number));
26
27 /*      Get next character from buffer
28 */
29 extern char HTGetChararcter NOPARAMS;
30
31
32 /*      Parse a file given its format
33 */
34 extern void HTParseFormat PARAMS((
35         HTFormat        format,
36         HTParentAnchor  *anchor,
37         int             file_number));
38
39 #endif