summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/cli1-xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.c')
-rw-r--r--rpc/xdr/src/cli1-xdr.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1-xdr.c b/rpc/xdr/src/cli1-xdr.c
index e525bb755..5c3bc0c47 100644
--- a/rpc/xdr/src/cli1-xdr.c
+++ b/rpc/xdr/src/cli1-xdr.c
@@ -804,3 +804,33 @@ xdr_gf1_cli_getwd_rsp (XDR *xdrs, gf1_cli_getwd_rsp *objp)
return FALSE;
return TRUE;
}
+
+bool_t
+xdr_gf1_cli_log_level_req (XDR *xdrs, gf1_cli_log_level_req *objp)
+{
+ if (!xdr_string (xdrs, &objp->volname, ~0))
+ return FALSE;
+
+ if (!xdr_string (xdrs, &objp->xlator, ~0))
+ return FALSE;
+
+ if (!xdr_string (xdrs, &objp->loglevel, ~0))
+ return FALSE;
+
+ return TRUE;
+}
+
+bool_t
+xdr_gf1_cli_log_level_rsp (XDR *xdrs, gf1_cli_log_level_rsp *objp)
+{
+ if (!xdr_int (xdrs, &objp->op_ret))
+ return FALSE;
+
+ if (!xdr_int (xdrs, &objp->op_errno))
+ return FALSE;
+
+ if (!xdr_string (xdrs, &objp->op_errstr, ~0))
+ return FALSE;
+
+ return TRUE;
+}