[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/5] qemu-ga: win32: GAChannel: store GAChannelMetho
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 3/5] qemu-ga: win32: GAChannel: store GAChannelMethod being used |
Date: |
Wed, 31 Oct 2012 15:45:18 -0200 |
Next commit wants this.
Signed-off-by: Luiz Capitulino <address@hidden>
---
qga/channel-win32.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/qga/channel-win32.c b/qga/channel-win32.c
index c0e19a8..8e259c3 100644
--- a/qga/channel-win32.c
+++ b/qga/channel-win32.c
@@ -25,6 +25,7 @@ struct GAChannel {
GAChannelReadState rstate;
GIOCondition pending_events; /* TODO: use GAWatch.pollfd.revents */
GSource *source;
+ GAChannelMethod method;
};
typedef struct GAWatch {
@@ -317,6 +318,7 @@ GAChannel *ga_channel_new(GAChannelMethod method, const
gchar *path,
c->cb = cb;
c->user_data = opaque;
+ c->method = method;
sec_attrs.nLength = sizeof(SECURITY_ATTRIBUTES);
sec_attrs.lpSecurityDescriptor = NULL;
--
1.7.12.315.g682ce8b