ext/redcarpet/houdini.h in redcarpet-2.0.0b5 vs ext/redcarpet/houdini.h in redcarpet-2.0.0
- old
+ new
@@ -1,7 +1,7 @@
-#ifndef __HOUDINI_H__
-#define __HOUDINI_H__
+#ifndef HOUDINI_H__
+#define HOUDINI_H__
#include "buffer.h"
#ifdef HOUDINI_USE_LOCALE
# define _isxdigit(c) isxdigit(c)
@@ -15,9 +15,10 @@
#endif
extern void houdini_escape_html(struct buf *ob, const uint8_t *src, size_t size);
extern void houdini_escape_html0(struct buf *ob, const uint8_t *src, size_t size, int secure);
extern void houdini_unescape_html(struct buf *ob, const uint8_t *src, size_t size);
+extern void houdini_escape_xml(struct buf *ob, const uint8_t *src, size_t size);
extern void houdini_escape_uri(struct buf *ob, const uint8_t *src, size_t size);
extern void houdini_escape_url(struct buf *ob, const uint8_t *src, size_t size);
extern void houdini_escape_href(struct buf *ob, const uint8_t *src, size_t size);
extern void houdini_unescape_uri(struct buf *ob, const uint8_t *src, size_t size);
extern void houdini_unescape_url(struct buf *ob, const uint8_t *src, size_t size);