summary refs log tree commit diff
path: root/doc.h
diff options
context:
space:
mode:
authorwrmr2024-11-03 02:48:05 -0500
committerwrmr2024-11-03 02:48:05 -0500
commit3e9c75318b0eb1114fb7361dbc467990674804b6 (patch)
tree504efbb2fe56c4700055ec584170cb77237c732a /doc.h
parent610808a5902adad751a4acdbcc310803a51fed5d (diff)
start working on fetching
Diffstat (limited to 'doc.h')
-rw-r--r--doc.h10
1 files changed, 2 insertions, 8 deletions
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;
 };