[Spice-devel] [PATCH spice 7/9] spicec-win: move named_pipe defines

Hans de Goede hdegoede at redhat.com
Sun Oct 17 14:01:02 PDT 2010


Ack.

On 10/17/2010 04:13 PM, Arnon Gilboa wrote:
> ---
>   client/windows/named_pipe.cpp |    4 ++++
>   client/windows/named_pipe.h   |    3 ---
>   2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/client/windows/named_pipe.cpp b/client/windows/named_pipe.cpp
> index 7836147..856235a 100644
> --- a/client/windows/named_pipe.cpp
> +++ b/client/windows/named_pipe.cpp
> @@ -20,6 +20,10 @@
>   #include "utils.h"
>   #include "debug.h"
>
> +#define PIPE_TIMEOUT 5000
> +#define PIPE_MAX_NAME_LEN 256
> +#define PIPE_PREFIX TEXT("\\\\.\\pipe\\")
> +
>   PipeBuffer::PipeBuffer(HANDLE pipe, ProcessLoop&  process_loop)
>       : _handler (NULL)
>       , _pipe (pipe)
> diff --git a/client/windows/named_pipe.h b/client/windows/named_pipe.h
> index e9b9bcc..4b7cfe6 100644
> --- a/client/windows/named_pipe.h
> +++ b/client/windows/named_pipe.h
> @@ -23,10 +23,7 @@
>   #include "event_sources.h"
>   #include "platform.h"
>
> -#define PIPE_TIMEOUT 5000
>   #define PIPE_BUF_SIZE 8192
> -#define PIPE_MAX_NAME_LEN 256
> -#define PIPE_PREFIX TEXT("\\\\.\\pipe\\")
>
>   class WinConnection;
>


More information about the Spice-devel mailing list