mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
Move DispatcherMessage to source file
This is an internal implementation detail Acked-by: Frediano Ziglio <fziglio@redhat.com> Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
1138c3f54a
commit
02176e565c
@ -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))
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user