summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-02-27 14:10:47 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-03-13 10:27:46 +0100
commit3ecc059dcd06a79495d1bf171ef7f193eff79e98 (patch)
treed9c78970f3cc568486f4d0f7eab452aff783ace3 /include
parent1da48c658a26d0c1444d05d8d3a545d311e01026 (diff)
downloadhqemu-3ecc059dcd06a79495d1bf171ef7f193eff79e98.zip
hqemu-3ecc059dcd06a79495d1bf171ef7f193eff79e98.tar.gz
chardev: add udp support to qapi
This patch adds 'udp' support to qapi. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/sockets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h
index c5cee4b..ae5c21c 100644
--- a/include/qemu/sockets.h
+++ b/include/qemu/sockets.h
@@ -71,6 +71,7 @@ SocketAddress *socket_parse(const char *str, Error **errp);
int socket_connect(SocketAddress *addr, Error **errp,
NonBlockingConnectHandler *callback, void *opaque);
int socket_listen(SocketAddress *addr, Error **errp);
+int socket_dgram(SocketAddress *remote, SocketAddress *local, Error **errp);
/* Old, ipv4 only bits. Don't use for new code. */
int parse_host_port(struct sockaddr_in *saddr, const char *str);
OpenPOWER on IntegriCloud