summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server-helpers.h
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2009-11-26 07:51:26 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-26 09:06:35 -0800
commitbf34a8714e6ab9dce0670c2648f839165904f2f7 (patch)
tree9b85c052d1a2127a49123064e3402d65db1a5e30 /xlators/protocol/server/src/server-helpers.h
parente91b3c49e3ab8787513764dfdadf503bc9a5da1f (diff)
protocol/server: Introduce option trace to log requests and replies in normal log.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 315 (generation number support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.h')
-rw-r--r--xlators/protocol/server/src/server-helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server-helpers.h b/xlators/protocol/server/src/server-helpers.h
index 039e0a2b346..de5b84de840 100644
--- a/xlators/protocol/server/src/server-helpers.h
+++ b/xlators/protocol/server/src/server-helpers.h
@@ -66,4 +66,7 @@ gf_del_locker (struct _lock_table *table, const char *volume,
int32_t
gf_direntry_to_bin (dir_entry_t *head, char *bufferp);
+void
+print_server_state (call_frame_t *frame, server_state_t *state, xlator_t *this, int request);
+
#endif /* __SERVER_HELPERS_H__ */