Add buffered writer

The buffered writer adopts a signature identical to `write_cb`,
so that it can be plugged into anywhere `write_cb` appears.
This commit is contained in:
Yinan Zhang
2019-06-07 14:04:59 -07:00
parent 39343555d6
commit 7fc6b1b259
4 changed files with 120 additions and 0 deletions

View File

@@ -177,6 +177,7 @@ TESTS_UNIT := \
$(srcroot)test/unit/bitmap.c \
$(srcroot)test/unit/bit_util.c \
$(srcroot)test/unit/binshard.c \
$(srcroot)test/unit/buf_writer.c \
$(srcroot)test/unit/ckh.c \
$(srcroot)test/unit/decay.c \
$(srcroot)test/unit/div.c \