version 1.56, 2023/03/08 05:33:53 |
version 1.56.4.1, 2023/07/19 14:07:53 |
|
|
error("dlopen %s failed: %s", provider_id, dlerror()); |
error("dlopen %s failed: %s", provider_id, dlerror()); |
goto fail; |
goto fail; |
} |
} |
if ((getfunctionlist = dlsym(handle, "C_GetFunctionList")) == NULL) { |
if ((getfunctionlist = dlsym(handle, "C_GetFunctionList")) == NULL) |
error("dlsym(C_GetFunctionList) failed: %s", dlerror()); |
fatal("dlsym(C_GetFunctionList) failed: %s", dlerror()); |
goto fail; |
|
} |
|
p = xcalloc(1, sizeof(*p)); |
p = xcalloc(1, sizeof(*p)); |
p->name = xstrdup(provider_id); |
p->name = xstrdup(provider_id); |
p->handle = handle; |
p->handle = handle; |