From 9681ebb671313f585e2f3c35920d0489e752f508 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 27 Aug 2010 15:35:06 +0200 Subject: Add config functions. A bunch of configuration functions where never ported forward from rhel-6 to upstream. Add them so we can add qemu config options for these settings. --- server/spice.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'server/spice.h') diff --git a/server/spice.h b/server/spice.h index fc7d5b5b..ef16a6ab 100644 --- a/server/spice.h +++ b/server/spice.h @@ -360,6 +360,17 @@ int spice_server_set_channel_security(SpiceServer *s, const char *channel, int s int spice_server_add_renderer(SpiceServer *s, const char *name); +enum { + SPICE_STREAM_VIDEO_INVALID, + SPICE_STREAM_VIDEO_OFF, + SPICE_STREAM_VIDEO_ALL, + SPICE_STREAM_VIDEO_FILTER +}; + +int spice_server_set_streaming_video(SpiceServer *s, int value); +int spice_server_set_playback_compression(SpiceServer *s, int enable); +int spice_server_set_agent_mouse(SpiceServer *s, int enable); + 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); -- cgit