blob: 4ae812267213ffffe485c43de90e35999989b5a6 (
plain)
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
44
45
46
47
48
49
50
51
52
53
|
/*************************************************
* xfpt - Simple ASCII->Docbook processor *
*************************************************/
/* Copyright (c) University of Cambridge, 2006 */
/* Written by Philip Hazel. I wrote this because I found AsciiDoc to be to slow
for large documents, and also to have too many quirks and gotchas. */
#ifndef INCLUDED_xfpt_H
#define INCLUDED_xfpt_H
/* General header file for all modules */
#include <ctype.h>
#include <limits.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
/* These are some parameters that specify sizes of things in the code. They
must appear before including the local headers. */
/* These values do not necessarily have to appear before including the local
headers, but they might as well be together with those above. */
#define INBUFFSIZE 1024
#define PARABUFFSIZE 10000
#define FLAGSTACKSIZE 40
/* The literal states */
enum { LITERAL_OFF, LITERAL_LAYOUT, LITERAL_TEXT, LITERAL_XML };
/* More header files for xfpt */
#include "mytypes.h"
#include "structs.h"
#include "globals.h"
#include "functions.h"
#endif /* INCLUDED_xfpt_H */
/* End of xfpt.h */
|