geode/loader/dobby/builtin-plugin/BionicLinkerRestriction/bionic_linker_restriction.h

26 lines
445 B
C
Raw Normal View History

2022-07-30 12:24:03 -04:00
#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