summaryrefslogtreecommitdiff
path: root/src/xml-parser.h
diff options
context:
space:
mode:
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__ */