summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-05-11 18:22:57 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-18 19:12:45 +0530
commit35bf3f058473b61605fd28cd9cbee7726adedf9d (patch)
tree37a77bbc00a1eb667bc0e84f330f3bc07f6f87fb /libglusterfsclient/src/libglusterfsclient.h
parentdddcf498610ebd332992e9600dd728cc87e6355d (diff)
libglusterfsclient: Add seekdir API
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h
index ccf115f1e..70c6669dc 100755
--- a/libglusterfsclient/src/libglusterfsclient.h
+++ b/libglusterfsclient/src/libglusterfsclient.h
@@ -1204,6 +1204,19 @@ glusterfs_lchown (const char *path, uid_t owner, gid_t group);
*/
void
glusterfs_rewinddir (glusterfs_dir_t dirfd);
+
+
+
+/* Seek to the given offset in the directory handle.
+ *
+ * @dirfd : Directory handle returned by glusterfs_open on
+ * glusterfs_opendir.
+ * @offset : The offset to seek to.
+ *
+ * Returns no value.
+ */
+void
+glusterfs_seekdir (glusterfs_dir_t dirfd, off_t offset);
/* FIXME: review the need for these apis */
/* added for log related initialization in booster fork implementation */
void