summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perf/hubbub.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/perf/hubbub.c b/perf/hubbub.c
index 32ca061..d0ca8ec 100644
--- a/perf/hubbub.c
+++ b/perf/hubbub.c
@@ -89,6 +89,7 @@ static hubbub_error form_associate(void *ctx, void *form, void *node);
static hubbub_error add_attributes(void *ctx, void *node,
const hubbub_attribute *attributes, uint32_t n_attributes);
static hubbub_error set_quirks_mode(void *ctx, hubbub_quirks_mode mode);
+static hubbub_error change_encoding(void *ctx, const char *charset);
static hubbub_tree_handler tree_handler = {
create_comment,
@@ -107,6 +108,7 @@ static hubbub_tree_handler tree_handler = {
form_associate,
add_attributes,
set_quirks_mode,
+ change_encoding,
NULL,
NULL
};
@@ -531,3 +533,11 @@ hubbub_error set_quirks_mode(void *ctx, hubbub_quirks_mode mode)
return HUBBUB_OK;
}
+
+hubbub_error change_encoding(void *ctx, const char *charset)
+{
+ UNUSED(ctx);
+ UNUSED(charset);
+
+ return HUBBUB_OK;
+}