summaryrefslogtreecommitdiff
path: root/src/inlines.h
blob: 84597947751244e25094ef229672fff9dcd49162 (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
27
28
#ifndef CMARK_INLINES_H
#define CMARK_INLINES_H

#include "chunk.h"
#include "references.h"
#include "source_map.h"

#ifdef __cplusplus
extern "C" {
#endif

cmark_chunk cmark_clean_url(cmark_mem *mem, cmark_chunk *url);
cmark_chunk cmark_clean_title(cmark_mem *mem, cmark_chunk *title);

void cmark_parse_inlines(cmark_mem *mem, cmark_node *parent,
                         cmark_reference_map *refmap, int options,
                         cmark_source_map *source_map, bufsize_t total_length);

bufsize_t cmark_parse_reference_inline(cmark_mem *mem, cmark_strbuf *input,
                                       cmark_reference_map *refmap,
                                       cmark_node *root,
                                       cmark_source_map *source_map);

#ifdef __cplusplus
}
#endif

#endif