/* Copyright (c) 2007-2009 Z RESEARCH, Inc. This file is part of GlusterFS. GlusterFS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. GlusterFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ extern int booster_stat (const char *path, void *buf); extern int booster_stat64 (const char *path, void *buf); extern int booster_xstat (int ver, const char *path, void *buf); extern int booster_xstat64 (int ver, const char *path, void *buf); extern int booster_fxstat (int ver, int fd, void *buf); extern int booster_fxstat64 (int ver, int fd, void *buf); extern int booster_fstat (int fd, void *buf); extern int booster_fstat64 (int fd, void *buf); int stat (const char *path, void *buf) { return booster_stat (path, buf); } int stat64 (const char *path, void *buf) { return booster_stat64 (path, buf); } int __xstat (int ver, const char *path, void *buf) { return booster_xstat (ver, path, buf); } int __xstat64 (int ver, const char *path, void *buf) { return booster_xstat64 (ver, path, buf); } int __fxstat (int ver, int fd, void *buf) { return booster_fxstat (ver, fd, buf); } int __fxstat64 (int ver, int fd, void *buf) { return booster_fxstat64 (ver, fd, buf); } int fstat (int fd, void *buf) { return booster_fstat (fd, buf); } int fstat64 (int fd, void *buf) { return booster_fstat64 (fd, buf); }