summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-dir-read.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-10-02 03:07:55 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-06 06:34:53 -0700
commit02bced30690a5d298f262dce459bfecd001da2fe (patch)
treeb8b243be98e46fbea57536f9e7659feb8696fa55 /xlators/cluster/afr/src/afr-dir-read.h
parent6b5a8b8536a943bd7f3241e1a08de934f7566169 (diff)
afr: Support readdirp fop
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 292 (Separate readdirp functionality from readdir fop) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=292
Diffstat (limited to 'xlators/cluster/afr/src/afr-dir-read.h')
-rw-r--r--xlators/cluster/afr/src/afr-dir-read.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-dir-read.h b/xlators/cluster/afr/src/afr-dir-read.h
index 6d981fdfd47..8749c35fff0 100644
--- a/xlators/cluster/afr/src/afr-dir-read.h
+++ b/xlators/cluster/afr/src/afr-dir-read.h
@@ -35,6 +35,10 @@ afr_readdir (call_frame_t *frame, xlator_t *this,
int32_t
+afr_readdirp (call_frame_t *frame, xlator_t *this,
+ fd_t *fd, size_t size, off_t offset);
+
+int32_t
afr_getdents (call_frame_t *frame, xlator_t *this,
fd_t *fd, size_t size, off_t offset, int32_t flag);