Add reader1 and writer1 base types.

This commit is contained in:
Nigel Tao committed 2017-06-18 11:50:34 +10:00
1 parent d16a25806f
commit 17e47fbc1e
11 files changed
+169 -138

No files matched your search

+10
View File
@@ -46,4 +46,14 @@ typedef struct {
bool closed; // No further writes are expected.
} puffs_base_buf1;
typedef struct {
puffs_base_buf1* buf;
// TODO: limits.
} puffs_base_reader1;
typedef struct {
puffs_base_buf1* buf;
// TODO: limits.
} puffs_base_writer1;
#endif // PUFFS_BASE_HEADER_H