diff options
author | Anand Avati <avati@redhat.com> | 2013-04-23 14:20:13 -0700 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-04-24 01:05:56 -0700 |
commit | d37b2198dc8f763205f5b7e56a0e40252ccf97fe (patch) | |
tree | a71fd98414d11f37471fdbc6133c98f751bbc446 /api/src/glfs.h | |
parent | 714c9776c5374496ebcecb0b139718ff5fef494b (diff) |
gfapi: implement readdirplus_r support
This call is used by Samba VFS.
Change-Id: Ib371502ad5a71b3b0e993f6b30e3dfb1f839c020
BUG: 953694
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/4879
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'api/src/glfs.h')
-rw-r--r-- | api/src/glfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/src/glfs.h b/api/src/glfs.h index 7ff31dd62e3..06849d0c731 100644 --- a/api/src/glfs.h +++ b/api/src/glfs.h @@ -387,6 +387,9 @@ glfs_fd_t *glfs_opendir (glfs_t *fs, const char *path); int glfs_readdir_r (glfs_fd_t *fd, struct dirent *dirent, struct dirent **result); +int glfs_readdirplus_r (glfs_fd_t *fd, struct stat *stat, struct dirent *dirent, + struct dirent **result); + long glfs_telldir (glfs_fd_t *fd); void glfs_seekdir (glfs_fd_t *fd, long offset); |