summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-04-20 12:34:58 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-21 12:49:59 +0530
commita7205e78bfb962d9e5ff11db2a0b394e6db03256 (patch)
treecd1ca6ee471b693e5812e548e1044d611d82fd35 /libglusterfsclient/src/libglusterfsclient.h
parente707afad9f6282bc425f8b0262ea5a6db018ec92 (diff)
libglusterfsclient: Add VMP-based utime
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h
index 0381650c342..b4454a37012 100755
--- a/libglusterfsclient/src/libglusterfsclient.h
+++ b/libglusterfsclient/src/libglusterfsclient.h
@@ -30,6 +30,8 @@ __BEGIN_DECLS
#include <dirent.h>
#include <sys/vfs.h>
#include <sys/statvfs.h>
+#include <utime.h>
+#include <sys/time.h>
typedef struct {
struct iovec *vector;
@@ -306,6 +308,13 @@ glusterfs_glh_utimes (glusterfs_handle_t handle, const char *path,
int
glusterfs_utimes (const char *path, const struct timeval times[2]);
+
+int
+glusterfs_glh_utime (glusterfs_handle_t handle, const char *path,
+ const struct utimbuf *buf);
+
+int
+glusterfs_utime (const char *path, const struct utimbuf *buf);
/* FIXME: review the need for these apis */
/* added for log related initialization in booster fork implementation */
void