summaryrefslogtreecommitdiff
path: root/backend/epub/epub-document.h
blob: 157ced04a6e4ecd62da546fa4602c7be74633d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <gtk/gtk.h>
#include <glib.h>
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>

typedef enum  
{
	xmlattribute,
	xmlkeyword
}XMLparsereturntype;

gboolean  openXmlDocument ( const gchar* filename );

gboolean  checkRoot       (xmlChar* rootname);

void      parseChildren   (xmlNodePtr parent, 
                	       xmlChar* parserfor,
           		           XMLparsereturntype rettype,
                   		   xmlChar* attributename );

xmlChar*  parseXMLchildren (xmlChar* parserfor,
				            XMLparsereturntype rettype,
                            xmlChar* attributename );

void      xmlFreeAll();