From e740b700975bdb1014ede99c65731095bdf81a72 Mon Sep 17 00:00:00 2001 From: Kaleb S KEITHLEY Date: Mon, 13 Jun 2016 11:34:51 -0400 Subject: api: use versioned symbols for minor ABI change No need to expand the API/ABI. E.g., see how glfs_lookupat changed between 3.7.0 and 3.7.4 IIRC (I originally argued against versioning the library. I wanted to just add new functions as they were needed, as was initially done for glfs_ipc and glfs_ipc_xd in the master branch for 4.0. But others strongly wanted versioning.) Having made the decision to use versioning, I believe we should continue. At least until we have a public decision that we're no longer going to use versioning. Change-Id: I0c3b2c1cbb297ae2b2864b647c224922987d74ad Signed-off-by: Kaleb S KEITHLEY Reviewed-on: http://review.gluster.org/14717 Reviewed-by: Shyamsundar Ranganathan Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy --- tests/features/ipctest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/features') diff --git a/tests/features/ipctest.py b/tests/features/ipctest.py index 857225fe0a5..5aff319b8d0 100755 --- a/tests/features/ipctest.py +++ b/tests/features/ipctest.py @@ -10,7 +10,7 @@ if libgfapi == None: libgfapi = "libgfapi.so" api = ctypes.CDLL(libgfapi,mode=ctypes.RTLD_GLOBAL) -api.glfs_ipc.argtypes = [ ctypes.c_void_p, ctypes.c_int ] +api.glfs_ipc.argtypes = [ ctypes.c_void_p, ctypes.c_int, ctypes.c_void_p, ctypes.c_void_p ] api.glfs_ipc.restype = ctypes.c_int def do_ipc (host, volume): @@ -19,7 +19,7 @@ def do_ipc (host, volume): api.glfs_set_volfile_server(fs,"tcp",host,24007) api.glfs_init(fs) - ret = api.glfs_ipc(fs,1470369258) + ret = api.glfs_ipc(fs,1470369258,0,0) api.glfs_fini(fs) return ret -- cgit