diff options
author | Thiago da Silva <thiago@redhat.com> | 2015-02-23 07:29:01 -0800 |
---|---|---|
committer | Gerrit Code Review <review@dev.gluster.org> | 2015-02-23 07:29:01 -0800 |
commit | 0973939a7a7edf4ae9464a1214cc239ed9f4ba29 (patch) | |
tree | f27f379be9f63e63e24ae97c33f44b2d3e5c7ffd /glusterfs/api.py | |
parent | 88bc71ff92026d889125bc0c4b14b450e41e62c4 (diff) | |
parent | b5a327eb9c0c1ec3f77a36676d6cc9878353ec1b (diff) |
Merge "adding functions setfsuid and setfsgid"
Diffstat (limited to 'glusterfs/api.py')
-rwxr-xr-x | glusterfs/api.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/glusterfs/api.py b/glusterfs/api.py index 1ecc34a..7848448 100755 --- a/glusterfs/api.py +++ b/glusterfs/api.py @@ -232,6 +232,12 @@ glfs_rmdir = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_void_p, ctypes.c_char_p)(('glfs_rmdir', client)) +glfs_setfsuid = ctypes.CFUNCTYPE(ctypes.c_int, + ctypes.c_uint)(('glfs_setfsuid', client)) + +glfs_setfsgid = ctypes.CFUNCTYPE(ctypes.c_int, + ctypes.c_uint)(('glfs_setfsgid', client)) + # TODO: creat and open fails on test_create_file_already_exists & test_open_file_not_exist functional testing, # noqa # when defined via function prototype.. Need to find RCA. For time being, using it from 'api.glfs_' # noqa |