diff options
author | Raghavendra G <raghavendra@zresearch.com> | 2009-03-25 06:52:05 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-03 19:24:09 +0530 |
commit | cf6f21928dbe3489de5dfdc3513f3be5f5ef529d (patch) | |
tree | d9a63fbab63fd185e3801d4c8b42da1efcf0227a /libglusterfsclient/src/libglusterfsclient-internals.h | |
parent | 6eb419f1ca68f536a700e63c1521e428560a0d9d (diff) |
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 <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient-internals.h')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient-internals.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 |