summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/legacy/server/src/server-helpers.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-06-29 03:39:16 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-01 03:31:47 -0700
commitc46f8452d75e2f1b4ab77306177f39bdbb4b232c (patch)
tree6c583bc3d79fdaab83aac6933c5848583ff1fe66 /xlators/protocol/legacy/server/src/server-helpers.h
parent0da2a6d08cc8fc2315742d010c8a8cab38ef75bb (diff)
backward compatibility of protocol
* made most of the 'legacy' server and transport functions as 'static' as they were getting cross linked with newer functions. * changed the name of few functions with prefix 'gf_' Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/protocol/legacy/server/src/server-helpers.h')
-rw-r--r--xlators/protocol/legacy/server/src/server-helpers.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/xlators/protocol/legacy/server/src/server-helpers.h b/xlators/protocol/legacy/server/src/server-helpers.h
index cbf57ae44d1..137b2e9c2c3 100644
--- a/xlators/protocol/legacy/server/src/server-helpers.h
+++ b/xlators/protocol/legacy/server/src/server-helpers.h
@@ -41,32 +41,8 @@
#define IS_NOT_ROOT(pathlen) ((pathlen > 2)? 1 : 0)
-char *
-stat_to_str (struct iatt *stbuf);
-
-call_frame_t *
-server_copy_frame (call_frame_t *frame);
-
void free_state (server_state_t *state);
void server_loc_wipe (loc_t *loc);
-int32_t
-gf_add_locker (struct _lock_table *table, const char *volume,
- loc_t *loc,
- fd_t *fd,
- pid_t pid);
-
-int32_t
-gf_del_locker (struct _lock_table *table, const char *volume,
- loc_t *loc,
- fd_t *fd,
- pid_t pid);
-
-int32_t
-gf_direntry_to_bin (dir_entry_t *head, char *bufferp);
-
-void
-server_print_request (call_frame_t *frame);
-
#endif /* __SERVER_HELPERS_H__ */