[−][src]Crate cmark_gfm_sys
Structs
_G_fpos64_t | |
_G_fpos_t | |
_IO_FILE | |
_IO_FILE_plus | |
_IO_jump_t | |
_IO_marker | |
__fsid_t | |
__mbstate_t | |
__va_list_tag | |
_cmark_llist | A generic singly linked list. |
cmark_chunk | |
cmark_html_renderer | |
cmark_iter | |
cmark_mem | Defines the memory allocation functions to be used by CMark when parsing and allocating a document tree |
cmark_node | |
cmark_parser | |
cmark_plugin | |
cmark_renderer | |
cmark_syntax_extension | |
delimiter | Exposed raw for now |
subject |
Constants
Statics
CMARK_NODE_LAST_BLOCK | |
CMARK_NODE_LAST_INLINE | |
_IO_2_1_stdin_ | |
_IO_2_1_stdout_ | |
_IO_2_1_stderr_ | |
stderr | |
stdin | |
stdout | |
sys_errlist | |
sys_nerr |
Functions
_IO_feof⚠ | |
_IO_ferror⚠ | |
_IO_flockfile⚠ | |
_IO_free_backup_area⚠ | |
_IO_ftrylockfile⚠ | |
_IO_funlockfile⚠ | |
_IO_getc⚠ | |
_IO_padn⚠ | |
_IO_peekc_locked⚠ | |
_IO_putc⚠ | |
_IO_seekoff⚠ | |
_IO_seekpos⚠ | |
_IO_sgetn⚠ | |
_IO_vfprintf⚠ | |
_IO_vfscanf⚠ | |
__getdelim⚠ | |
__overflow⚠ | |
__uflow⚠ | |
__underflow⚠ | |
clearerr⚠ | |
clearerr_unlocked⚠ | |
cmark_arena_pop⚠ | |
cmark_arena_push⚠ | |
cmark_arena_reset⚠ | Resets the arena allocator, quickly returning all used memory to the operating system. |
cmark_consolidate_text_nodes⚠ | Consolidates adjacent text nodes. |
cmark_find_syntax_extension⚠ | This will search for the syntax extension named 'name' among the registered syntax extensions. |
cmark_get_arena_mem_allocator⚠ | An arena allocator; uses system calloc to allocate large slabs of memory. Memory in these slabs is not reused at all. |
cmark_get_default_mem_allocator⚠ | The default memory allocator; uses the system's calloc, realloc and free. |
cmark_gfm_core_extensions_ensure_registered⚠ | |
cmark_gfm_extensions_get_table_alignments⚠ | |
cmark_gfm_extensions_get_table_columns⚠ | |
cmark_gfm_extensions_get_table_row_is_header⚠ | |
cmark_gfm_extensions_get_tasklist_state⚠ | |
cmark_inline_parser_advance_offset⚠ | Advance the current inline parsing offset |
cmark_inline_parser_get_chunk⚠ | Gets the cmark_chunk being operated on by the given inline parser. Use cmark_inline_parser_get_offset to get our current position in the chunk. |
cmark_inline_parser_get_column⚠ | |
cmark_inline_parser_get_last_delimiter⚠ | |
cmark_inline_parser_get_line⚠ | |
cmark_inline_parser_get_offset⚠ | Get the current inline parsing offset |
cmark_inline_parser_in_bracket⚠ | Returns 1 if the inline parser is currently in a bracket; pass 1 for 'image' if you want to know about an image-type bracket, 0 for link-type. |
cmark_inline_parser_is_eof⚠ | Whether the inline parser has reached the end of the current line |
cmark_inline_parser_peek_at⚠ | Get the character located 'pos' bytes in the current line. |
cmark_inline_parser_peek_char⚠ | Get the character located at the current inline parsing offset |
cmark_inline_parser_push_delimiter⚠ | Push a delimiter on the delimiter stack. See <http://spec.commonmark.org/0.24/#phase-2-inline-structure for more information on the parameters |
cmark_inline_parser_remove_delimiter⚠ | Remove 'delim' from the delimiter stack |
cmark_inline_parser_scan_delimiters⚠ | Convenience function to scan a given delimiter. |
cmark_inline_parser_set_offset⚠ | Set the offset in bytes in the chunk being processed by the given inline parser. |
cmark_inline_parser_take_while⚠ | Get the characters located after the current inline parsing offset while 'pred' matches. Free after usage. |
cmark_iter_free⚠ | Frees the memory allocated for an iterator. |
cmark_iter_get_event_type⚠ | Returns the current event type. |
cmark_iter_get_node⚠ | Returns the current node. |
cmark_iter_get_root⚠ | Returns the root node. |
cmark_iter_new⚠ | Creates a new iterator starting at 'root'. The current node and event type are undefined until 'cmark_iter_next' is called for the first time. The memory allocated for the iterator should be released using 'cmark_iter_free' when it is no longer needed. |
cmark_iter_next⚠ | Advances to the next node and returns the event type ( |
cmark_iter_reset⚠ | Resets the iterator so that the current node is 'current' and the event type is 'event_type'. The new current node must be a descendant of the root node or the root node itself. |
cmark_llist_append⚠ | Append an element to the linked list, return the possibly modified head of the list. |
cmark_llist_free⚠ | Free the list starting with 'head' |
cmark_llist_free_full⚠ | Free the list starting with 'head', calling 'free_func' with the data pointer of each of its elements |
cmark_manage_extensions_special_characters⚠ | |
cmark_markdown_to_html⚠ | Convert 'text' (assumed to be a UTF-8 encoded string with length 'len') from CommonMark Markdown to HTML, returning a null-terminated, UTF-8-encoded string. It is the caller's responsibility to free the returned buffer. |
cmark_node_append_child⚠ | Adds 'child' to the end of the children of 'node'. Returns 1 on success, 0 on failure. |
cmark_node_first_child⚠ | Returns the first child of 'node', or NULL if 'node' has no children. |
cmark_node_free⚠ | Frees the memory allocated for a node and any children. |
cmark_node_get_end_column⚠ | Returns the column at which 'node' ends. |
cmark_node_get_end_line⚠ | Returns the line on which 'node' ends. |
cmark_node_get_fence_info⚠ | Returns the info string from a fenced code block. |
cmark_node_get_fenced⚠ | Returns code blocks fencing details |
cmark_node_get_heading_level⚠ | Returns the heading level of 'node', or 0 if 'node' is not a heading. |
cmark_node_get_list_delim⚠ | Returns the list delimiter type of 'node', or |
cmark_node_get_list_start⚠ | Returns starting number of 'node', if it is an ordered list, otherwise 0. |
cmark_node_get_list_tight⚠ | Returns 1 if 'node' is a tight list, 0 otherwise. |
cmark_node_get_list_type⚠ | Returns the list type of 'node', or |
cmark_node_get_literal⚠ | Returns the string contents of 'node', or an empty string if none is set. Returns NULL if called on a node that does not have string content. |
cmark_node_get_on_enter⚠ | Returns the literal "on enter" text for a custom 'node', or an empty string if no on_enter is set. Returns NULL if called on a non-custom node. |
cmark_node_get_on_exit⚠ | Returns the literal "on exit" text for a custom 'node', or an empty string if no on_exit is set. Returns NULL if called on a non-custom node. |
cmark_node_get_start_column⚠ | Returns the column at which 'node' begins. |
cmark_node_get_start_line⚠ | Returns the line on which 'node' begins. |
cmark_node_get_string_content⚠ | Return the string content for all types of 'node'. The pointer stays valid as long as 'node' isn't freed. |
cmark_node_get_syntax_extension⚠ | Get the syntax extension responsible for the creation of 'node'. Return NULL if 'node' was created because it matched standard syntax rules. |
cmark_node_get_title⚠ | Returns the title of a link or image 'node', or an empty string if no title is set. Returns NULL if called on a node that is not a link or image. |
cmark_node_get_type⚠ | Returns the type of 'node', or |
cmark_node_get_type_string⚠ | Like 'cmark_node_get_type', but returns a string representation
of the type, or |
cmark_node_get_url⚠ | Returns the URL of a link or image 'node', or an empty string if no URL is set. Returns NULL if called on a node that is not a link or image. |
cmark_node_get_user_data⚠ | Returns the user data of 'node'. |
cmark_node_insert_after⚠ | Inserts 'sibling' after 'node'. Returns 1 on success, 0 on failure. |
cmark_node_insert_before⚠ | Inserts 'sibling' before 'node'. Returns 1 on success, 0 on failure. |
cmark_node_last_child⚠ | Returns the last child of 'node', or NULL if 'node' has no children. |
cmark_node_new⚠ | Creates a new node of type 'type'. Note that the node may have other required properties, which it is the caller's responsibility to assign. |
cmark_node_new_with_ext⚠ | |
cmark_node_new_with_mem⚠ | Same as |
cmark_node_new_with_mem_and_ext⚠ | |
cmark_node_next⚠ | Returns the next node in the sequence after 'node', or NULL if there is none. |
cmark_node_own⚠ | Ensures a node and all its children own their own chunk memory. |
cmark_node_parent⚠ | Returns the parent of 'node', or NULL if there is none. |
cmark_node_prepend_child⚠ | Adds 'child' to the beginning of the children of 'node'. Returns 1 on success, 0 on failure. |
cmark_node_previous⚠ | Returns the previous node in the sequence after 'node', or NULL if there is none. |
cmark_node_replace⚠ | Replaces 'oldnode' with 'newnode' and unlinks 'oldnode' (but does not free its memory). Returns 1 on success, 0 on failure. |
cmark_node_set_fence_info⚠ | Sets the info string in a fenced code block, returning 1 on success and 0 on failure. |
cmark_node_set_fenced⚠ | Sets code blocks fencing details |
cmark_node_set_heading_level⚠ | Sets the heading level of 'node', returning 1 on success and 0 on error. |
cmark_node_set_list_delim⚠ | Sets the list delimiter type of 'node', returning 1 on success and 0 on error. |
cmark_node_set_list_start⚠ | Sets starting number of 'node', if it is an ordered list. Returns 1 on success, 0 on failure. |
cmark_node_set_list_tight⚠ | Sets the "tightness" of a list. Returns 1 on success, 0 on failure. |
cmark_node_set_list_type⚠ | Sets the list type of 'node', returning 1 on success and 0 on error. |
cmark_node_set_literal⚠ | Sets the string contents of 'node'. Returns 1 on success, 0 on failure. |
cmark_node_set_on_enter⚠ | Sets the literal text to render "on enter" for a custom 'node'. Any children of the node will be rendered after this text. Returns 1 on success 0 on failure. |
cmark_node_set_on_exit⚠ | Sets the literal text to render "on exit" for a custom 'node'. Any children of the node will be rendered before this text. Returns 1 on success 0 on failure. |
cmark_node_set_string_content⚠ | Set the string 'content' for all types of 'node'. Copies 'content'. |
cmark_node_set_syntax_extension⚠ | Set the syntax extension responsible for creating 'node'. |
cmark_node_set_title⚠ | Sets the title of a link or image 'node'. Returns 1 on success, 0 on failure. |
cmark_node_set_type⚠ | Change the type of 'node'. |
cmark_node_set_url⚠ | Sets the URL of a link or image 'node'. Returns 1 on success, 0 on failure. |
cmark_node_set_user_data⚠ | Sets arbitrary user data for 'node'. Returns 1 on success, 0 on failure. |
cmark_node_set_user_data_free_func⚠ | Set free function for user data |
cmark_node_unlink⚠ | Unlinks a 'node', removing it from the tree, but not freeing its memory. (Use 'cmark_node_free' for that.) |
cmark_node_unput⚠ | Remove the last n characters from the last child of the given node. This only works where all n characters are in the single last child, and the last child is CMARK_NODE_TEXT. |
cmark_parse_document⚠ | Parse a CommonMark document in 'buffer' of length 'len'. Returns a pointer to a tree of nodes. The memory allocated for the node tree should be released using 'cmark_node_free' when it is no longer needed. |
cmark_parse_file⚠ | Parse a CommonMark document in file 'f', returning a pointer to a tree of nodes. The memory allocated for the node tree should be released using 'cmark_node_free' when it is no longer needed. |
cmark_parser_add_child⚠ | Add a child to 'parent' during the parsing process. |
cmark_parser_advance_offset⚠ | Advance the 'offset' of the parser in the current line. |
cmark_parser_attach_syntax_extension⚠ | Attach the syntax 'extension' to the 'parser', to provide extra syntax rules. See the documentation for cmark_syntax_extension for more information. |
cmark_parser_feed⚠ | Feeds a string of length 'len' to 'parser'. |
cmark_parser_feed_reentrant⚠ | |
cmark_parser_finish⚠ | Finish parsing and return a pointer to a tree of nodes. |
cmark_parser_free⚠ | Frees memory allocated for a parser object. |
cmark_parser_get_column⚠ | Return the offset in 'columns' in the line being processed. |
cmark_parser_get_first_nonspace⚠ | Return the absolute index in bytes of the first nonspace character coming after the offset as returned by cmark_parser_get_offset() in the line currently being processed. |
cmark_parser_get_first_nonspace_column⚠ | Return the absolute index of the first nonspace column coming after 'offset' in the line currently being processed, counting tabs as multiple columns as appropriate. |
cmark_parser_get_indent⚠ | Return the difference between the values returned by cmark_parser_get_first_nonspace_column() and cmark_parser_get_column(). |
cmark_parser_get_last_line_length⚠ | Return the length in bytes of the previously processed line, excluding potential newline (\n) and carriage return (\r) trailing characters. |
cmark_parser_get_line_number⚠ | Return the index of the line currently being parsed, starting with 1. |
cmark_parser_get_offset⚠ | Return the offset in bytes in the line being processed. |
cmark_parser_get_syntax_extensions⚠ | |
cmark_parser_has_partially_consumed_tab⚠ | Return 'true' if the value returned by cmark_parser_get_offset() is 'inside' an expanded tab. |
cmark_parser_is_blank⚠ | Return 'true' if the line currently being processed has been entirely consumed, 'false' otherwise. |
cmark_parser_new⚠ | Creates a new parser object. |
cmark_parser_new_with_mem⚠ | Creates a new parser object with the given memory allocator |
cmark_parser_set_backslash_ispunct_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_plugin_register_syntax_extension⚠ | Register a syntax 'extension' with the 'plugin', it will be made available as an extension and, if attached to a cmark_parser with 'cmark_parser_attach_syntax_extension', it will contribute to the block parsing process. |
cmark_render_commonmark⚠ | Render a 'node' tree as a commonmark document. It is the caller's responsibility to free the returned buffer. |
cmark_render_commonmark_with_mem⚠ | As for 'cmark_render_commonmark', but specifying the allocator to use for the resulting string. |
cmark_render_html⚠ | Render a 'node' tree as an HTML fragment. It is up to the user to add an appropriate header and footer. It is the caller's responsibility to free the returned buffer. |
cmark_render_html_with_mem⚠ | As for 'cmark_render_html', but specifying the allocator to use for the resulting string. |
cmark_render_latex⚠ | Render a 'node' tree as a LaTeX document. It is the caller's responsibility to free the returned buffer. |
cmark_render_latex_with_mem⚠ | As for 'cmark_render_latex', but specifying the allocator to use for the resulting string. |
cmark_render_man⚠ | Render a 'node' tree as a groff man page, without the header. It is the caller's responsibility to free the returned buffer. |
cmark_render_man_with_mem⚠ | As for 'cmark_render_man', but specifying the allocator to use for the resulting string. |
cmark_render_plaintext⚠ | Render a 'node' tree as a plain text document. It is the caller's responsibility to free the returned buffer. |
cmark_render_plaintext_with_mem⚠ | As for 'cmark_render_plaintext', but specifying the allocator to use for the resulting string. |
cmark_render_xml⚠ | Render a 'node' tree as XML. It is the caller's responsibility to free the returned buffer. |
cmark_render_xml_with_mem⚠ | As for 'cmark_render_xml', but specifying the allocator to use for the resulting string. |
cmark_syntax_extension_add_node⚠ | |
cmark_syntax_extension_free⚠ | Free a cmark_syntax_extension. |
cmark_syntax_extension_get_private⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_new⚠ | Return a newly-constructed cmark_syntax_extension, named 'name'. |
cmark_syntax_extension_set_can_contain_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_commonmark_escape_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_commonmark_render_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_contains_inlines_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_emphasis⚠ | |
cmark_syntax_extension_set_get_type_string_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_html_filter_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_html_render_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_inline_from_delim_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_latex_render_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_man_render_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_match_block_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_match_inline_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_opaque_alloc_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_opaque_free_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_open_block_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_plaintext_render_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_postprocess_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_private⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_special_inline_chars⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_syntax_extension_set_xml_attr_func⚠ | See the documentation for 'cmark_syntax_extension' |
cmark_version⚠ | The library version as integer for runtime checks. Also available as macro CMARK_VERSION for compile time checks. |
cmark_version_string⚠ | The library version string for runtime checks. Also available as macro CMARK_VERSION_STRING for compile time checks. |
ctermid⚠ | |
dprintf⚠ | |
fclose⚠ | |
fdopen⚠ | |
feof⚠ | |
feof_unlocked⚠ | |
ferror⚠ | |
ferror_unlocked⚠ | |
fflush⚠ | |
fflush_unlocked⚠ | |
fgetc⚠ | |
fgetc_unlocked⚠ | |
fgetpos⚠ | |
fgets⚠ | |
fileno⚠ | |
fileno_unlocked⚠ | |
flockfile⚠ | |
fmemopen⚠ | |
fopen⚠ | |
fprintf⚠ | |
fputc⚠ | |
fputc_unlocked⚠ | |
fputs⚠ | |
fread⚠ | |
fread_unlocked⚠ | |
freopen⚠ | |
fscanf⚠ | |
fscanf1⚠ | |
fseek⚠ | |
fseeko⚠ | |
fsetpos⚠ | |
ftell⚠ | |
ftello⚠ | |
ftrylockfile⚠ | |
funlockfile⚠ | |
fwrite⚠ | |
fwrite_unlocked⚠ | |
getc⚠ | |
getc_unlocked⚠ | |
getchar⚠ | |
getchar_unlocked⚠ | |
getdelim⚠ | |
getline⚠ | |
getw⚠ | |
open_memstream⚠ | |
pclose⚠ | |
perror⚠ | |
popen⚠ | |
printf⚠ | |
putc⚠ | |
putc_unlocked⚠ | |
putchar⚠ | |
putchar_unlocked⚠ | |
puts⚠ | |
putw⚠ | |
remove⚠ | |
rename⚠ | |
renameat⚠ | |
rewind⚠ | |
scanf⚠ | |
scanf1⚠ | |
setbuf⚠ | |
setbuffer⚠ | |
setlinebuf⚠ | |
setvbuf⚠ | |
snprintf⚠ | |
sprintf⚠ | |
sscanf⚠ | |
sscanf1⚠ | |
tempnam⚠ | |
tmpfile⚠ | |
tmpnam⚠ | |
tmpnam_r⚠ | |
ungetc⚠ | |
vdprintf⚠ | |
vfprintf⚠ | |
vfscanf⚠ | |
vfscanf1⚠ | |
vprintf⚠ | |
vscanf⚠ | |
vscanf1⚠ | |
vsnprintf⚠ | |
vsprintf⚠ | |
vsscanf⚠ | |
vsscanf1⚠ |
Type Definitions
Unions
__mbstate_t__bindgen_ty_1 |