diff options
Diffstat (limited to 'src/references.h')
-rw-r--r-- | src/references.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/references.h b/src/references.h index cd58614..2972576 100644 --- a/src/references.h +++ b/src/references.h @@ -1,25 +1,8 @@ #ifndef CMARK_REFERENCES_H #define CMARK_REFERENCES_H -#define REFMAP_SIZE 16 - #include "chunk.h" - -struct cmark_reference { - struct cmark_reference *next; - unsigned char *label; - unsigned char *url; - unsigned char *title; - unsigned int hash; -}; - -typedef struct cmark_reference cmark_reference; - -struct cmark_reference_map { - cmark_reference *table[REFMAP_SIZE]; -}; - -typedef struct cmark_reference_map cmark_reference_map; +#include "ast.h" cmark_reference_map *cmark_reference_map_new(void); void cmark_reference_map_free(cmark_reference_map *map); |