diff options
author | Nahum Shalman <nshalman@elys.com> | 2012-03-12 12:33:20 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2012-03-12 12:33:20 +0100 |
commit | 198ffb92d482fd01af8a774788afa3931721b714 (patch) | |
tree | 272664fa822be7290afe149cb2382ca588cdf15d /server/spice.h | |
parent | 20c7323c9efb22c1aae37557814f21cf58c2a322 (diff) | |
download | spice-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.h | 1 |
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); |