geode/loader/dobby/builtin-plugin/BionicLinkerRestriction/bionic_linker_restriction.h
2022-07-30 19:24:03 +03:00

26 lines
No EOL
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