From 90f854f470b354bc36d46397d39a065cbe89e27d Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 5 May 2009 15:57:34 +0530 Subject: libglusterfsclient: Expose a few remaining APIs Signed-off-by: Anand V. Avati --- libglusterfsclient/src/libglusterfsclient.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libglusterfsclient') diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index d4f0c6c6ae7..87297ac132e 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -246,6 +246,8 @@ int glusterfs_readdir (glusterfs_dir_t fd, struct dirent *dirp, unsigned int count); +int +glusterfs_closedir (glusterfs_dir_t dirfd); /* FIXME: remove getdents */ int glusterfs_getdents (glusterfs_dir_t fd, struct dirent *dirp, @@ -284,12 +286,24 @@ glusterfs_glh_chown (glusterfs_handle_t handle, const char *path, uid_t owner, int glusterfs_chown (const char *path, uid_t owner, gid_t group); +int +glusterfs_fchown (glusterfs_file_t fd, uid_t owner, gid_t group); + glusterfs_dir_t glusterfs_glh_opendir (glusterfs_handle_t handle, const char *path); glusterfs_dir_t glusterfs_opendir (const char *path); +int +glusterfs_fchmod (glusterfs_file_t fd, mode_t mode); + +int +glusterfs_fsync (glusterfs_file_t *fd); + +int +glusterfs_ftruncate (glusterfs_file_t fd, off_t length); + int glusterfs_glh_link (glusterfs_handle_t handle, const char *oldpath, const char *newpath); -- cgit