summaryrefslogtreecommitdiff
path: root/bindings/xml/functypes.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-11-04 01:06:53 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-11-04 01:06:53 +0000
commit85dcf3c9a1d83129768f675921a7816b94f8b12a (patch)
treec0f000206efc85cc728334c4ed96fb824c6f511a /bindings/xml/functypes.h
parentdedeeac53ec4c72afb2270478c48342be997a323 (diff)
downloadlibdom-85dcf3c9a1d83129768f675921a7816b94f8b12a.tar.gz
libdom-85dcf3c9a1d83129768f675921a7816b94f8b12a.tar.bz2
Fix up bindings buildsystem to permit multiple bindings to be built -- quite why this wasn't done in the first place is currently beyond me.
Tidy up XML binding -- ensure all public API is prefixed dom_xml_ to avoid confusion, remove xml_alloc (it's pointless), and move xml_msg to <dom/functypes.h> (as dom_msg, as it's more useful there) Fix up testobject to compile once more svn path=/trunk/dom/; revision=3643
Diffstat (limited to 'bindings/xml/functypes.h')
-rw-r--r--bindings/xml/functypes.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/bindings/xml/functypes.h b/bindings/xml/functypes.h
deleted file mode 100644
index 6a31640..0000000
--- a/bindings/xml/functypes.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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_
-
-#include <stddef.h>
-#include <inttypes.h>
-
-/**
- * Type of XML parser allocation function
- */
-typedef void *(*xml_alloc)(void *ptr, size_t len, void *pw);
-
-/**
- * Severity levels for xml_msg function, based on syslog(3)
- */
-enum {
- XML_MSG_DEBUG,
- XML_MSG_INFO,
- XML_MSG_NOTICE,
- XML_MSG_WARNING,
- XML_MSG_ERROR,
- XML_MSG_CRITICAL,
- XML_MSG_ALERT,
- XML_MSG_EMERGENCY
-};
-
-/**
- * Type of XML parser message function
- */
-typedef void (*xml_msg)(uint32_t severity, void *ctx, const char *msg, ...);
-
-#endif
-