summaryrefslogtreecommitdiff
path: root/qemu_socket.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-01-20 11:42:38 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-20 08:25:23 -0600
commitc9c4b34ed55e1452de9051d22c0d591f1745d4ea (patch)
treedde9c81a5eaa5d4b12c2a6aacda4e00e488a5baa /qemu_socket.h
parenta1829205a5e4b766b67b843f12cb8235d2387b35 (diff)
downloadqemu-c9c4b34ed55e1452de9051d22c0d591f1745d4ea.tar.gz
qemu-c9c4b34ed55e1452de9051d22c0d591f1745d4ea.tar.bz2
qemu-c9c4b34ed55e1452de9051d22c0d591f1745d4ea.zip
net: Make inet_strfamily() public
So that it can be used by other subsystems. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu_socket.h')
-rw-r--r--qemu_socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu_socket.h b/qemu_socket.h
index 86bdbf53d5..7ee46ac4ec 100644
--- a/qemu_socket.h
+++ b/qemu_socket.h
@@ -44,6 +44,7 @@ int inet_listen(const char *str, char *ostr, int olen,
int inet_connect_opts(QemuOpts *opts);
int inet_connect(const char *str, int socktype);
int inet_dgram_opts(QemuOpts *opts);
+const char *inet_strfamily(int family);
int unix_listen_opts(QemuOpts *opts);
int unix_listen(const char *path, char *ostr, int olen);