mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-31 18:29:02 -04:00
adding pegmarkdown support library.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5953 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4413536926
commit
3be22536df
107 changed files with 20038 additions and 0 deletions
17
supportlibs/pegmarkdown/parsing_functions.h
Normal file
17
supportlibs/pegmarkdown/parsing_functions.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef PARSING_FUNCTIONS_H
|
||||
#define PARSING_FUNCTIONS_H
|
||||
/* parsing_functions.c - Functions for parsing markdown and
|
||||
* freeing element lists. */
|
||||
|
||||
#include "markdown_peg.h"
|
||||
|
||||
/* free_element_list - free list of elements recursively */
|
||||
void free_element_list(element * elt);
|
||||
/* free_element - free element and contents */
|
||||
void free_element(element *elt);
|
||||
|
||||
element * parse_references(char *string, int extensions);
|
||||
element * parse_notes(char *string, int extensions, element *reference_list);
|
||||
element * parse_markdown(char *string, int extensions, element *reference_list, element *note_list);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue