summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-08-12 04:49:50 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-12 03:29:58 -0700
commita9383208a60163f49e87c88a86439acd06f8356c (patch)
treefc86250330d11c81fed833cdb7d639be38a860d4 /xlators/protocol/client/src/client.h
parente0347526dd77f7171ae9da72fc92ca99a79dd282 (diff)
client changes for 'gluster volume migration' to work
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1303 (Cleanup replace-brick state info) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1303
Diffstat (limited to 'xlators/protocol/client/src/client.h')
-rw-r--r--xlators/protocol/client/src/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client.h b/xlators/protocol/client/src/client.h
index 234df4e5f59..473ae2a4976 100644
--- a/xlators/protocol/client/src/client.h
+++ b/xlators/protocol/client/src/client.h
@@ -30,6 +30,10 @@
#include "protocol-common.h"
#include "glusterfs3-xdr.h"
+/* FIXME: Needs to be defined in a common file */
+#define CLIENT_CMD_CONNECT "trusted.glusterfs.client-connect"
+#define CLIENT_CMD_DISCONNECT "trusted.glusterfs.client-disconnect"
+
struct clnt_options {
char *remote_subvolume;
int ping_timeout;