summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/glusterd1.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/glusterd1.c')
-rw-r--r--rpc/xdr/src/glusterd1.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/rpc/xdr/src/glusterd1.c b/rpc/xdr/src/glusterd1.c
index b71ddd16ddf..84cc93d1aec 100644
--- a/rpc/xdr/src/glusterd1.c
+++ b/rpc/xdr/src/glusterd1.c
@@ -232,3 +232,31 @@ gd_xdr_from_mgmt_commit_op_req (struct iovec outmsg, void *req)
return xdr_serialize_generic (outmsg, (void *)req,
(xdrproc_t)xdr_gd1_mgmt_commit_op_req);
}
+
+ssize_t
+gd_xdr_to_mgmt_brick_op_req (struct iovec inmsg, void *args)
+{
+ return xdr_to_generic (inmsg, (void *)args,
+ (xdrproc_t)xdr_gd1_mgmt_brick_op_req);
+}
+
+ssize_t
+gd_xdr_from_mgmt_brick_op_req (struct iovec outmsg, void *req)
+{
+ return xdr_serialize_generic (outmsg, (void *)req,
+ (xdrproc_t)xdr_gd1_mgmt_brick_op_req);
+}
+
+ssize_t
+gd_xdr_to_mgmt_brick_op_rsp (struct iovec inmsg, void *args)
+{
+ return xdr_to_generic (inmsg, (void *)args,
+ (xdrproc_t)xdr_gd1_mgmt_brick_op_rsp);
+}
+
+ssize_t
+gd_xdr_serialize_mgmt_brick_op_rsp (struct iovec outmsg, void *rsp)
+{
+ return xdr_serialize_generic (outmsg, (void *)rsp,
+ (xdrproc_t)xdr_gd1_mgmt_brick_op_rsp);
+}