summaryrefslogtreecommitdiffstats
path: root/server/main_dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/main_dispatcher.h')
-rw-r--r--server/main_dispatcher.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/main_dispatcher.h b/server/main_dispatcher.h
index 0c79ca8d..522c7f91 100644
--- a/server/main_dispatcher.h
+++ b/server/main_dispatcher.h
@@ -7,6 +7,13 @@
void main_dispatcher_channel_event(int event, SpiceChannelEventInfo *info);
void main_dispatcher_seamless_migrate_dst_complete(RedClient *client);
void main_dispatcher_set_mm_time_latency(RedClient *client, uint32_t latency);
+/*
+ * Disconnecting the client is always executed asynchronously,
+ * in order to protect from expired references in the routines
+ * that triggered the client destruction.
+ */
+void main_dispatcher_client_disconnect(RedClient *client);
+
void main_dispatcher_init(SpiceCoreInterface *core);
#endif //MAIN_DISPATCHER_H