summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2016-03-02 12:25:23 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2016-03-11 18:27:51 +0100
commit4c1471d0b6a5a2046fb2cf5f7448afeb49494e75 (patch)
tree23790bc398aa934ab981e8bccc668fbe35bee569 /server
parent7199ce961ae47adc6d33168afb87d5adada3ee94 (diff)
Remove spice_server_set_keepalive_timeout
This public API is no longer needed as the keepalive interval does not need to be configurable. This API was present in the 0.13.0 release, but was never added to a stable release, in my opinion it's still acceptable to remove it without changing soname.
Diffstat (limited to 'server')
-rw-r--r--server/reds-private.h1
-rw-r--r--server/reds.c7
-rw-r--r--server/spice-server.h1
-rw-r--r--server/spice-server.syms7
4 files changed, 1 insertions, 15 deletions
diff --git a/server/reds-private.h b/server/reds-private.h
index 205973a0..032f9f0b 100644
--- a/server/reds-private.h
+++ b/server/reds-private.h
@@ -180,7 +180,6 @@ struct RedsState {
int vm_running;
GList *char_devices; /* list of SpiceCharDeviceState */
int seamless_migration_enabled; /* command line arg */
- int keepalive_timeout;
SSL_CTX *ctx;
diff --git a/server/reds.c b/server/reds.c
index 8f032395..b1e11394 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -4007,13 +4007,6 @@ SPICE_GNUC_VISIBLE void spice_server_set_seamless_migration(SpiceServer *s, int
spice_debug("seamless migration enabled=%d", enable);
}
-SPICE_GNUC_VISIBLE void spice_server_set_keepalive_timeout(SpiceServer *s, int timeout)
-{
- spice_assert(s == reds);
- reds->keepalive_timeout = timeout;
- spice_debug("keepalive timeout=%d", timeout);
-}
-
GArray* reds_get_renderers(RedsState *reds)
{
return reds->renderers;
diff --git a/server/spice-server.h b/server/spice-server.h
index fa741360..c2ff61d6 100644
--- a/server/spice-server.h
+++ b/server/spice-server.h
@@ -111,7 +111,6 @@ int spice_server_set_playback_compression(SpiceServer *s, int enable);
int spice_server_set_agent_mouse(SpiceServer *s, int enable);
int spice_server_set_agent_copypaste(SpiceServer *s, int enable);
int spice_server_set_agent_file_xfer(SpiceServer *s, int enable);
-void spice_server_set_keepalive_timeout(SpiceServer *s, int timeout);
int spice_server_get_sock_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen);
int spice_server_get_peer_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen);
diff --git a/server/spice-server.syms b/server/spice-server.syms
index 7987d51a..5c3e53c8 100644
--- a/server/spice-server.syms
+++ b/server/spice-server.syms
@@ -163,13 +163,8 @@ global:
spice_replay_free_cmd;
} SPICE_SERVER_0.12.5;
-SPICE_SERVER_0.12.7 {
-global:
- spice_server_set_keepalive_timeout;
-} SPICE_SERVER_0.12.6;
-
SPICE_SERVER_0.13.1 {
global:
spice_qxl_gl_scanout;
spice_qxl_gl_draw_async;
-} SPICE_SERVER_0.12.7;
+} SPICE_SERVER_0.12.6;