summaryrefslogtreecommitdiffstats
path: root/booster/src/booster_stat.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-05-11 18:24:08 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-18 19:13:05 +0530
commit1279d7398c63bdad448cf0418579f6df1d9f6f34 (patch)
tree957225c782d33cd614b5e612fcfbda805f56843d /booster/src/booster_stat.c
parente3e7f850eda010ab8c84417e57a4fbace4073022 (diff)
booster: Add telldir 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 a16dab86a..10d2dc2e2 100644
--- a/booster/src/booster_stat.c
+++ b/booster/src/booster_stat.c
@@ -69,6 +69,9 @@ booster_rewinddir (void *dir);
extern void
booster_seekdir (void *dir, off_t offset);
+extern off_t
+booster_telldir (void *dir);
+
int
stat (const char *path, void *buf)
{
@@ -188,3 +191,9 @@ seekdir (void *dir, off_t offset)
{
return booster_seekdir (dir, offset);
}
+
+off_t
+telldir (void *dir)
+{
+ return booster_telldir (dir);
+}