File: html-doc.h

package info (click to toggle)
libgda4 4.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 34,928 kB
  • ctags: 18,543
  • sloc: ansic: 187,884; sh: 10,317; xml: 7,903; yacc: 3,454; makefile: 1,974; java: 1,253; python: 896; sql: 321
file content (16 lines) | stat: -rw-r--r-- 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <glib.h>
#include <libxml/tree.h>

typedef struct {
	xmlDocPtr   doc;
	xmlNodePtr  head;
	xmlNodePtr  body;

	xmlNodePtr  sidebar;
	xmlNodePtr  content;
	xmlNodePtr  footer;
} HtmlDoc;

HtmlDoc  *html_doc_new       (const gchar *title);
void      html_doc_free      (HtmlDoc *hdoc);
xmlChar  *html_doc_to_string (HtmlDoc *hdoc, gsize *out_size);