diff options
author | wrmr | 2024-11-03 02:48:05 -0500 |
---|---|---|
committer | wrmr | 2024-11-03 02:48:05 -0500 |
commit | 3e9c75318b0eb1114fb7361dbc467990674804b6 (patch) | |
tree | 504efbb2fe56c4700055ec584170cb77237c732a /doc.h | |
parent | 610808a5902adad751a4acdbcc310803a51fed5d (diff) |
start working on fetching
Diffstat (limited to 'doc.h')
-rw-r--r-- | doc.h | 10 |
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; }; |