commit | d98e4eb7de93290f7921b0dbe869c7dd3c567945 | [log] [tgz] |
---|---|---|
author | Daniel P. Berrange <berrange@redhat.com> | Tue Sep 15 17:27:33 2015 +0100 |
committer | Daniel P. Berrange <berrange@redhat.com> | Fri Dec 18 12:18:31 2015 +0000 |
tree | 3f9d266d76b202a93b1bf7fd8a47affa4d521308 | |
parent | 195e14d0262c5676cb9ff4b253e4b2b15c19d3f0 [diff] |
io: add QIOChannelBuffer class 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>