mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
26 lines
445 B
C
26 lines
445 B
C
|
#ifndef LINKER_RESTRICTION_H
|
||
|
#define LINKER_RESTRICTION_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef void *soinfo_t;
|
||
|
|
||
|
soinfo_t linker_dlopen(const char *filename, int flag);
|
||
|
|
||
|
char *linker_soinfo_get_realpath(soinfo_t soinfo);
|
||
|
|
||
|
uintptr_t linker_soinfo_to_handle(soinfo_t soinfo);
|
||
|
|
||
|
void linker_iterate_soinfo(int (*cb)(soinfo_t soinfo));
|
||
|
|
||
|
void linker_disable_namespace_restriction();
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|