diff options
author | Prashanth Pai <ppai@redhat.com> | 2018-01-11 17:53:08 +0530 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2018-01-11 17:53:27 +0530 |
commit | b5073b090535744608164e266badba919298f894 (patch) | |
tree | 2a3803cb22c74acabebc2462458cd84bcc49b7d1 /gluster/gfapi/api.py | |
parent | b125ff3e83283f231295873118ed7a170f4284d1 (diff) |
Add get_volume_id() API
Change-Id: Ia4c378c5b1657bb4ec23c7057c7cbc49c1b31484
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'gluster/gfapi/api.py')
-rw-r--r-- | gluster/gfapi/api.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gluster/gfapi/api.py b/gluster/gfapi/api.py index c440de6..971e98c 100644 --- a/gluster/gfapi/api.py +++ b/gluster/gfapi/api.py @@ -510,3 +510,8 @@ glfs_utimens = gfapi_prototype('glfs_utimens', ctypes.c_int, ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(Timespec)) + +glfs_get_volumeid = gfapi_prototype('glfs_get_volumeid', ctypes.c_int, + ctypes.c_void_p, + ctypes.c_char_p, + ctypes.c_size_t) |