[Spice-devel] [PATCH vd_agent V3 3/4] file-xfer: extend protocol for communication between server and client

Dunrong Huang riegamaths at gmail.com
Wed Jan 30 03:55:05 PST 2013


Sorry for the wrong title, it should be "[PATCH vd_agent V4 3/4]", not
"[PATCH vd_agent V3 3/4]"

On Wed, Jan 30, 2013 at 7:51 PM, Dunrong Huang <riegamaths at gmail.com> wrote:
> The new added messages correspond with vd_agent.h
>
> Signed-off-by: Dunrong Huang <riegamaths at gmail.com>
> ---
>  src/vdagentd-proto-strings.h | 3 +++
>  src/vdagentd-proto.h         | 3 +++
>  2 files changed, 6 insertions(+)
>
> diff --git a/src/vdagentd-proto-strings.h b/src/vdagentd-proto-strings.h
> index f39e25b..112eced 100644
> --- a/src/vdagentd-proto-strings.h
> +++ b/src/vdagentd-proto-strings.h
> @@ -30,6 +30,9 @@ static const char * const vdagentd_messages[] = {
>          "clipboard data",
>          "clipboard release",
>          "version",
> +        "file xfer start",
> +        "file xfer status",
> +        "file xfer data",
>  };
>
>  #endif
> diff --git a/src/vdagentd-proto.h b/src/vdagentd-proto.h
> index 08279a3..359f18e 100644
> --- a/src/vdagentd-proto.h
> +++ b/src/vdagentd-proto.h
> @@ -36,6 +36,9 @@ enum {
>      VDAGENTD_CLIPBOARD_DATA,    /* arg1: sel, arg 2: type, data: data */
>      VDAGENTD_CLIPBOARD_RELEASE, /* arg1: selection */
>      VDAGENTD_VERSION,           /* daemon -> client, data: version string */
> +    VDAGENTD_FILE_XFER_START,
> +    VDAGENTD_FILE_XFER_STATUS,
> +    VDAGENTD_FILE_XFER_DATA,
>      VDAGENTD_NO_MESSAGES /* Must always be last */
>  };
>
> --
> 1.8.1.1
>



-- 
Best Regards,

Dunrong Huang


More information about the Spice-devel mailing list