summary refs log tree commit diff
path: root/doc.h
diff options
context:
space:
mode:
authorwrmr2024-11-06 00:04:05 -0500
committerwrmr2024-11-06 00:04:05 -0500
commit5fe796490718f84d20ff9c836ce75d5318d44c69 (patch)
tree87abe322bee07ff6d4f4231bb7e79f81be63094f /doc.h
parent837a9067c0ef2e0b3affbf7035788cd0e80ce7ba (diff)
add link number navigation
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);