Looks good after the preliminary work, ACK Christophe On Wed, Nov 07, 2012 at 03:19:50PM +0200, Arnon Gilboa wrote: > --- > common/vdcommon.h | 31 ------------------------------- > 1 files changed, 0 insertions(+), 31 deletions(-) > > diff --git a/common/vdcommon.h b/common/vdcommon.h > index 394333b..e50f2b0 100644 > --- a/common/vdcommon.h > +++ b/common/vdcommon.h > @@ -32,19 +32,8 @@ typedef CRITICAL_SECTION mutex_t; > #define MUTEX_LOCK(mutex) EnterCriticalSection(&mutex) > #define MUTEX_UNLOCK(mutex) LeaveCriticalSection(&mutex) > > -#define VD_SERVICE_PIPE_NAME TEXT("\\\\.\\pipe\\vdservicepipe") > -#define VD_MESSAGE_HEADER_SIZE (sizeof(VDPipeMessage) + sizeof(VDAgentMessage)) > -#define VD_PIPE_BUF_SIZE (1024 * 1024) > #define VD_AGENT_REGISTRY_KEY "SOFTWARE\\Red Hat\\Spice\\vdagent\\" > > -enum { > - VD_AGENT_COMMAND, > - VD_AGENT_RESET, > - VD_AGENT_RESET_ACK, > - VD_AGENT_QUIT, > - VD_AGENT_SESSION_LOGON, > -}; > - > #if defined __GNUC__ > #define ALIGN_GCC __attribute__ ((packed)) > #define ALIGN_VC > @@ -57,25 +46,5 @@ enum { > #define swprintf_s(buf, sz, format...) swprintf(buf, format) > #endif > > -typedef struct ALIGN_VC VDPipeMessage { > - uint32_t type; > - uint32_t opaque; > - uint32_t size; > - uint8_t data[0]; > -} ALIGN_GCC VDPipeMessage; > - > -typedef struct VDPipeBuffer { > - OVERLAPPED overlap; > - DWORD start; > - DWORD end; > - uint8_t data[VD_PIPE_BUF_SIZE]; > -} VDPipeBuffer; > - > -typedef struct VDPipeState { > - HANDLE pipe; > - VDPipeBuffer write; > - VDPipeBuffer read; > -} VDPipeState; > - > #endif > > -- > 1.7.4.1 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel
Attachment:
pgpIHEVH_MmXC.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel