version 1.55, 2021/11/18 21:11:01 |
version 1.55.6.1, 2023/07/19 14:08:59 |
|
|
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; |