summaryrefslogtreecommitdiffstats
path: root/glusterfs/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs/api.py')
-rwxr-xr-xglusterfs/api.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/glusterfs/api.py b/glusterfs/api.py
index 6bc19ea..037c893 100755
--- a/glusterfs/api.py
+++ b/glusterfs/api.py
@@ -223,6 +223,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