[Spice-commits] server/dispatcher.c server/dispatcher.h
Jonathon Jongsma
jjongsma at kemper.freedesktop.org
Tue Sep 5 18:50:46 UTC 2017
server/dispatcher.c | 7 +++++++
server/dispatcher.h | 7 -------
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 02176e565c21f38d253a784cdda22c6dee776aaa
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date: Thu Aug 31 17:20:53 2017 -0500
Move DispatcherMessage to source file
This is an internal implementation detail
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
diff --git a/server/dispatcher.c b/server/dispatcher.c
index fe14a3fa..4e03ea04 100644
--- a/server/dispatcher.c
+++ b/server/dispatcher.c
@@ -38,6 +38,13 @@
static void setup_dummy_signal_handler(void);
#endif
+typedef struct DispatcherMessage {
+ size_t size;
+ int ack;
+ dispatcher_handle_message handler;
+} DispatcherMessage;
+
+
G_DEFINE_TYPE(Dispatcher, dispatcher, G_TYPE_OBJECT)
#define DISPATCHER_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_DISPATCHER, DispatcherPrivate))
diff --git a/server/dispatcher.h b/server/dispatcher.h
index 41b7389c..97b01de9 100644
--- a/server/dispatcher.h
+++ b/server/dispatcher.h
@@ -64,13 +64,6 @@ typedef void (*dispatcher_handle_async_done)(void *opaque,
void *payload);
-typedef struct DispatcherMessage {
- size_t size;
- int ack;
- dispatcher_handle_message handler;
-} DispatcherMessage;
-
-
/*
* dispatcher_send_message
* @message_type: message type
More information about the Spice-commits
mailing list