include/io/channel-buffer.h
0 → 100644
+60
−0
+1
−0
io/channel-buffer.c
0 → 100644
+248
−0
+1
−0
+3
−0
Loading
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>