summaryrefslogtreecommitdiff
path: root/bindings/xml/functypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/xml/functypes.h')
-rw-r--r--bindings/xml/functypes.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/bindings/xml/functypes.h b/bindings/xml/functypes.h
new file mode 100644
index 0000000..d0706b8
--- /dev/null
+++ b/bindings/xml/functypes.h
@@ -0,0 +1,16 @@
+/*
+ * This file is part of libdom.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef xml_functypes_h_
+#define xml_functypes_h_
+
+/**
+ * Type of XML parser allocation function
+ */
+typedef void *(*xml_alloc)(void *ptr, size_t len, void *pw);
+
+#endif