summaryrefslogtreecommitdiffstats
path: root/gluster/api.py
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-05-31 18:59:56 +0530
committerPrashanth Pai <ppai@redhat.com>2016-06-15 16:00:08 +0530
commit601884e6e861813e14f9064e2f135eb857d59b17 (patch)
tree6b2f1b1650118102ddb2fb82771380b1c5e970e0 /gluster/api.py
parentb111d50347076336b3e655178d967f8e5c8c9913 (diff)
Implement shutil.copy* methods and os.link()
Change-Id: I2de796e7d53732c5a967c6194a43378171fcb3d6 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'gluster/api.py')
-rwxr-xr-xgluster/api.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gluster/api.py b/gluster/api.py
index 3fd9d91..bb0d31f 100755
--- a/gluster/api.py
+++ b/gluster/api.py
@@ -402,6 +402,11 @@ glfs_rename = gfapi_prototype('glfs_rename', ctypes.c_int,
ctypes.c_char_p,
ctypes.c_char_p)
+glfs_link = gfapi_prototype('glfs_link', ctypes.c_int,
+ ctypes.c_void_p,
+ ctypes.c_char_p,
+ ctypes.c_char_p)
+
glfs_symlink = gfapi_prototype('glfs_symlink', ctypes.c_int,
ctypes.c_void_p,
ctypes.c_char_p,