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

Dunrong Huang riegamaths at gmail.com
Tue Dec 4 20:27:56 PST 2012


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.0



More information about the Spice-devel mailing list