summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-05-05 15:57:34 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-05 17:02:12 +0530
commit90f854f470b354bc36d46397d39a065cbe89e27d (patch)
tree40dfc5e3dbe7706b91111fc64f2e87eb8682f9be
parentb12fde2b06c4701970201aaebc7f45a8b964812c (diff)
libglusterfsclient: Expose a few remaining APIs
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-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);