diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-05-05 16:04:08 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-05 17:50:55 +0530 |
commit | 4de7dc7151d307021177107fcf8dd636b306bb59 (patch) | |
tree | 9dd4e0e0aa2bef56fc9ace4db6d16ee96fc0b133 /booster/src/booster_stat.c | |
parent | 13a58f94a781d91ab3d7854996df66c9802d972b (diff) |
booster: Add lstat 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.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/booster/src/booster_stat.c b/booster/src/booster_stat.c index bdbb0f8f43d..0d4e7c41f9a 100644 --- a/booster/src/booster_stat.c +++ b/booster/src/booster_stat.c @@ -39,6 +39,16 @@ booster_fstat (int fd, void *buf); extern int booster_fstat64 (int fd, void *buf); +extern int +booster_lstat (const char *path, void *buf); +extern int +booster_lstat64 (const char *path, void *buf); +extern int +booster_lxstat (int ver, const char *path, void *buf); +extern int +booster_lxstat64 (int ver, const char *path, void *buf); + + int stat (const char *path, void *buf) { @@ -87,3 +97,26 @@ fstat64 (int fd, void *buf) return booster_fstat64 (fd, buf); } +int +lstat (const char *path, void *buf) +{ + return booster_lstat (path, buf); +} + +int +lstat64 (const char *path, void *buf) +{ + return booster_lstat64 (path, buf); +} + +int +__lxstat (int ver, const char *path, void *buf) +{ + return booster_lxstat (ver, path, buf); +} + +int +__lxstat64 (int ver, const char *path, void *buf) +{ + return booster_lxstat64 (ver, path, buf); +} |