Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

irods init_client_api_table deprecation #4

Open
mcshane opened this issue Jan 13, 2021 · 0 comments
Open

irods init_client_api_table deprecation #4

mcshane opened this issue Jan 13, 2021 · 0 comments
Assignees

Comments

@mcshane
Copy link

mcshane commented Jan 13, 2021

init_client_api_table appears to be deprecated and replaced by load_client_api_plugins.

index 092c575..0b4e05a 100644
--- a/hfile_irods.c
+++ b/hfile_irods.c
@@ -56,9 +56,9 @@ DEALINGS IN THE SOFTWARE.  */
 #define PRIORITY (10 * IRODS_VERSION_MAJOR) + IRODS_VERSION_MINOR
 #else
 #define PRIORITY 30
-// For iRODS 3.x, there is no init_client_api_table() to call and clientLogin()
+// For iRODS 3.x, there is no load_client_api_plugins() to call and clientLogin()
 // has fewer parameters.  Define wrappers so the 4.x-style code below compiles.
-static void init_client_api_table() { }
+static void load_client_api_plugins() { }
 #define clientLogin(conn, x, y) (clientLogin((conn)))
 #endif

@@ -135,7 +135,7 @@ static int irods_init()
     // state (by default, termination; or as already set by our caller).
     pipehandler_ret = sigaction(SIGPIPE, NULL, &pipehandler);

-    init_client_api_table();
+    load_client_api_plugins();
     irods.conn = rcConnect(irods.env.rodsHost, irods.env.rodsPort,
                            irods.env.rodsUserName, irods.env.rodsZone,
                            NO_RECONN, &err);```
@whitwham whitwham self-assigned this Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants