summaryrefslogtreecommitdiff
path: root/3rd-party/xfpt/src/globals.c
diff options
context:
space:
mode:
Diffstat (limited to '3rd-party/xfpt/src/globals.c')
-rw-r--r--3rd-party/xfpt/src/globals.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/3rd-party/xfpt/src/globals.c b/3rd-party/xfpt/src/globals.c
new file mode 100644
index 000000000..2ea12003c
--- /dev/null
+++ b/3rd-party/xfpt/src/globals.c
@@ -0,0 +1,50 @@
+/*************************************************
+* xfpt - Simple ASCII->Docbook processor *
+*************************************************/
+
+/* Copyright (c) University of Cambridge, 2012 */
+/* Written by Philip Hazel. */
+
+/* Allocate storage and initialize global variables */
+
+#include "xfpt.h"
+
+
+uschar *xfpt_share = US DATADIR;
+uschar *xfpt_version = US "0.09 16-May-2012";
+
+tree_node *entities = NULL;
+
+flagstr *flaglist = NULL;
+int from_type[FROM_TYPE_STACKSIZE];
+int from_type_ptr = 0;
+
+uschar *inbuffer = NULL;
+istackstr *istack = NULL;
+istackstr *istackbase = NULL;
+
+int literal_state = LITERAL_OFF;
+
+int nest_level = 0;
+int nest_literal_stack[MAXNEST+1];
+uschar *next_line = NULL;
+
+macroexe *macrocurrent = NULL;
+macrodef *macrolist = NULL;
+
+argstr *macro_argbase = NULL;
+argstr *macro_starteach = NULL;
+
+FILE *outfile = NULL;
+
+int para_inline_macro = 0;
+uschar *parabuffer = NULL;
+int popto = -1;
+pushstr *pushed = NULL;
+
+int return_code = 0;
+uschar *revision = NULL;
+
+BOOL suppress_warnings = FALSE;
+
+/* End of globals.c */