From 3e9c75318b0eb1114fb7361dbc467990674804b6 Mon Sep 17 00:00:00 2001 From: wrmr Date: Sun, 3 Nov 2024 02:48:05 -0500 Subject: start working on fetching --- doc.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'doc.h') diff --git a/doc.h b/doc.h index 5e9c18c..fccd676 100644 --- a/doc.h +++ b/doc.h @@ -2,13 +2,7 @@ #define DOC_H #include "buf.h" - -enum doc_type { - TYPE_UNKNOWN, - TYPE_GOPHERDOC, - TYPE_GEMTEXT, - TYPE_PLAIN, -}; +#include "net.h" #define DOC_LINK_NONE 0xffff @@ -18,7 +12,7 @@ struct doc_line { }; struct doc { - struct buf txt, lnk; + buf_t txt, lnk; size_t latest; }; -- cgit 1.4.1-2-gfad0