summaryrefslogtreecommitdiff
path: root/doc.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc.h')
-rw-r--r--doc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc.h b/doc.h
index fccd676..496b631 100644
--- a/doc.h
+++ b/doc.h
@@ -2,7 +2,6 @@
#define DOC_H
#include "buf.h"
-#include "net.h"
#define DOC_LINK_NONE 0xffff
@@ -11,6 +10,13 @@ struct doc_line {
char txt[];
};
+enum doc_type {
+ DOC_UNKNOWN,
+ DOC_GOPHERDOC,
+ DOC_GEMTEXT,
+ DOC_PLAIN,
+};
+
struct doc {
buf_t txt, lnk;
size_t latest;