summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/lib/src/gluster1.x
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/lib/src/gluster1.x')
-rw-r--r--xlators/protocol/lib/src/gluster1.x27
1 files changed, 26 insertions, 1 deletions
diff --git a/xlators/protocol/lib/src/gluster1.x b/xlators/protocol/lib/src/gluster1.x
index 1fe7ef14f6b..a8af1b7d658 100644
--- a/xlators/protocol/lib/src/gluster1.x
+++ b/xlators/protocol/lib/src/gluster1.x
@@ -13,6 +13,10 @@
GF_REPLACE_OP_STATUS
} ;
+enum gf1_cli_enum_friends_list {
+ GF_CLI_LIST_ALL = 1
+} ;
+
struct gf1_cli_probe_req {
string hostname<>;
} ;
@@ -23,6 +27,27 @@
string hostname<>;
} ;
+ struct gf1_cli_deprobe_req {
+ string hostname<>;
+} ;
+
+ struct gf1_cli_deprobe_rsp {
+ int op_ret;
+ int op_errno;
+ string hostname<>;
+} ;
+
+struct gf1_cli_peer_list_req {
+ int flags;
+ opaque dict<>;
+} ;
+
+struct gf1_cli_peer_list_rsp {
+ int op_ret;
+ int op_errno;
+ opaque friends<>;
+} ;
+
struct gf1_cli_create_vol_req {
string volname<>;
gf1_cluster_type type;
@@ -39,7 +64,7 @@
struct gf1_cli_delete_vol_req {
string volname<>;
} ;
-
+
struct gf1_cli_delete_vol_rsp {
int op_ret;
int op_errno;