diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-20 12:33:06 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-21 12:49:31 +0530 |
commit | e2ba80403c3e73220a2b48b813df1561a9081e09 (patch) | |
tree | 7dc2933491c26932bcd7dd033347740affdd71d0 /libglusterfsclient/src/libglusterfsclient.h | |
parent | 74a46284e17045db302e5bcde0052ea6c7b4c038 (diff) |
libglusterfsclient: Add VMP-based chown
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index 6cec3fcea..c9fc15a11 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -263,6 +263,13 @@ glusterfs_glh_chmod (glusterfs_handle_t handle, const char *path, mode_t mode); int glusterfs_chmod (const char *path, mode_t mode); + +int +glusterfs_glh_chown (glusterfs_handle_t handle, const char *path, uid_t owner, + gid_t group); + +int +glusterfs_chown (const char *path, uid_t owner, gid_t group); /* FIXME: review the need for these apis */ /* added for log related initialization in booster fork implementation */ void |