aboutsummaryrefslogtreecommitdiff
path: root/tools/gator/daemon/mxml/mxml-private.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-08-22 13:33:17 -0500
committerMark Brown <broonie@linaro.org>2014-08-22 13:33:17 -0500
commitc27744f4eb311589f693e9c67c7f778b77f89d26 (patch)
treeb8a013d826f85ab7737b338d6e5b4e7eab3c3ea3 /tools/gator/daemon/mxml/mxml-private.h
parent586197edd648635f892870b1c4f726496a8dcb6c (diff)
parent43bc6d5b076e30d55b59daedeb205063cb6e54a2 (diff)
Merge remote-tracking branch 'lsk/v3.14/topic/gator' into linux-linaro-lsk-v3.14lsk-v3.14-14.08
Diffstat (limited to 'tools/gator/daemon/mxml/mxml-private.h')
-rw-r--r--tools/gator/daemon/mxml/mxml-private.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/tools/gator/daemon/mxml/mxml-private.h b/tools/gator/daemon/mxml/mxml-private.h
new file mode 100644
index 000000000000..8789e6c52cbd
--- /dev/null
+++ b/tools/gator/daemon/mxml/mxml-private.h
@@ -0,0 +1,50 @@
+/*
+ * "$Id: mxml-private.h 408 2010-09-19 05:26:46Z mike $"
+ *
+ * Private definitions for Mini-XML, a small XML-like file parsing library.
+ *
+ * Copyright 2003-2010 by Michael R Sweet.
+ *
+ * These coded instructions, statements, and computer programs are the
+ * property of Michael R Sweet and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "COPYING"
+ * which should have been included with this file. If this file is
+ * missing or damaged, see the license at:
+ *
+ * http://www.minixml.org/
+ */
+
+/*
+ * Include necessary headers...
+ */
+
+#include "config.h"
+#include "mxml.h"
+
+
+/*
+ * Global, per-thread data...
+ */
+
+typedef struct _mxml_global_s
+{
+ void (*error_cb)(const char *);
+ int num_entity_cbs;
+ int (*entity_cbs[100])(const char *name);
+ int wrap;
+ mxml_custom_load_cb_t custom_load_cb;
+ mxml_custom_save_cb_t custom_save_cb;
+} _mxml_global_t;
+
+
+/*
+ * Functions...
+ */
+
+extern _mxml_global_t *_mxml_global(void);
+extern int _mxml_entity_cb(const char *name);
+
+
+/*
+ * End of "$Id: mxml-private.h 408 2010-09-19 05:26:46Z mike $".
+ */