diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-11-18 01:14:24 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-18 21:13:46 -0800 |
commit | d779e00360e7a30d721b3c2d8d94d198e5aa2cc0 (patch) | |
tree | 5be67d6123edbc442b5fce0647ee90498d1cc679 /libglusterfsclient/src/libglusterfsclient.h | |
parent | 43ffa430d64117e8864d38cf19202369d4809c6d (diff) |
libglusterfsclient: implement glusterfs_chdir.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 369 (Samba does not work with booster.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=369
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index fbc020699..2486dd754 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -1305,6 +1305,15 @@ glusterfs_sendfile (int out_fd, glusterfs_file_t in_fd, off_t *offset, int glusterfs_fcntl (glusterfs_file_t fd, int cmd, ...); +/* + * Change the current working directory to @path + * + * @path : path to change the current working directory to. + * + * Returns 0 on success and -1 on failure with errno set appropriately. + */ +int +glusterfs_chdir (const char *path); /* FIXME: review the need for these apis */ /* added for log related initialization in booster fork implementation */ |