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.
This commit is contained in:
Christophe Fergeau 2016-03-02 12:25:23 +01:00
parent 7199ce961a
commit 4c1471d0b6
4 changed files with 1 additions and 15 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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;