summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/cli1.x
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/cli1.x')
-rw-r--r--rpc/xdr/src/cli1.x17
1 files changed, 16 insertions, 1 deletions
diff --git a/rpc/xdr/src/cli1.x b/rpc/xdr/src/cli1.x
index a8af1b7d658..41f43a4855b 100644
--- a/rpc/xdr/src/cli1.x
+++ b/rpc/xdr/src/cli1.x
@@ -13,10 +13,14 @@
GF_REPLACE_OP_STATUS
} ;
-enum gf1_cli_enum_friends_list {
+enum gf1_cli_friends_list {
GF_CLI_LIST_ALL = 1
} ;
+enum gf1_cli_get_volume {
+ GF_CLI_GET_VOLUME_ALL = 1
+} ;
+
struct gf1_cli_probe_req {
string hostname<>;
} ;
@@ -48,6 +52,17 @@ struct gf1_cli_peer_list_rsp {
opaque friends<>;
} ;
+struct gf1_cli_get_vol_req {
+ int flags;
+ opaque dict<>;
+} ;
+
+struct gf1_cli_get_vol_rsp {
+ int op_ret;
+ int op_errno;
+ opaque volumes<>;
+} ;
+
struct gf1_cli_create_vol_req {
string volname<>;
gf1_cluster_type type;