blob: e883f20e5c4ffb6a9fa46bf5482f3ea43446c780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef DLTOOLS_H
#define DLTOOLS_H
/* Utility functions for handling runtime linked shared libraries */
bool dynamic_library_close(void* shared_library);
void* dynamic_library_open(const char* library_path);
void* dynamic_library_reload(void* shared_library, const char* library_path);
/* Returns the address of symbol in the provided shared_library handle.
* NULL on error*/
void* dynamic_library_get_symbol(void* shared_library, const char* symbol);
char* dynamic_library_get_error(void);
#endif
|