diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-28 20:53:46 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-28 20:53:46 +0200 |
commit | 143e24fa04f0126d91b65b4035dd6ec556c79b00 (patch) | |
tree | ee0e78b50e9c433bb43149f503694843b9f2eae2 /depends/hoedown/include/hoedown/escape.h | |
parent | 33c3850b40aba095b056738448c235190aeb1aab (diff) | |
download | MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.tar MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.tar.gz MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.tar.lz MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.tar.xz MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.zip |
NOISSUE clean up some old cmake messes
Diffstat (limited to 'depends/hoedown/include/hoedown/escape.h')
-rw-r--r-- | depends/hoedown/include/hoedown/escape.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/depends/hoedown/include/hoedown/escape.h b/depends/hoedown/include/hoedown/escape.h new file mode 100644 index 00000000..d7659c27 --- /dev/null +++ b/depends/hoedown/include/hoedown/escape.h @@ -0,0 +1,28 @@ +/* escape.h - escape utilities */ + +#ifndef HOEDOWN_ESCAPE_H +#define HOEDOWN_ESCAPE_H + +#include "buffer.h" + +#ifdef __cplusplus +extern "C" { +#endif + + +/************* + * 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 +} +#endif + +#endif /** HOEDOWN_ESCAPE_H **/ |