[PATCH spice-server 1/3] Move DispatcherMessage to source file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an internal implementation detail
---
 server/dispatcher.c | 7 +++++++
 server/dispatcher.h | 7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/server/dispatcher.c b/server/dispatcher.c
index fe14a3fa5..4e03ea046 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 41b7389c7..97b01de9c 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
-- 
2.13.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]