diff options
author | Juan Quintela <quintela@redhat.com> | 2019-08-19 14:48:21 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2019-09-03 23:24:42 +0200 |
commit | e5b6353cf25c99c3f08bf51e29933352f7140e8f (patch) | |
tree | 5d90c11a5ed6ba280889656555223005cd154c84 /include | |
parent | 3483534ec314f6057e66966bfceaa9df02c28fbf (diff) |
socket: Add backlog parameter to socket_listen
Current parameter was always one. We continue with that value for now
in all callers.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
---
Moved trace to socket_listen
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/sockets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h index 8140fea685..57cd049d6e 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -41,7 +41,7 @@ int unix_connect(const char *path, Error **errp); SocketAddress *socket_parse(const char *str, Error **errp); int socket_connect(SocketAddress *addr, Error **errp); -int socket_listen(SocketAddress *addr, Error **errp); +int socket_listen(SocketAddress *addr, int num, Error **errp); void socket_listen_cleanup(int fd, Error **errp); int socket_dgram(SocketAddress *remote, SocketAddress *local, Error **errp); |