1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* automatically generated by rust-bindgen */

pub const XHOOK_H: u32 = 1;
extern "C" {
    pub fn xhook_register(
        pathname_regex_str: *const ::std::os::raw::c_char,
        symbol: *const ::std::os::raw::c_char,
        new_func: *mut ::std::os::raw::c_void,
        old_func: *mut *mut ::std::os::raw::c_void,
    ) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn xhook_ignore(
        pathname_regex_str: *const ::std::os::raw::c_char,
        symbol: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn xhook_refresh(async_: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn xhook_clear();
}
extern "C" {
    pub fn xhook_enable_debug(flag: ::std::os::raw::c_int);
}
extern "C" {
    pub fn xhook_enable_sigsegv_protection(flag: ::std::os::raw::c_int);
}