summaryrefslogtreecommitdiffstats
path: root/booster/src/booster_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'booster/src/booster_stat.c')
-rw-r--r--booster/src/booster_stat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/booster/src/booster_stat.c b/booster/src/booster_stat.c
index 9c58b0c9a..a16dab86a 100644
--- a/booster/src/booster_stat.c
+++ b/booster/src/booster_stat.c
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>.
*/
+#include <sys/types.h>
extern int
booster_stat (const char *path, void *buf);
@@ -65,6 +66,9 @@ booster_readdir (void *dir);
extern void
booster_rewinddir (void *dir);
+extern void
+booster_seekdir (void *dir, off_t offset);
+
int
stat (const char *path, void *buf)
{
@@ -178,3 +182,9 @@ rewinddir (void *dir)
{
return booster_rewinddir (dir);
}
+
+void
+seekdir (void *dir, off_t offset)
+{
+ return booster_seekdir (dir, offset);
+}