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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The new added messages correspond with vd_agent.h

Signed-off-by: Dunrong Huang <riegamaths@xxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]