blob: 2972576a9b3ac5e0540cbac5c24f7aaee740bb53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef CMARK_REFERENCES_H
#define CMARK_REFERENCES_H
#include "chunk.h"
#include "ast.h"
cmark_reference_map *cmark_reference_map_new(void);
void cmark_reference_map_free(cmark_reference_map *map);
cmark_reference* cmark_reference_lookup(cmark_reference_map *map, cmark_chunk *label);
extern void cmark_reference_create(cmark_reference_map *map, cmark_chunk *label, cmark_chunk *url, cmark_chunk *title);
#ifndef CMARK_NO_SHORT_NAMES
#define reference cmark_reference
#define reference_map cmark_reference_map
#define reference_map_new cmark_reference_map_new
#define reference_map_free cmark_reference_map_free
#define reference_lookup cmark_reference_lookup
#define reference_create cmark_reference_create
#endif
#endif
|