summaryrefslogtreecommitdiffstats
path: root/gluster/api.py
diff options
context:
space:
mode:
authorThiago da Silva <thiago@redhat.com>2016-07-05 18:23:07 -0700
committerGerrit Code Review <review@dev.gluster.org>2016-07-05 18:23:07 -0700
commit67088368e4d06609d22ca67fc5dd4cf507f3f273 (patch)
tree4e3ebeb733f08329131f545003b80d006bbfa346 /gluster/api.py
parent1c392f13c6a0805916c47081ac6fbd1d94d384ff (diff)
parentb46451d02d2660cdf46338b2e535467bf39e5164 (diff)
Merge "Expose glfs_readdirplus_r"
Diffstat (limited to 'gluster/api.py')
-rwxr-xr-xgluster/api.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gluster/api.py b/gluster/api.py
index e2e2966..c440de6 100755
--- a/gluster/api.py
+++ b/gluster/api.py
@@ -419,6 +419,12 @@ glfs_readdir_r = gfapi_prototype('glfs_readdir_r', ctypes.c_int,
ctypes.POINTER(Dirent),
ctypes.POINTER(ctypes.POINTER(Dirent)))
+glfs_readdirplus_r = gfapi_prototype('glfs_readdirplus_r', ctypes.c_int,
+ ctypes.c_void_p,
+ ctypes.POINTER(Stat),
+ ctypes.POINTER(Dirent),
+ ctypes.POINTER(ctypes.POINTER(Dirent)))
+
glfs_closedir = gfapi_prototype('glfs_closedir', ctypes.c_int,
ctypes.c_void_p)