summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-04-20 12:34:02 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-21 12:49:43 +0530
commit6cb3159ef38428572b81160e91e7c685ed44acb0 (patch)
tree63e35ce5fb255afe4613246c46905cb419ceea87 /libglusterfsclient/src/libglusterfsclient.h
parentde2192ea754883ea6ae643f63c44c2cbeb20f981 (diff)
libglusterfsclient: Add VMP-based statfs
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h
index 97ab3bc34..e587fcc8e 100755
--- a/libglusterfsclient/src/libglusterfsclient.h
+++ b/libglusterfsclient/src/libglusterfsclient.h
@@ -28,6 +28,7 @@ __BEGIN_DECLS
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
+#include <sys/vfs.h>
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