From 6cb3159ef38428572b81160e91e7c685ed44acb0 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Mon, 20 Apr 2009 12:34:02 -0700 Subject: libglusterfsclient: Add VMP-based statfs Signed-off-by: Anand V. Avati --- libglusterfsclient/src/libglusterfsclient.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libglusterfsclient/src/libglusterfsclient.h') diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index 97ab3bc3470..e587fcc8e0d 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -28,6 +28,7 @@ __BEGIN_DECLS #include #include #include +#include typedef struct { struct iovec *vector; @@ -283,6 +284,13 @@ glusterfs_glh_link (glusterfs_handle_t handle, const char *oldpath, int glusterfs_link (const char *oldpath, const char *newpath); + +int +glusterfs_glh_statfs (glusterfs_handle_t handle, const char *path, + struct statfs *buf); + +int +glusterfs_statfs (const char *path, struct statfs *buf); /* FIXME: review the need for these apis */ /* added for log related initialization in booster fork implementation */ void -- cgit