summaryrefslogtreecommitdiffstats
path: root/tests/test-io-channel-buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* io: add QIOChannelBuffer classDaniel P. Berrange2015-12-181-0/+50
Add a QIOChannel subclass that is capable of performing I/O to/from a memory buffer. This implementation does not attempt to support concurrent readers & writers. It is designed for serialized access where by a single thread at a time may write data, seek and then read data back out. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>