]> mj.ucw.cz Git - libucw.git/commit
Main: Split off block I/O
authorMartin Mares <mj@ucw.cz>
Wed, 28 Jul 2010 22:30:10 +0000 (00:30 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 18 Aug 2010 16:12:58 +0000 (18:12 +0200)
commitafcc58361781c05d66fe37ea2bccd53edf8f7aa5
tree47a995c8769c3f4e9ff4f21220c032cc1a5d0265
parentc63f7ec4706e2700ef3a3c6918fb5ba896d00e37
Main: Split off block I/O

Block-based I/O is no longer hard-wired in the mainloop itself,
it became a separate module built on the top of main_file. While the
timer embedded in main_block_io is somewhat illogical, I have decided
to keep it to make porting of old code easier.

I plan to add another I/O layer in the future, which will handle
more complex buffering capable of reading lines and other variable-size
data structures.
ucw/Makefile
ucw/main-block.c [new file with mode: 0644]
ucw/mainloop.c
ucw/mainloop.h