qemu-e2k/include/io
Peter Xu 315409c711 qio: introduce qio_channel_add_watch_{full|source}
Firstly, introduce an internal qio_channel_add_watch_full(), which
enhances qio_channel_add_watch() that context can be specified.

Then add a new API wrapper qio_channel_add_watch_source() to return a
GSource pointer rather than a tag ID.

Note that the _source() call will keep a reference of GSource so that
callers need to unref them explicitly when finished using the GSource.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-03-06 10:19:04 +00:00
..
channel-buffer.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-command.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-file.h io: Fix QIOChannelFile when creating and opening read-write 2018-02-15 16:54:57 +00:00
channel-socket.h sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
channel-tls.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-util.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-watch.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-websock.h io: get rid of bounce buffering in websock write path 2017-10-16 16:57:08 +01:00
channel.h qio: introduce qio_channel_add_watch_{full|source} 2018-03-06 10:19:04 +00:00
dns-resolver.h Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
net-listener.h io: introduce a network socket listener API 2017-12-15 15:07:26 +00:00
task.h sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00