summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-19 17:05:04 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-19 17:05:04 +0100
commitfd13d0211f33a134a4c73882f1f2eaa423f1794a (patch)
tree90e45e1dd3cf5800e80f522904c5536a4fb11aba /src/cmark.h
parent14588ca3cd25982bdd34e5fc20e69c611e1c8817 (diff)
Accessors for link titles
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index d9daccd..2b42486 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -132,6 +132,12 @@ cmark_node_get_url(cmark_node *node);
CMARK_EXPORT int
cmark_node_set_url(cmark_node *node, const char *url);
+CMARK_EXPORT const char*
+cmark_node_get_title(cmark_node *node);
+
+CMARK_EXPORT int
+cmark_node_set_title(cmark_node *node, const char *title);
+
// Tree manipulation
CMARK_EXPORT void