summaryrefslogtreecommitdiffstats
path: root/booster/src/booster_stat.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-05-11 18:23:38 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-18 19:12:56 +0530
commit358f5ba40866545ce240ed8fda77c4d2e57a4262 (patch)
treee9beb414b191b9019d1aa6b8493b39fe2a1f2b96 /booster/src/booster_stat.c
parente420eb2206aa773eb32f1a7146cba4d6da5d9d03 (diff)
booster: Add rewinddir API
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'booster/src/booster_stat.c')
-rw-r--r--booster/src/booster_stat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/booster/src/booster_stat.c b/booster/src/booster_stat.c
index 6616c04ced8..9c58b0c9a3b 100644
--- a/booster/src/booster_stat.c
+++ b/booster/src/booster_stat.c
@@ -62,6 +62,9 @@ booster_statvfs64 (const char *path, void *buf);
extern void *
booster_readdir (void *dir);
+extern void
+booster_rewinddir (void *dir);
+
int
stat (const char *path, void *buf)
{
@@ -169,3 +172,9 @@ readdir64 (void *dir)
{
return booster_readdir (dir);
}
+
+void
+rewinddir (void *dir)
+{
+ return booster_rewinddir (dir);
+}