diff options
author | Anand Avati <avati@redhat.com> | 2013-10-30 14:30:26 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-11-13 10:48:18 -0800 |
commit | c1109ed6c6c7bff0df22c304158e9f392f83cf59 (patch) | |
tree | 4ca5b363a23ea1ece521d1a234fb61293f0e507c /api/src/glfs-internal.h | |
parent | eeac099cf405849f07989c410968e77f95acdc77 (diff) |
gfapi: introduce glfs_readdir() and glfs_readdirplus() APIs
Change-Id: I6b233bf647585675f233898351bf593f251716cc
BUG: 839950
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/6201
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'api/src/glfs-internal.h')
-rw-r--r-- | api/src/glfs-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index 1b1c1c7f624..ec1d5579df7 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -95,6 +95,7 @@ struct glfs_fd { fd_t *fd; /* Currently guared by @fs->mutex. TODO: per-glfd lock */ struct list_head entries; gf_dirent_t *next; + struct dirent *readdirbuf; }; /* glfs object handle introduced for the alternate gfapi implementation based |