diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-20 12:34:20 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-21 12:49:49 +0530 |
commit | b4259400090a28a5dbe27922ad8bc309db2a7c4a (patch) | |
tree | 38103bb84518954381768d08d9f67a275a822e44 /libglusterfsclient/src/libglusterfsclient.h | |
parent | 6cb3159ef38428572b81160e91e7c685ed44acb0 (diff) |
libglusterfsclient: Add VMP-based statvfs
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index e587fcc8e..0d79fa504 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -29,6 +29,7 @@ __BEGIN_DECLS #include <sys/stat.h> #include <dirent.h> #include <sys/vfs.h> +#include <sys/statvfs.h> typedef struct { struct iovec *vector; @@ -291,6 +292,13 @@ glusterfs_glh_statfs (glusterfs_handle_t handle, const char *path, int glusterfs_statfs (const char *path, struct statfs *buf); + +int +glusterfs_glh_statvfs (glusterfs_handle_t handle, const char *path, + struct statvfs *buf); + +int +glusterfs_statvfs (const char *path, struct statvfs *buf); /* FIXME: review the need for these apis */ /* added for log related initialization in booster fork implementation */ void |