aboutsummaryrefslogtreecommitdiff
path: root/include/io
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2019-08-19 18:08:21 +0200
committerJuan Quintela <quintela@redhat.com>2019-09-03 23:24:42 +0200
commitfc8135c63021e8e442a7a894e5434f210614a73c (patch)
tree2fbd34e7d7a57cd9f9b31a2695c4d7f6270ebe08 /include/io
parent7959e29ea0d6100038367beff9a0da0c83b322a2 (diff)
socket: Add num connections to qio_net_listener_open_sync()
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/io')
-rw-r--r--include/io/net-listener.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/io/net-listener.h b/include/io/net-listener.h
index 8081ac58a2..fb101703e3 100644
--- a/include/io/net-listener.h
+++ b/include/io/net-listener.h
@@ -95,6 +95,7 @@ void qio_net_listener_set_name(QIONetListener *listener,
* qio_net_listener_open_sync:
* @listener: the network listener object
* @addr: the address to listen on
+ * @num: the amount of expected connections
* @errp: pointer to a NULL initialized error object
*
* Synchronously open a listening connection on all
@@ -104,6 +105,7 @@ void qio_net_listener_set_name(QIONetListener *listener,
*/
int qio_net_listener_open_sync(QIONetListener *listener,
SocketAddress *addr,
+ int num,
Error **errp);
/**