[Spice-devel] [PATCH spice 2/3] Move spice_server_get_num_clients() declaration

Marc-André Lureau marcandre.lureau at gmail.com
Thu Nov 27 06:04:37 PST 2014


This function is not related to migration.
---
Pushed without review as trivial

server/spice-migration.h | 3 ---
 server/spice-server.h    | 2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/server/spice-migration.h b/server/spice-migration.h
index e2fc92e..51c6444 100644
--- a/server/spice-migration.h
+++ b/server/spice-migration.h
@@ -49,9 +49,6 @@ int spice_server_migrate_info(SpiceServer *s, const char* dest,
                               const char* cert_subject);
 int spice_server_migrate_switch(SpiceServer *s);
 
-/* server status */
-int spice_server_get_num_clients(SpiceServer *s);
-
 /* spice (semi-)seamless client migration */
 int spice_server_migrate_connect(SpiceServer *s, const char* dest,
                                  int port, int secure_port,
diff --git a/server/spice-server.h b/server/spice-server.h
index ac63a94..01f9a94 100644
--- a/server/spice-server.h
+++ b/server/spice-server.h
@@ -121,4 +121,6 @@ void spice_server_set_uuid(SpiceServer *s, const uint8_t uuid[16]);
 void spice_server_vm_start(SpiceServer *s);
 void spice_server_vm_stop(SpiceServer *s);
 
+int spice_server_get_num_clients(SpiceServer *s);
+
 #endif /* SPICE_SERVER_H_ */
-- 
2.1.0



More information about the Spice-devel mailing list