diff options
author | Pranith K <pranithk@gluster.com> | 2011-03-10 02:19:20 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-10 08:09:42 -0800 |
commit | 970b22e377e20408df8646cdc61a968b55c145b1 (patch) | |
tree | f28637bd60813a30bc4b9a37b7d3b7cac93250cf /rpc/xdr/src/cli1.c | |
parent | 332508e8e3b5cd2ffe1c68e496d294d4fef2dea4 (diff) |
rpc/xdr: Add gluster profile and brick op structures
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1965 (need a cmd to get io-stat details)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1965
Diffstat (limited to 'rpc/xdr/src/cli1.c')
-rw-r--r-- | rpc/xdr/src/cli1.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1.c b/rpc/xdr/src/cli1.c index db678267803..df77c6f7af0 100644 --- a/rpc/xdr/src/cli1.c +++ b/rpc/xdr/src/cli1.c @@ -654,3 +654,31 @@ gf_xdr_from_cli_fsm_log_rsp (struct iovec outmsg, void *args) return xdr_serialize_generic (outmsg, (void *)args, (xdrproc_t)xdr_gf1_cli_fsm_log_rsp); } + +ssize_t +gf_xdr_to_cli_stats_volume_req (struct iovec inmsg, void *args) +{ + return xdr_to_generic (inmsg, (void *)args, + (xdrproc_t)xdr_gf1_cli_stats_volume_req); +} + +ssize_t +gf_xdr_from_cli_stats_volume_req (struct iovec outmsg, void *args) +{ + return xdr_serialize_generic (outmsg, (void *)args, + (xdrproc_t)xdr_gf1_cli_stats_volume_req); +} + +ssize_t +gf_xdr_to_cli_stats_volume_rsp (struct iovec inmsg, void *args) +{ + return xdr_to_generic (inmsg, (void *)args, + (xdrproc_t)xdr_gf1_cli_stats_volume_rsp); +} + +ssize_t +gf_xdr_from_cli_stats_volume_rsp (struct iovec outmsg, void *args) +{ + return xdr_serialize_generic (outmsg, (void *)args, + (xdrproc_t)xdr_gf1_cli_stats_volume_rsp); +} |