summaryrefslogtreecommitdiffstats
path: root/server/spice.h
diff options
context:
space:
mode:
authorNahum Shalman <nshalman@elys.com>2012-03-12 12:33:20 +0100
committerHans de Goede <hdegoede@redhat.com>2012-03-12 12:33:20 +0100
commit198ffb92d482fd01af8a774788afa3931721b714 (patch)
tree272664fa822be7290afe149cb2382ca588cdf15d /server/spice.h
parent20c7323c9efb22c1aae37557814f21cf58c2a322 (diff)
downloadspice-198ffb92d482fd01af8a774788afa3931721b714.tar.gz
spice-198ffb92d482fd01af8a774788afa3931721b714.tar.xz
spice-198ffb92d482fd01af8a774788afa3931721b714.zip
server: listen on a pre-opened file descriptor
Allow applications to pre-open a file descriptor and have spice listen on it. Thanks to Daniel Berrange for his comments
Diffstat (limited to 'server/spice.h')
-rw-r--r--server/spice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/spice.h b/server/spice.h
index 151b3db0..8dd1c3df 100644
--- a/server/spice.h
+++ b/server/spice.h
@@ -421,6 +421,7 @@ int spice_server_set_compat_version(SpiceServer *s,
spice_compat_version_t version);
int spice_server_set_port(SpiceServer *s, int port);
void spice_server_set_addr(SpiceServer *s, const char *addr, int flags);
+int spice_server_set_listen_socket_fd(SpiceServer *s, int listen_fd);
int spice_server_set_noauth(SpiceServer *s);
int spice_server_set_sasl(SpiceServer *s, int enabled);
int spice_server_set_sasl_appname(SpiceServer *s, const char *appname);