summaryrefslogtreecommitdiff
path: root/doc.h
diff options
context:
space:
mode:
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;
};