diff options
author | wrmr | 2024-11-05 23:56:09 -0500 |
---|---|---|
committer | wrmr | 2024-11-05 23:56:09 -0500 |
commit | 837a9067c0ef2e0b3affbf7035788cd0e80ce7ba (patch) | |
tree | 683b41aed4496d623490419dcbdc00ca926da9eb /doc.h | |
parent | 9c932e49a7516570b6c1ff9863595d495e3a3212 (diff) |
add rudimentary gophermap parsing
Diffstat (limited to 'doc.h')
-rw-r--r-- | doc.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |