diff options
| author | Daniel P. Berrange <berrange@redhat.com> | 2015-03-03 12:59:16 +0000 |
|---|---|---|
| committer | Daniel P. Berrange <berrange@redhat.com> | 2015-12-18 12:18:05 +0000 |
| commit | 1c809fa01df0c638417480dfd446415615bfd217 (patch) | |
| tree | 445e90c439c67a7c9b25f376e295edfcee2c0fbe /include/io/task.h | |
| parent | 666a3af9c858c22d254e545de3ffc3fb197a3187 (diff) | |
| download | focaccia-qemu-1c809fa01df0c638417480dfd446415615bfd217.tar.gz focaccia-qemu-1c809fa01df0c638417480dfd446415615bfd217.zip | |
io: add helper module for creating watches on FDs
A number of the channel implementations will require the ability to create watches on file descriptors / sockets. To avoid duplicating this code in each channel, provide a helper API for dealing with file descriptor watches. There are two watch implementations provided. The first is useful for bi-directional file descriptors such as sockets, regular files, character devices, etc. The second works with a pair of unidirectional file descriptors such as pipes. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'include/io/task.h')
0 files changed, 0 insertions, 0 deletions