From c8caea8a8510c31fc028501acf44734f48b8dc3b Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 12 Dec 2010 15:51:06 +0100 Subject: Cleanup header defines --- src/xml-parser.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/xml-parser.h') 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 #include #include +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__ */ -- cgit v1.2.3