mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
io: add QIOChannelFile class
Add a QIOChannel subclass that is capable of operating on things that are files, such as plain files, pipes, character/block devices, but notably not sockets. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
559607ea17
commit
d6e48869a4
7 changed files with 428 additions and 0 deletions
|
@ -1836,3 +1836,7 @@ qio_channel_socket_dgram_complete(void *ioc, int fd) "Socket dgram complete ioc=
|
|||
qio_channel_socket_accept(void *ioc) "Socket accept start ioc=%p"
|
||||
qio_channel_socket_accept_fail(void *ioc) "Socket accept fail ioc=%p"
|
||||
qio_channel_socket_accept_complete(void *ioc, void *cioc, int fd) "Socket accept complete ioc=%p cioc=%p fd=%d"
|
||||
|
||||
# io/channel-file.c
|
||||
qio_channel_file_new_fd(void *ioc, int fd) "File new fd ioc=%p fd=%d"
|
||||
qio_channel_file_new_path(void *ioc, const char *path, int flags, int mode, int fd) "File new fd ioc=%p path=%s flags=%d mode=%d fd=%d"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue