summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server-helpers.h
diff options
context:
space:
mode:
authorAnuradha Talur <atalur@redhat.com>2016-05-02 00:36:30 +0530
committerNiels de Vos <ndevos@redhat.com>2016-05-01 18:05:31 -0700
commit60e340481ad5496e920722e8267572fa26cf2822 (patch)
tree1530ba672669216ee67c6217443a4c1d30afd592 /xlators/protocol/server/src/server-helpers.h
parenta15195794c336ed0e272076a128c56b171cae12f (diff)
protocol/server: Implementation of compound fopv3.9dev
Change-Id: I981258afa527337dd2ad33eecba7fc8084238e6d BUG: 1303829 Signed-off-by: Anuradha Talur <atalur@redhat.com> Reviewed-on: http://review.gluster.org/14137 Smoke: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.h')
-rw-r--r--xlators/protocol/server/src/server-helpers.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server-helpers.h b/xlators/protocol/server/src/server-helpers.h
index 78b4bf08343..200b383e67e 100644
--- a/xlators/protocol/server/src/server-helpers.h
+++ b/xlators/protocol/server/src/server-helpers.h
@@ -12,6 +12,7 @@
#define _SERVER_HELPERS_H
#include "server.h"
+#include "defaults.h"
#define CALL_STATE(frame) ((server_state_t *)frame->root->state)
@@ -68,4 +69,16 @@ serialize_rsp_locklist (lock_migration_info_t *locklist,
int
getactivelkinfo_rsp_cleanup (gfs3_getactivelk_rsp *rsp);
+
+int
+server_populate_compound_response (xlator_t *this, gfs3_compound_rsp *rsp,
+ call_frame_t *frame,
+ compound_args_cbk_t *args_cbk, int index);
+int
+server_get_compound_resolve (server_state_t *state, gfs3_compound_req *req);
+
+int
+server_populate_compound_request (gfs3_compound_req *req, call_frame_t *frame,
+ default_args_t *this_args,
+ int index);
#endif /* !_SERVER_HELPERS_H */