summaryrefslogtreecommitdiff
path: root/src/xml-parser.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2010-12-12 15:51:06 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2010-12-12 15:51:06 +0100
commitc8caea8a8510c31fc028501acf44734f48b8dc3b (patch)
treef6d33dd4953c43b42d1d962223a0d05384b5e1a1 /src/xml-parser.h
parent1089f1fcf55591dd4b5d47ee963bfe0e24cf9ad5 (diff)
downloadcataract-c8caea8a8510c31fc028501acf44734f48b8dc3b.tar.xz
Cleanup header defines
Diffstat (limited to 'src/xml-parser.h')
-rw-r--r--src/xml-parser.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/xml-parser.h b/src/xml-parser.h
index 3d89616..c750b57 100644
--- a/src/xml-parser.h
+++ b/src/xml-parser.h
@@ -15,11 +15,16 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __CGG__XML_PARSER_H__
+#define __CGG__XML_PARSER_H__
+
#include <glib.h>
#include <libxml/xmlmemory.h>
#include <libxml/xpath.h>
+G_BEGIN_DECLS
+
typedef struct {
xmlDocPtr doc;
@@ -27,7 +32,6 @@ typedef struct {
} TXMLFile;
-
/*
* xml_parser_load: initialize and load the XML document
*/
@@ -66,3 +70,8 @@ gboolean xml_file_get_node_present (TXMLFile *file, const gchar *x_path);
* xml_file_node_get_children_count: retrieve number of children items of the specified XPath node
*/
int xml_file_node_get_children_count (TXMLFile *file, const gchar *x_path);
+
+
+G_END_DECLS
+
+#endif /* __CGG__XML_PARSER_H__ */