From 4e014aa13f93c96c37765b73e18fff5da8637847 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 9 Mar 2010 14:18:20 +0100 Subject: new libspice api: configure port + ticket Add new functions to configure spice port and ticketing. Yes, this is incomplete, it includes just the most important bits to get something up'n'running. These functions are supposed to replace both spice_parse_args() and the monitor interaction via qterm interface. --- server/spice.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/spice.h') diff --git a/server/spice.h b/server/spice.h index 49a52a8d..b8a476e1 100644 --- a/server/spice.h +++ b/server/spice.h @@ -32,4 +32,9 @@ SpiceServer *spice_server_new(void); int spice_server_init(SpiceServer *s, CoreInterface *core); void spice_server_destroy(SpiceServer *s); +int spice_server_set_port(SpiceServer *s, int port); +int spice_server_set_noauth(SpiceServer *s); +int spice_server_set_ticket(SpiceServer *s, const char *passwd, int lifetime, + int fail_if_connected, int disconnect_if_connected); + #endif -- cgit