summaryrefslogtreecommitdiffstats
path: root/server/spice.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-08-27 15:35:06 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-08-30 16:12:25 +0200
commit9681ebb671313f585e2f3c35920d0489e752f508 (patch)
treedfd4242ba80d421a2b65225814016a4926855858 /server/spice.h
parent94028c134879d981f5a5de24e2e320e41016bcf2 (diff)
downloadspice-9681ebb671313f585e2f3c35920d0489e752f508.tar.gz
spice-9681ebb671313f585e2f3c35920d0489e752f508.tar.xz
spice-9681ebb671313f585e2f3c35920d0489e752f508.zip
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.
Diffstat (limited to 'server/spice.h')
-rw-r--r--server/spice.h11
1 files changed, 11 insertions, 0 deletions
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);