summaryrefslogtreecommitdiff
path: root/src/inlines.h
blob: 422b8e3bb6d906e04b13549e3c9e5712cfb83725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef CMARK_INLINES_H
#define CMARK_INLINES_H

#ifdef __cplusplus
extern "C" {
#endif

unsigned char *cmark_clean_url(cmark_chunk *url);
unsigned char *cmark_clean_title(cmark_chunk *title);

cmark_node* cmark_parse_inlines(cmark_strbuf *input, cmark_reference_map *refmap);

int cmark_parse_reference_inline(cmark_strbuf *input, cmark_reference_map *refmap);

#ifndef CMARK_NO_SHORT_NAMES
  #define parse_inlines             cmark_parse_inlines
  #define parse_reference_inline    cmark_parse_reference_inline
  #define clean_url                 cmark_clean_url
  #define clean_title               cmark_clean_title
#endif

#ifdef __cplusplus
}
#endif

#endif