[spice-server 2/3] Remove spice_server_set_keepalive_timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
---
 server/reds-private.h    | 1 -
 server/reds.c            | 7 -------
 server/spice-server.h    | 1 -
 server/spice-server.syms | 7 +------
 4 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/server/reds-private.h b/server/reds-private.h
index 205973a..032f9f0 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 8f03239..b1e1139 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 fa74136..c2ff61d 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 7987d51..5c3e53c 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;
-- 
2.5.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]