| 17 | #include <dlfcn.h> |
| 18 | |
| 19 | static void *LoadObject(const char* sofile) |
| 20 | { |
| 21 | void *handle = dlopen(sofile, RTLD_NOW|RTLD_LOCAL); |
| 22 | if (!handle) { |
| 23 | humblenet_set_error_DEFAULT(dlerror()); |
| 24 | } |
| 25 | return handle; |
| 26 | } |
| 27 | |
| 28 | static void* LoadFunction(void *handle, const char* name) |
| 29 | { |
no outgoing calls
no test coverage detected