summaryrefslogtreecommitdiff
path: root/include/parserutils/parserutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parserutils/parserutils.h')
-rw-r--r--include/parserutils/parserutils.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/parserutils/parserutils.h b/include/parserutils/parserutils.h
new file mode 100644
index 0000000..460e80c
--- /dev/null
+++ b/include/parserutils/parserutils.h
@@ -0,0 +1,23 @@
+/*
+ * This file is part of LibParserUtils.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef parserutils_parserutils_h_
+#define parserutils_parserutils_h_
+
+#include <parserutils/errors.h>
+#include <parserutils/functypes.h>
+#include <parserutils/types.h>
+
+/* Initialise the ParserUtils library for use */
+parserutils_error parserutils_initialise(const char *aliases_file,
+ parserutils_alloc alloc, void *pw);
+
+/* Clean up after ParserUtils */
+parserutils_error parserutils_finalise(parserutils_alloc alloc, void *pw);
+
+#endif
+