diff options
Diffstat (limited to 'src/scanners.h')
-rw-r--r-- | src/scanners.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scanners.h b/src/scanners.h index f360505..1353f3b 100644 --- a/src/scanners.h +++ b/src/scanners.h @@ -6,6 +6,7 @@ extern "C" { #endif int _scan_at(int (*scanner)(const unsigned char *), cmark_chunk *c, int offset); +int _scan_scheme(const unsigned char *p); int _scan_autolink_uri(const unsigned char *p); int _scan_autolink_email(const unsigned char *p); int _scan_html_tag(const unsigned char *p); @@ -20,6 +21,7 @@ int _scan_open_code_fence(const unsigned char *p); int _scan_close_code_fence(const unsigned char *p); int _scan_entity(const unsigned char *p); +#define scan_scheme(c, n) _scan_at(&_scan_scheme, c, n) #define scan_autolink_uri(c, n) _scan_at(&_scan_autolink_uri, c, n) #define scan_autolink_email(c, n) _scan_at(&_scan_autolink_email, c, n) #define scan_html_tag(c, n) _scan_at(&_scan_html_tag, c, n) |