summary refs log tree commit diff
path: root/doc.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc.h')
-rw-r--r--doc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc.h b/doc.h
index 08af700..ab66272 100644
--- a/doc.h
+++ b/doc.h
@@ -35,6 +35,8 @@ struct doc_line *doc_line_at(struct doc *d, size_t ofs);
 int doc_line_prev(struct doc *d, size_t *ofs);
 int doc_line_next(struct doc *d, size_t *ofs);
 
+const char *doc_get_link(struct doc *d, unsigned short lnk);
+
 void doc_set_link(struct doc *d, unsigned short lnk);
 unsigned short doc_add_link(struct doc *d, const char *url);