summaryrefslogtreecommitdiff
path: root/src/escape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/escape.h')
-rw-r--r--src/escape.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/escape.h b/src/escape.h
index 95be860..d7659c2 100644
--- a/src/escape.h
+++ b/src/escape.h
@@ -9,8 +9,17 @@
extern "C" {
#endif
-extern void hoedown_escape_html(hoedown_buffer *ob, const uint8_t *src, size_t size, int secure);
-extern void hoedown_escape_href(hoedown_buffer *ob, const uint8_t *src, size_t size);
+
+/*************
+ * FUNCTIONS *
+ *************/
+
+/* hoedown_escape_href: escape (part of) a URL inside HTML */
+void hoedown_escape_href(hoedown_buffer *ob, const uint8_t *data, size_t size);
+
+/* hoedown_escape_html: escape HTML */
+void hoedown_escape_html(hoedown_buffer *ob, const uint8_t *data, size_t size, int secure);
+
#ifdef __cplusplus
}