diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-05-11 18:22:42 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-18 19:12:41 +0530 |
commit | dddcf498610ebd332992e9600dd728cc87e6355d (patch) | |
tree | 60e66e6de932e121755ba6f90af7b7ebee62bb74 /libglusterfsclient/src/libglusterfsclient.h | |
parent | aeda0a31977e8da295b913e6a306ff01ccf0ce0a (diff) | |
download | glusterfs-dddcf498610ebd332992e9600dd728cc87e6355d.tar.gz glusterfs-dddcf498610ebd332992e9600dd728cc87e6355d.tar.xz glusterfs-dddcf498610ebd332992e9600dd728cc87e6355d.zip |
libglusterfsclient: Add rewinddir API
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index 5376985dba..ccf115f1ea 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -1192,6 +1192,18 @@ glusterfs_glh_lchown (glusterfs_handle_t handle, const char *path, uid_t owner, int glusterfs_lchown (const char *path, uid_t owner, gid_t group); + + + +/* Rewind directory stream pointer to beginning of the directory. + * + * @dirfd : Directory handle returned by glusterfs_open on + * glusterfs_opendir. + * + * Returns no value. + */ +void +glusterfs_rewinddir (glusterfs_dir_t dirfd); /* FIXME: review the need for these apis */ /* added for log related initialization in booster fork implementation */ void @@ -1208,7 +1220,6 @@ glusterfs_log_unlock (void); void glusterfs_free (glusterfs_iobuf_t *buf); - __END_DECLS #endif /* !_LIBGLUSTERFSCLIENT_H */ |