Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-15 | io: convert QIOChannelBuffer to use uint8_t instead of char | Daniel P. Berrange | |
The QIOChannelBuffer struct uses a 'char *' for its data buffer. It will give simpler type compatibility with the migration APIs if it uses 'uint8_t *' instead, avoiding several casts. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> | |||
2015-12-18 | io: add QIOChannelBuffer class | Daniel P. Berrange | |
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> |