diff options
author | wrmr | 2024-11-02 15:10:41 -0500 |
---|---|---|
committer | wrmr | 2024-11-02 15:10:41 -0500 |
commit | 58214ec5f982c1b97aadce254c958a5f922c9724 (patch) | |
tree | ae64cb697531b0ee619350645e47adf186febfe7 /doc.h | |
parent | df1b0b23569e5244d5b9398802fec6435a995368 (diff) |
split main.c in several places, began work on design doc
Diffstat (limited to 'doc.h')
-rw-r--r-- | doc.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc.h b/doc.h new file mode 100644 index 0000000..3c5dfcc --- /dev/null +++ b/doc.h @@ -0,0 +1,24 @@ +#ifndef DOC_H +#define DOC_H + +enum doc_type { + TYPE_UNKNOWN, + TYPE_GOPHERDOC, + TYPE_GEMTEXT, + TYPE_PLAIN, +}; + +void doc_new(void); +void doc_prev(void); +void doc_next(void); + +void doc_add(const char *, size_t); +void doc_adds(const char *); + +void doc_back_line(void); +void doc_print_line(void); + +void doc_init(void); +void doc_fini(void); + +#endif |