summaryrefslogtreecommitdiff
path: root/include/engine/dltools.h
blob: 9306ae781eaa56679244beebb759088343d628b2 (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