[core] do not export xhook (#64)
This commit is contained in:
parent
133481065f
commit
0dbfe5ac35
|
|
@ -28,20 +28,18 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define XHOOK_EXPORT __attribute__((visibility("default")))
|
|
||||||
|
|
||||||
int xhook_register(const char *pathname_regex_str, const char *symbol,
|
int xhook_register(const char *pathname_regex_str, const char *symbol,
|
||||||
void *new_func, void **old_func) XHOOK_EXPORT;
|
void *new_func, void **old_func);
|
||||||
|
|
||||||
int xhook_ignore(const char *pathname_regex_str, const char *symbol) XHOOK_EXPORT;
|
int xhook_ignore(const char *pathname_regex_str, const char *symbol);
|
||||||
|
|
||||||
int xhook_refresh(int async) XHOOK_EXPORT;
|
int xhook_refresh(int async);
|
||||||
|
|
||||||
void xhook_clear() XHOOK_EXPORT;
|
void xhook_clear();
|
||||||
|
|
||||||
void xhook_enable_debug(int flag) XHOOK_EXPORT;
|
void xhook_enable_debug(int flag);
|
||||||
|
|
||||||
void xhook_enable_sigsegv_protection(int flag) XHOOK_EXPORT;
|
void xhook_enable_sigsegv_protection(int flag);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue