From 837a9067c0ef2e0b3affbf7035788cd0e80ce7ba Mon Sep 17 00:00:00 2001 From: wrmr Date: Tue, 5 Nov 2024 23:56:09 -0500 Subject: add rudimentary gophermap parsing --- doc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'doc.h') diff --git a/doc.h b/doc.h index ea9a521..08af700 100644 --- a/doc.h +++ b/doc.h @@ -35,6 +35,7 @@ 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); +void doc_set_link(struct doc *d, unsigned short lnk); unsigned short doc_add_link(struct doc *d, const char *url); #endif -- cgit 1.4.1-2-gfad0