summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/glusterd1.x
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-07-19 05:54:25 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-19 05:11:05 -0700
commita6b90707bf68fe62bf115cfb143d9df69627cb64 (patch)
tree86a98f2e31bd9ec3cdba8b05386ef2d928bc09ed /rpc/xdr/src/glusterd1.x
parent87ec1b72dac8f50f9eb4ba3b127baca19993ae94 (diff)
Changes for volume commands
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1161 (gluster volume start command segfaults glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1161
Diffstat (limited to 'rpc/xdr/src/glusterd1.x')
-rw-r--r--rpc/xdr/src/glusterd1.x14
1 files changed, 10 insertions, 4 deletions
diff --git a/rpc/xdr/src/glusterd1.x b/rpc/xdr/src/glusterd1.x
index 935fde4ef..f374ea4bf 100644
--- a/rpc/xdr/src/glusterd1.x
+++ b/rpc/xdr/src/glusterd1.x
@@ -1,3 +1,8 @@
+ enum glusterd_volume_status {
+ GLUSTERD_STATUS_NONE = 0,
+ GLUSTERD_STATUS_STARTED,
+ GLUSTERD_STATUS_STOPPED
+} ;
struct gd1_mgmt_probe_req {
unsigned char uuid[16];
@@ -81,7 +86,8 @@ struct gd1_mgmt_commit_op_rsp {
int op_errno;
} ;
-
-
-
-
+struct gd1_mgmt_friend_update {
+ unsigned char uuid[16];
+ unsigned char friend_uuid[16];
+ string hostname<>;
+} ;