summaryrefslogtreecommitdiff
path: root/include/hubbub/parser.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-10-14 15:44:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-10-14 15:44:05 +0000
commit6df8f99a707326655b4f285920f19fef6d9eb90a (patch)
tree893e8d1ff525027eb482957c259d8885c3436ae2 /include/hubbub/parser.h
parent58837fe7fb2196d39f09425329087b6b48aace46 (diff)
downloadlibhubbub-6df8f99a707326655b4f285920f19fef6d9eb90a.tar.gz
libhubbub-6df8f99a707326655b4f285920f19fef6d9eb90a.tar.bz2
Fixup dubious charsets
svn path=/trunk/hubbub/; revision=5575
Diffstat (limited to 'include/hubbub/parser.h')
-rw-r--r--include/hubbub/parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hubbub/parser.h b/include/hubbub/parser.h
index 68a9d27..2e34b5e 100644
--- a/include/hubbub/parser.h
+++ b/include/hubbub/parser.h
@@ -8,6 +8,7 @@
#ifndef hubbub_parser_h_
#define hubbub_parser_h_
+#include <stdbool.h>
#include <inttypes.h>
#include <hubbub/errors.h>
@@ -55,7 +56,7 @@ typedef union hubbub_parser_optparams {
} hubbub_parser_optparams;
/* Create a hubbub parser */
-hubbub_parser *hubbub_parser_create(const char *enc,
+hubbub_parser *hubbub_parser_create(const char *enc, bool fix_enc,
hubbub_alloc alloc, void *pw);
/* Destroy a hubbub parser */
void hubbub_parser_destroy(hubbub_parser *parser);