summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.h14
1 files changed, 14 insertions, 0 deletions
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,6 +286,9 @@ 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);
@@ -291,6 +296,15 @@ 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);