summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorriegamaths@gmail.com <riegamaths@gmail.com>2013-01-30 11:51:48 +0000
committerHans de Goede <hdegoede@redhat.com>2013-02-21 15:13:07 +0100
commit1cfd2161718d4399bed63a41d8e71eade5e9921b (patch)
treeec2f4e96c93be206a6f3b5cb9f2932c09d3f7aee /src
parent708d8d5b9891fb71262f2cc128dcfff7f7f14c3d (diff)
downloadvd_agent-1cfd2161718d4399bed63a41d8e71eade5e9921b.tar.gz
vd_agent-1cfd2161718d4399bed63a41d8e71eade5e9921b.tar.xz
vd_agent-1cfd2161718d4399bed63a41d8e71eade5e9921b.zip
file-xfer: extend protocol for communication between server and client
The new added messages correspond with vd_agent.h Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/vdagentd-proto-strings.h3
-rw-r--r--src/vdagentd-proto.h3
2 files changed, 6 insertions, 0 deletions
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 */
};