Commit Graph

3 Commits

Author SHA1 Message Date
Lassi Kortela 7ac23c6f0b Add scanner interface to "struct buf"
Can be used to easily write simple parsers in C.
2019-08-14 13:46:50 +03:00
Lassi Kortela 44a8208d38 Add buf_put_ios() utility function
Fills a "struct buf" with the entire remainder of a stream.
2019-08-14 13:39:11 +03:00
Lassi Kortela c704079cae Add string buffer
TODO: Consider merging with 'struct ios'
2019-08-11 22:31:54 +03:00