summaryrefslogtreecommitdiff
path: root/src/houdini.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/houdini.h')
-rw-r--r--src/houdini.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/houdini.h b/src/houdini.h
index 9f00f6d..2e7a354 100644
--- a/src/houdini.h
+++ b/src/houdini.h
@@ -31,15 +31,15 @@ extern "C" {
#define HOUDINI_ESCAPED_SIZE(x) (((x) * 12) / 10)
#define HOUDINI_UNESCAPED_SIZE(x) (x)
-extern size_t houdini_unescape_ent(cmark_strbuf *ob, const uint8_t *src, size_t size);
-extern int houdini_escape_html(cmark_strbuf *ob, const uint8_t *src, size_t size);
-extern int houdini_escape_html0(cmark_strbuf *ob, const uint8_t *src, size_t size, int secure);
-extern int houdini_unescape_html(cmark_strbuf *ob, const uint8_t *src, size_t size);
-extern void houdini_unescape_html_f(cmark_strbuf *ob, const uint8_t *src, size_t size);
+extern bufsize_t houdini_unescape_ent(cmark_strbuf *ob, const uint8_t *src, bufsize_t size);
+extern int houdini_escape_html(cmark_strbuf *ob, const uint8_t *src, bufsize_t size);
+extern int houdini_escape_html0(cmark_strbuf *ob, const uint8_t *src, bufsize_t size, int secure);
+extern int houdini_unescape_html(cmark_strbuf *ob, const uint8_t *src, bufsize_t size);
+extern void houdini_unescape_html_f(cmark_strbuf *ob, const uint8_t *src, bufsize_t size);
extern int houdini_escape_xml(cmark_strbuf *ob, const uint8_t *src, size_t size);
extern int houdini_escape_uri(cmark_strbuf *ob, const uint8_t *src, size_t size);
extern int houdini_escape_url(cmark_strbuf *ob, const uint8_t *src, size_t size);
-extern int houdini_escape_href(cmark_strbuf *ob, const uint8_t *src, size_t size);
+extern int houdini_escape_href(cmark_strbuf *ob, const uint8_t *src, bufsize_t size);
extern int houdini_unescape_uri(cmark_strbuf *ob, const uint8_t *src, size_t size);
extern int houdini_unescape_url(cmark_strbuf *ob, const uint8_t *src, size_t size);
extern int houdini_escape_js(cmark_strbuf *ob, const uint8_t *src, size_t size);