From cf6f21928dbe3489de5dfdc3513f3be5f5ef529d Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 25 Mar 2009 06:52:05 -0700 Subject: libglusterfsclient code changes - add dentry support to libglusterfsclient. - changes related to using array, to store context in inode instead of dictionary. - code changes related to cleanup of libglusterfsclient interface. - added glusterfs_mkdir and glusterfs_rmdir - other changes in libglusterfsclient to make it work with code changes in other parts of glusterfs. Signed-off-by: Anand V. Avati --- .../src/libglusterfsclient-internals.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'libglusterfsclient/src/libglusterfsclient-internals.h') diff --git a/libglusterfsclient/src/libglusterfsclient-internals.h b/libglusterfsclient/src/libglusterfsclient-internals.h index bf87f2a2319..4296284fde8 100755 --- a/libglusterfsclient/src/libglusterfsclient-internals.h +++ b/libglusterfsclient/src/libglusterfsclient-internals.h @@ -141,4 +141,25 @@ typedef struct { STACK_DESTROY (frame->root); \ } while (0) +void +libgf_client_loc_wipe (loc_t *loc); + +int32_t +libgf_client_loc_fill (loc_t *loc, + libglusterfs_client_ctx_t *ctx, + ino_t ino, + ino_t par, + const char *name); + +int32_t +libgf_client_path_lookup (loc_t *loc, + libglusterfs_client_ctx_t *ctx); + +int32_t +libgf_client_lookup (libglusterfs_client_ctx_t *ctx, + loc_t *loc, + struct stat *stbuf, + dict_t **dict, + dict_t *xattr_req); + #endif -- cgit