#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
storage: Storage,
}
impl<Storage> __BindgenBitfieldUnit<Storage> {
#[inline]
pub const fn new(storage: Storage) -> Self {
Self { storage }
}
}
impl<Storage> __BindgenBitfieldUnit<Storage>
where
Storage: AsRef<[u8]> + AsMut<[u8]>,
{
#[inline]
pub fn get_bit(&self, index: usize) -> bool {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = self.storage.as_ref()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
byte & mask == mask
}
#[inline]
pub fn set_bit(&mut self, index: usize, val: bool) {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = &mut self.storage.as_mut()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
if val {
*byte |= mask;
} else {
*byte &= !mask;
}
}
#[inline]
pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
let mut val = 0;
for i in 0..(bit_width as usize) {
if self.get_bit(i + bit_offset) {
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
val |= 1 << index;
}
}
val
}
#[inline]
pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
for i in 0..(bit_width as usize) {
let mask = 1 << i;
let val_bit_is_set = val & mask == mask;
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
self.set_bit(index + bit_offset, val_bit_is_set);
}
}
}
pub const G_ANALYZER_ANALYZING: u32 = 0;
pub const FALSE: u32 = 0;
pub const G_HAVE_GNUC_VISIBILITY: u32 = 1;
pub const _LIBC_LIMITS_H_: u32 = 1;
pub const _FEATURES_H: u32 = 1;
pub const _DEFAULT_SOURCE: u32 = 1;
pub const __GLIBC_USE_ISOC2X: u32 = 0;
pub const __USE_ISOC11: u32 = 1;
pub const __USE_ISOC99: u32 = 1;
pub const __USE_ISOC95: u32 = 1;
pub const __USE_POSIX_IMPLICITLY: u32 = 1;
pub const _POSIX_SOURCE: u32 = 1;
pub const _POSIX_C_SOURCE: u32 = 200809;
pub const __USE_POSIX: u32 = 1;
pub const __USE_POSIX2: u32 = 1;
pub const __USE_POSIX199309: u32 = 1;
pub const __USE_POSIX199506: u32 = 1;
pub const __USE_XOPEN2K: u32 = 1;
pub const __USE_XOPEN2K8: u32 = 1;
pub const _ATFILE_SOURCE: u32 = 1;
pub const __WORDSIZE: u32 = 32;
pub const __WORDSIZE32_SIZE_ULONG: u32 = 0;
pub const __WORDSIZE32_PTRDIFF_LONG: u32 = 0;
pub const __WORDSIZE_TIME64_COMPAT32: u32 = 0;
pub const __TIMESIZE: u32 = 32;
pub const __USE_MISC: u32 = 1;
pub const __USE_ATFILE: u32 = 1;
pub const __USE_FORTIFY_LEVEL: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
pub const _STDC_PREDEF_H: u32 = 1;
pub const __STDC_IEC_559__: u32 = 1;
pub const __STDC_IEC_60559_BFP__: u32 = 201404;
pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
pub const __STDC_ISO_10646__: u32 = 201706;
pub const __GNU_LIBRARY__: u32 = 6;
pub const __GLIBC__: u32 = 2;
pub const __GLIBC_MINOR__: u32 = 35;
pub const _SYS_CDEFS_H: u32 = 1;
pub const __glibc_c99_flexarr_available: u32 = 1;
pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
pub const __HAVE_GENERIC_SELECTION: u32 = 1;
pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0;
pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
pub const MB_LEN_MAX: u32 = 16;
pub const _BITS_POSIX1_LIM_H: u32 = 1;
pub const _POSIX_AIO_LISTIO_MAX: u32 = 2;
pub const _POSIX_AIO_MAX: u32 = 1;
pub const _POSIX_ARG_MAX: u32 = 4096;
pub const _POSIX_CHILD_MAX: u32 = 25;
pub const _POSIX_DELAYTIMER_MAX: u32 = 32;
pub const _POSIX_HOST_NAME_MAX: u32 = 255;
pub const _POSIX_LINK_MAX: u32 = 8;
pub const _POSIX_LOGIN_NAME_MAX: u32 = 9;
pub const _POSIX_MAX_CANON: u32 = 255;
pub const _POSIX_MAX_INPUT: u32 = 255;
pub const _POSIX_MQ_OPEN_MAX: u32 = 8;
pub const _POSIX_MQ_PRIO_MAX: u32 = 32;
pub const _POSIX_NAME_MAX: u32 = 14;
pub const _POSIX_NGROUPS_MAX: u32 = 8;
pub const _POSIX_OPEN_MAX: u32 = 20;
pub const _POSIX_PATH_MAX: u32 = 256;
pub const _POSIX_PIPE_BUF: u32 = 512;
pub const _POSIX_RE_DUP_MAX: u32 = 255;
pub const _POSIX_RTSIG_MAX: u32 = 8;
pub const _POSIX_SEM_NSEMS_MAX: u32 = 256;
pub const _POSIX_SEM_VALUE_MAX: u32 = 32767;
pub const _POSIX_SIGQUEUE_MAX: u32 = 32;
pub const _POSIX_SSIZE_MAX: u32 = 32767;
pub const _POSIX_STREAM_MAX: u32 = 8;
pub const _POSIX_SYMLINK_MAX: u32 = 255;
pub const _POSIX_SYMLOOP_MAX: u32 = 8;
pub const _POSIX_TIMER_MAX: u32 = 32;
pub const _POSIX_TTY_NAME_MAX: u32 = 9;
pub const _POSIX_TZNAME_MAX: u32 = 6;
pub const _POSIX_CLOCKRES_MIN: u32 = 20000000;
pub const NR_OPEN: u32 = 1024;
pub const NGROUPS_MAX: u32 = 65536;
pub const ARG_MAX: u32 = 131072;
pub const LINK_MAX: u32 = 127;
pub const MAX_CANON: u32 = 255;
pub const MAX_INPUT: u32 = 255;
pub const NAME_MAX: u32 = 255;
pub const PATH_MAX: u32 = 4096;
pub const PIPE_BUF: u32 = 4096;
pub const XATTR_NAME_MAX: u32 = 255;
pub const XATTR_SIZE_MAX: u32 = 65536;
pub const XATTR_LIST_MAX: u32 = 65536;
pub const RTSIG_MAX: u32 = 32;
pub const _POSIX_THREAD_KEYS_MAX: u32 = 128;
pub const PTHREAD_KEYS_MAX: u32 = 1024;
pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4;
pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4;
pub const _POSIX_THREAD_THREADS_MAX: u32 = 64;
pub const AIO_PRIO_DELTA_MAX: u32 = 20;
pub const PTHREAD_STACK_MIN: u32 = 16384;
pub const DELAYTIMER_MAX: u32 = 2147483647;
pub const TTY_NAME_MAX: u32 = 32;
pub const LOGIN_NAME_MAX: u32 = 256;
pub const HOST_NAME_MAX: u32 = 64;
pub const MQ_PRIO_MAX: u32 = 32768;
pub const SEM_VALUE_MAX: u32 = 2147483647;
pub const _BITS_POSIX2_LIM_H: u32 = 1;
pub const _POSIX2_BC_BASE_MAX: u32 = 99;
pub const _POSIX2_BC_DIM_MAX: u32 = 2048;
pub const _POSIX2_BC_SCALE_MAX: u32 = 99;
pub const _POSIX2_BC_STRING_MAX: u32 = 1000;
pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2;
pub const _POSIX2_EXPR_NEST_MAX: u32 = 32;
pub const _POSIX2_LINE_MAX: u32 = 2048;
pub const _POSIX2_RE_DUP_MAX: u32 = 255;
pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14;
pub const BC_BASE_MAX: u32 = 99;
pub const BC_DIM_MAX: u32 = 2048;
pub const BC_SCALE_MAX: u32 = 99;
pub const BC_STRING_MAX: u32 = 1000;
pub const COLL_WEIGHTS_MAX: u32 = 255;
pub const EXPR_NEST_MAX: u32 = 32;
pub const LINE_MAX: u32 = 2048;
pub const CHARCLASS_NAME_MAX: u32 = 2048;
pub const RE_DUP_MAX: u32 = 32767;
pub const GLIB_STATIC_COMPILATION: u32 = 1;
pub const GOBJECT_STATIC_COMPILATION: u32 = 1;
pub const GIO_STATIC_COMPILATION: u32 = 1;
pub const GMODULE_STATIC_COMPILATION: u32 = 1;
pub const G_INTL_STATIC_COMPILATION: u32 = 1;
pub const GLIB_DYNAMIC_UNLOADING: u32 = 1;
pub const G_GINT16_MODIFIER: &[u8; 2] = b"h\0";
pub const G_GINT16_FORMAT: &[u8; 3] = b"hi\0";
pub const G_GUINT16_FORMAT: &[u8; 3] = b"hu\0";
pub const G_GINT32_MODIFIER: &[u8; 1] = b"\0";
pub const G_GINT32_FORMAT: &[u8; 2] = b"i\0";
pub const G_GUINT32_FORMAT: &[u8; 2] = b"u\0";
pub const G_HAVE_GINT64: u32 = 1;
pub const G_GINT64_MODIFIER: &[u8; 2] = b"l\0";
pub const G_GINT64_FORMAT: &[u8; 3] = b"li\0";
pub const G_GUINT64_FORMAT: &[u8; 3] = b"lu\0";
pub const GLIB_SIZEOF_VOID_P: u32 = 8;
pub const GLIB_SIZEOF_LONG: u32 = 8;
pub const GLIB_SIZEOF_SIZE_T: u32 = 8;
pub const GLIB_SIZEOF_SSIZE_T: u32 = 8;
pub const G_GSIZE_MODIFIER: &[u8; 2] = b"l\0";
pub const G_GSSIZE_MODIFIER: &[u8; 2] = b"l\0";
pub const G_GSIZE_FORMAT: &[u8; 3] = b"lu\0";
pub const G_GSSIZE_FORMAT: &[u8; 3] = b"li\0";
pub const G_GOFFSET_MODIFIER: &[u8; 2] = b"l\0";
pub const G_GOFFSET_FORMAT: &[u8; 3] = b"li\0";
pub const G_POLLFD_FORMAT: &[u8; 3] = b"%d\0";
pub const G_GINTPTR_MODIFIER: &[u8; 2] = b"l\0";
pub const G_GINTPTR_FORMAT: &[u8; 3] = b"li\0";
pub const G_GUINTPTR_FORMAT: &[u8; 3] = b"lu\0";
pub const GLIB_MAJOR_VERSION: u32 = 2;
pub const GLIB_MINOR_VERSION: u32 = 75;
pub const GLIB_MICRO_VERSION: u32 = 0;
pub const G_VA_COPY_AS_ARRAY: u32 = 1;
pub const G_HAVE_ISO_VARARGS: u32 = 1;
pub const G_HAVE_GROWING_STACK: u32 = 0;
pub const G_HAVE_GNUC_VARARGS: u32 = 1;
pub const G_MODULE_SUFFIX: &[u8; 3] = b"so\0";
pub const G_PID_FORMAT: &[u8; 2] = b"i\0";
pub const GLIB_SYSDEF_AF_UNIX: u32 = 1;
pub const GLIB_SYSDEF_AF_INET: u32 = 2;
pub const GLIB_SYSDEF_AF_INET6: u32 = 10;
pub const GLIB_SYSDEF_MSG_OOB: u32 = 1;
pub const GLIB_SYSDEF_MSG_PEEK: u32 = 2;
pub const GLIB_SYSDEF_MSG_DONTROUTE: u32 = 4;
pub const G_DIR_SEPARATOR: u8 = 47u8;
pub const G_DIR_SEPARATOR_S: &[u8; 2] = b"/\0";
pub const G_SEARCHPATH_SEPARATOR: u8 = 58u8;
pub const G_SEARCHPATH_SEPARATOR_S: &[u8; 2] = b":\0";
pub const _TIME_H: u32 = 1;
pub const _BITS_TIME_H: u32 = 1;
pub const _BITS_TYPES_H: u32 = 1;
pub const _BITS_TYPESIZES_H: u32 = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 0;
pub const __STATFS_MATCHES_STATFS64: u32 = 0;
pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 0;
pub const __FD_SETSIZE: u32 = 1024;
pub const _BITS_TIME64_H: u32 = 1;
pub const CLOCK_REALTIME: u32 = 0;
pub const CLOCK_MONOTONIC: u32 = 1;
pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2;
pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3;
pub const CLOCK_MONOTONIC_RAW: u32 = 4;
pub const CLOCK_REALTIME_COARSE: u32 = 5;
pub const CLOCK_MONOTONIC_COARSE: u32 = 6;
pub const CLOCK_BOOTTIME: u32 = 7;
pub const CLOCK_REALTIME_ALARM: u32 = 8;
pub const CLOCK_BOOTTIME_ALARM: u32 = 9;
pub const CLOCK_TAI: u32 = 11;
pub const TIMER_ABSTIME: u32 = 1;
pub const __clock_t_defined: u32 = 1;
pub const __time_t_defined: u32 = 1;
pub const __struct_tm_defined: u32 = 1;
pub const _STRUCT_TIMESPEC: u32 = 1;
pub const _BITS_ENDIAN_H: u32 = 1;
pub const __LITTLE_ENDIAN: u32 = 1234;
pub const __BIG_ENDIAN: u32 = 4321;
pub const __PDP_ENDIAN: u32 = 3412;
pub const _BITS_ENDIANNESS_H: u32 = 1;
pub const __BYTE_ORDER: u32 = 1234;
pub const __FLOAT_WORD_ORDER: u32 = 1234;
pub const __clockid_t_defined: u32 = 1;
pub const __timer_t_defined: u32 = 1;
pub const __itimerspec_defined: u32 = 1;
pub const _BITS_TYPES_LOCALE_T_H: u32 = 1;
pub const _BITS_TYPES___LOCALE_T_H: u32 = 1;
pub const TIME_UTC: u32 = 1;
pub const G_E: f64 = 2.718281828459045;
pub const G_LN2: f64 = 0.6931471805599453;
pub const G_LN10: f64 = 2.302585092994046;
pub const G_PI: f64 = 3.141592653589793;
pub const G_PI_2: f64 = 1.5707963267948966;
pub const G_PI_4: f64 = 0.7853981633974483;
pub const G_SQRT2: f64 = 1.4142135623730951;
pub const G_LITTLE_ENDIAN: u32 = 1234;
pub const G_BIG_ENDIAN: u32 = 4321;
pub const G_PDP_ENDIAN: u32 = 3412;
pub const G_IEEE754_FLOAT_BIAS: u32 = 127;
pub const G_IEEE754_DOUBLE_BIAS: u32 = 1023;
pub const G_LOG_2_BASE_10: f64 = 0.3010299956639812;
pub const _STRING_H: u32 = 1;
pub const _STRINGS_H: u32 = 1;
pub const __GNUC_VA_LIST: u32 = 1;
pub const _STDLIB_H: u32 = 1;
pub const WNOHANG: u32 = 1;
pub const WUNTRACED: u32 = 2;
pub const WSTOPPED: u32 = 2;
pub const WEXITED: u32 = 4;
pub const WCONTINUED: u32 = 8;
pub const WNOWAIT: u32 = 16777216;
pub const __WNOTHREAD: u32 = 536870912;
pub const __WALL: u32 = 1073741824;
pub const __WCLONE: u32 = 2147483648;
pub const __W_CONTINUED: u32 = 65535;
pub const __WCOREFLAG: u32 = 128;
pub const __HAVE_FLOAT128: u32 = 0;
pub const __HAVE_DISTINCT_FLOAT128: u32 = 0;
pub const __HAVE_FLOAT64X: u32 = 1;
pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1;
pub const __HAVE_FLOAT16: u32 = 0;
pub const __HAVE_FLOAT32: u32 = 1;
pub const __HAVE_FLOAT64: u32 = 1;
pub const __HAVE_FLOAT32X: u32 = 1;
pub const __HAVE_FLOAT128X: u32 = 0;
pub const __HAVE_DISTINCT_FLOAT16: u32 = 0;
pub const __HAVE_DISTINCT_FLOAT32: u32 = 0;
pub const __HAVE_DISTINCT_FLOAT64: u32 = 0;
pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0;
pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0;
pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0;
pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0;
pub const __ldiv_t_defined: u32 = 1;
pub const __lldiv_t_defined: u32 = 1;
pub const RAND_MAX: u32 = 2147483647;
pub const EXIT_FAILURE: u32 = 1;
pub const EXIT_SUCCESS: u32 = 0;
pub const _SYS_TYPES_H: u32 = 1;
pub const _BITS_STDINT_INTN_H: u32 = 1;
pub const __BIT_TYPES_DEFINED__: u32 = 1;
pub const _ENDIAN_H: u32 = 1;
pub const LITTLE_ENDIAN: u32 = 1234;
pub const BIG_ENDIAN: u32 = 4321;
pub const PDP_ENDIAN: u32 = 3412;
pub const BYTE_ORDER: u32 = 1234;
pub const _BITS_BYTESWAP_H: u32 = 1;
pub const _BITS_UINTN_IDENTITY_H: u32 = 1;
pub const _SYS_SELECT_H: u32 = 1;
pub const __sigset_t_defined: u32 = 1;
pub const __timeval_defined: u32 = 1;
pub const FD_SETSIZE: u32 = 1024;
pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1;
pub const _THREAD_SHARED_TYPES_H: u32 = 1;
pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1;
pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 24;
pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 36;
pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 32;
pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 20;
pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4;
pub const __SIZEOF_PTHREAD_COND_T: u32 = 48;
pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4;
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8;
pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4;
pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1;
pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 0;
pub const __have_pthread_attr_t: u32 = 1;
pub const _ALLOCA_H: u32 = 1;
pub const _BITS_SIGNUM_GENERIC_H: u32 = 1;
pub const SIGINT: u32 = 2;
pub const SIGILL: u32 = 4;
pub const SIGABRT: u32 = 6;
pub const SIGFPE: u32 = 8;
pub const SIGSEGV: u32 = 11;
pub const SIGTERM: u32 = 15;
pub const SIGHUP: u32 = 1;
pub const SIGQUIT: u32 = 3;
pub const SIGTRAP: u32 = 5;
pub const SIGKILL: u32 = 9;
pub const SIGPIPE: u32 = 13;
pub const SIGALRM: u32 = 14;
pub const SIGIOT: u32 = 6;
pub const _BITS_SIGNUM_ARCH_H: u32 = 1;
pub const SIGSTKFLT: u32 = 16;
pub const SIGPWR: u32 = 30;
pub const SIGBUS: u32 = 7;
pub const SIGSYS: u32 = 31;
pub const SIGURG: u32 = 23;
pub const SIGSTOP: u32 = 19;
pub const SIGTSTP: u32 = 20;
pub const SIGCONT: u32 = 18;
pub const SIGCHLD: u32 = 17;
pub const SIGTTIN: u32 = 21;
pub const SIGTTOU: u32 = 22;
pub const SIGPOLL: u32 = 29;
pub const SIGXFSZ: u32 = 25;
pub const SIGXCPU: u32 = 24;
pub const SIGVTALRM: u32 = 26;
pub const SIGPROF: u32 = 27;
pub const SIGUSR1: u32 = 10;
pub const SIGUSR2: u32 = 12;
pub const SIGWINCH: u32 = 28;
pub const SIGIO: u32 = 29;
pub const SIGCLD: u32 = 17;
pub const __SIGRTMIN: u32 = 32;
pub const __SIGRTMAX: u32 = 64;
pub const _NSIG: u32 = 65;
pub const __sig_atomic_t_defined: u32 = 1;
pub const __siginfo_t_defined: u32 = 1;
pub const __SI_MAX_SIZE: u32 = 128;
pub const _BITS_SIGINFO_ARCH_H: u32 = 1;
pub const __SI_ERRNO_THEN_CODE: u32 = 1;
pub const __SI_HAVE_SIGSYS: u32 = 1;
pub const _BITS_SIGINFO_CONSTS_H: u32 = 1;
pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1;
pub const __sigevent_t_defined: u32 = 1;
pub const __SIGEV_MAX_SIZE: u32 = 64;
pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1;
pub const NSIG: u32 = 65;
pub const _BITS_SIGACTION_H: u32 = 1;
pub const SA_NOCLDSTOP: u32 = 1;
pub const SA_NOCLDWAIT: u32 = 2;
pub const SA_SIGINFO: u32 = 4;
pub const SA_ONSTACK: u32 = 134217728;
pub const SA_RESTART: u32 = 268435456;
pub const SA_NODEFER: u32 = 1073741824;
pub const SA_RESETHAND: u32 = 2147483648;
pub const SA_INTERRUPT: u32 = 536870912;
pub const SA_NOMASK: u32 = 1073741824;
pub const SA_ONESHOT: u32 = 2147483648;
pub const SA_STACK: u32 = 134217728;
pub const SIG_BLOCK: u32 = 0;
pub const SIG_UNBLOCK: u32 = 1;
pub const SIG_SETMASK: u32 = 2;
pub const _BITS_SIGCONTEXT_H: u32 = 1;
pub const FP_XSTATE_MAGIC1: u32 = 1179670611;
pub const FP_XSTATE_MAGIC2: u32 = 1179670597;
pub const X86_FXSR_MAGIC: u32 = 0;
pub const __stack_t_defined: u32 = 1;
pub const _SYS_UCONTEXT_H: u32 = 1;
pub const __NGREG: u32 = 19;
pub const NGREG: u32 = 19;
pub const _BITS_SIGSTACK_H: u32 = 1;
pub const MINSIGSTKSZ: u32 = 2048;
pub const SIGSTKSZ: u32 = 8192;
pub const _BITS_SS_FLAGS_H: u32 = 1;
pub const __sigstack_defined: u32 = 1;
pub const _BITS_SIGTHREAD_H: u32 = 1;
pub const G_DATALIST_FLAGS_MASK: u32 = 3;
pub const G_DATE_BAD_JULIAN: u32 = 0;
pub const G_DATE_BAD_DAY: u32 = 0;
pub const G_DATE_BAD_YEAR: u32 = 0;
pub const _DIRENT_H: u32 = 1;
pub const _DIRENT_MATCHES_DIRENT64: u32 = 0;
pub const MAXNAMLEN: u32 = 255;
pub const G_MEM_ALIGN: u32 = 8;
pub const G_HOOK_FLAG_USER_SHIFT: u32 = 4;
pub const G_PRIORITY_HIGH: i32 = -100;
pub const G_PRIORITY_DEFAULT: u32 = 0;
pub const G_PRIORITY_HIGH_IDLE: u32 = 100;
pub const G_PRIORITY_DEFAULT_IDLE: u32 = 200;
pub const G_PRIORITY_LOW: u32 = 300;
pub const G_SOURCE_REMOVE: u32 = 0;
pub const G_UNICHAR_MAX_DECOMPOSITION_LENGTH: u32 = 18;
pub const G_KQUEUE_WAKEUP_HANDLE: i32 = -42;
pub const G_KEY_FILE_DESKTOP_GROUP: &[u8; 14] = b"Desktop Entry\0";
pub const G_KEY_FILE_DESKTOP_KEY_TYPE: &[u8; 5] = b"Type\0";
pub const G_KEY_FILE_DESKTOP_KEY_VERSION: &[u8; 8] = b"Version\0";
pub const G_KEY_FILE_DESKTOP_KEY_NAME: &[u8; 5] = b"Name\0";
pub const G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME: &[u8; 12] = b"GenericName\0";
pub const G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY: &[u8; 10] = b"NoDisplay\0";
pub const G_KEY_FILE_DESKTOP_KEY_COMMENT: &[u8; 8] = b"Comment\0";
pub const G_KEY_FILE_DESKTOP_KEY_ICON: &[u8; 5] = b"Icon\0";
pub const G_KEY_FILE_DESKTOP_KEY_HIDDEN: &[u8; 7] = b"Hidden\0";
pub const G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN: &[u8; 11] = b"OnlyShowIn\0";
pub const G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN: &[u8; 10] = b"NotShowIn\0";
pub const G_KEY_FILE_DESKTOP_KEY_TRY_EXEC: &[u8; 8] = b"TryExec\0";
pub const G_KEY_FILE_DESKTOP_KEY_EXEC: &[u8; 5] = b"Exec\0";
pub const G_KEY_FILE_DESKTOP_KEY_PATH: &[u8; 5] = b"Path\0";
pub const G_KEY_FILE_DESKTOP_KEY_TERMINAL: &[u8; 9] = b"Terminal\0";
pub const G_KEY_FILE_DESKTOP_KEY_MIME_TYPE: &[u8; 9] = b"MimeType\0";
pub const G_KEY_FILE_DESKTOP_KEY_CATEGORIES: &[u8; 11] = b"Categories\0";
pub const G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY: &[u8; 14] = b"StartupNotify\0";
pub const G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS: &[u8; 15] = b"StartupWMClass\0";
pub const G_KEY_FILE_DESKTOP_KEY_URL: &[u8; 4] = b"URL\0";
pub const G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE: &[u8; 16] = b"DBusActivatable\0";
pub const G_KEY_FILE_DESKTOP_KEY_ACTIONS: &[u8; 8] = b"Actions\0";
pub const G_KEY_FILE_DESKTOP_TYPE_APPLICATION: &[u8; 12] = b"Application\0";
pub const G_KEY_FILE_DESKTOP_TYPE_LINK: &[u8; 5] = b"Link\0";
pub const G_KEY_FILE_DESKTOP_TYPE_DIRECTORY: &[u8; 10] = b"Directory\0";
pub const G_LOG_LEVEL_USER_SHIFT: u32 = 8;
pub const G_OPTION_REMAINING: &[u8; 1] = b"\0";
pub const G_CSET_A_2_Z: &[u8; 27] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\0";
pub const G_CSET_a_2_z: &[u8; 27] = b"abcdefghijklmnopqrstuvwxyz\0";
pub const G_CSET_DIGITS: &[u8; 11] = b"0123456789\0";
pub const G_CSET_LATINC : & [u8 ; 31] = b"\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD8\xD9\xDA\xDB\xDC\xDD\xDE\0" ;
pub const G_CSET_LATINS : & [u8 ; 33] = b"\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF\0" ;
pub const G_STR_DELIMITERS: &[u8; 8] = b"_-|> <.\0";
pub const G_ASCII_DTOSTR_BUF_SIZE: u32 = 39;
pub const _ERRNO_H: u32 = 1;
pub const _BITS_ERRNO_H: u32 = 1;
pub const EPERM: u32 = 1;
pub const ENOENT: u32 = 2;
pub const ESRCH: u32 = 3;
pub const EINTR: u32 = 4;
pub const EIO: u32 = 5;
pub const ENXIO: u32 = 6;
pub const E2BIG: u32 = 7;
pub const ENOEXEC: u32 = 8;
pub const EBADF: u32 = 9;
pub const ECHILD: u32 = 10;
pub const EAGAIN: u32 = 11;
pub const ENOMEM: u32 = 12;
pub const EACCES: u32 = 13;
pub const EFAULT: u32 = 14;
pub const ENOTBLK: u32 = 15;
pub const EBUSY: u32 = 16;
pub const EEXIST: u32 = 17;
pub const EXDEV: u32 = 18;
pub const ENODEV: u32 = 19;
pub const ENOTDIR: u32 = 20;
pub const EISDIR: u32 = 21;
pub const EINVAL: u32 = 22;
pub const ENFILE: u32 = 23;
pub const EMFILE: u32 = 24;
pub const ENOTTY: u32 = 25;
pub const ETXTBSY: u32 = 26;
pub const EFBIG: u32 = 27;
pub const ENOSPC: u32 = 28;
pub const ESPIPE: u32 = 29;
pub const EROFS: u32 = 30;
pub const EMLINK: u32 = 31;
pub const EPIPE: u32 = 32;
pub const EDOM: u32 = 33;
pub const ERANGE: u32 = 34;
pub const EDEADLK: u32 = 35;
pub const ENAMETOOLONG: u32 = 36;
pub const ENOLCK: u32 = 37;
pub const ENOSYS: u32 = 38;
pub const ENOTEMPTY: u32 = 39;
pub const ELOOP: u32 = 40;
pub const EWOULDBLOCK: u32 = 11;
pub const ENOMSG: u32 = 42;
pub const EIDRM: u32 = 43;
pub const ECHRNG: u32 = 44;
pub const EL2NSYNC: u32 = 45;
pub const EL3HLT: u32 = 46;
pub const EL3RST: u32 = 47;
pub const ELNRNG: u32 = 48;
pub const EUNATCH: u32 = 49;
pub const ENOCSI: u32 = 50;
pub const EL2HLT: u32 = 51;
pub const EBADE: u32 = 52;
pub const EBADR: u32 = 53;
pub const EXFULL: u32 = 54;
pub const ENOANO: u32 = 55;
pub const EBADRQC: u32 = 56;
pub const EBADSLT: u32 = 57;
pub const EDEADLOCK: u32 = 35;
pub const EBFONT: u32 = 59;
pub const ENOSTR: u32 = 60;
pub const ENODATA: u32 = 61;
pub const ETIME: u32 = 62;
pub const ENOSR: u32 = 63;
pub const ENONET: u32 = 64;
pub const ENOPKG: u32 = 65;
pub const EREMOTE: u32 = 66;
pub const ENOLINK: u32 = 67;
pub const EADV: u32 = 68;
pub const ESRMNT: u32 = 69;
pub const ECOMM: u32 = 70;
pub const EPROTO: u32 = 71;
pub const EMULTIHOP: u32 = 72;
pub const EDOTDOT: u32 = 73;
pub const EBADMSG: u32 = 74;
pub const EOVERFLOW: u32 = 75;
pub const ENOTUNIQ: u32 = 76;
pub const EBADFD: u32 = 77;
pub const EREMCHG: u32 = 78;
pub const ELIBACC: u32 = 79;
pub const ELIBBAD: u32 = 80;
pub const ELIBSCN: u32 = 81;
pub const ELIBMAX: u32 = 82;
pub const ELIBEXEC: u32 = 83;
pub const EILSEQ: u32 = 84;
pub const ERESTART: u32 = 85;
pub const ESTRPIPE: u32 = 86;
pub const EUSERS: u32 = 87;
pub const ENOTSOCK: u32 = 88;
pub const EDESTADDRREQ: u32 = 89;
pub const EMSGSIZE: u32 = 90;
pub const EPROTOTYPE: u32 = 91;
pub const ENOPROTOOPT: u32 = 92;
pub const EPROTONOSUPPORT: u32 = 93;
pub const ESOCKTNOSUPPORT: u32 = 94;
pub const EOPNOTSUPP: u32 = 95;
pub const EPFNOSUPPORT: u32 = 96;
pub const EAFNOSUPPORT: u32 = 97;
pub const EADDRINUSE: u32 = 98;
pub const EADDRNOTAVAIL: u32 = 99;
pub const ENETDOWN: u32 = 100;
pub const ENETUNREACH: u32 = 101;
pub const ENETRESET: u32 = 102;
pub const ECONNABORTED: u32 = 103;
pub const ECONNRESET: u32 = 104;
pub const ENOBUFS: u32 = 105;
pub const EISCONN: u32 = 106;
pub const ENOTCONN: u32 = 107;
pub const ESHUTDOWN: u32 = 108;
pub const ETOOMANYREFS: u32 = 109;
pub const ETIMEDOUT: u32 = 110;
pub const ECONNREFUSED: u32 = 111;
pub const EHOSTDOWN: u32 = 112;
pub const EHOSTUNREACH: u32 = 113;
pub const EALREADY: u32 = 114;
pub const EINPROGRESS: u32 = 115;
pub const ESTALE: u32 = 116;
pub const EUCLEAN: u32 = 117;
pub const ENOTNAM: u32 = 118;
pub const ENAVAIL: u32 = 119;
pub const EISNAM: u32 = 120;
pub const EREMOTEIO: u32 = 121;
pub const EDQUOT: u32 = 122;
pub const ENOMEDIUM: u32 = 123;
pub const EMEDIUMTYPE: u32 = 124;
pub const ECANCELED: u32 = 125;
pub const ENOKEY: u32 = 126;
pub const EKEYEXPIRED: u32 = 127;
pub const EKEYREVOKED: u32 = 128;
pub const EKEYREJECTED: u32 = 129;
pub const EOWNERDEAD: u32 = 130;
pub const ENOTRECOVERABLE: u32 = 131;
pub const ERFKILL: u32 = 132;
pub const EHWPOISON: u32 = 133;
pub const ENOTSUP: u32 = 95;
pub const G_TEST_OPTION_ISOLATE_DIRS: &[u8; 13] = b"isolate_dirs\0";
pub const G_USEC_PER_SEC: u32 = 1000000;
pub const G_URI_RESERVED_CHARS_GENERIC_DELIMITERS: &[u8; 8] = b":/?#[]@\0";
pub const G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS: &[u8; 12] = b"!$&'()*+,;=\0";
pub const G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT: &[u8; 14] = b"!$&'()*+,;=:@\0";
pub const G_URI_RESERVED_CHARS_ALLOWED_IN_PATH: &[u8; 15] = b"!$&'()*+,;=:@/\0";
pub const G_URI_RESERVED_CHARS_ALLOWED_IN_USERINFO: &[u8; 13] = b"!$&'()*+,;=:\0";
pub const G_ALLOC_ONLY: u32 = 1;
pub const G_ALLOC_AND_FREE: u32 = 2;
pub const G_ALLOCATOR_LIST: u32 = 1;
pub const G_ALLOCATOR_SLIST: u32 = 2;
pub const G_ALLOCATOR_NODE: u32 = 3;
pub const _PTHREAD_H: u32 = 1;
pub const _SCHED_H: u32 = 1;
pub const _BITS_SCHED_H: u32 = 1;
pub const SCHED_OTHER: u32 = 0;
pub const SCHED_FIFO: u32 = 1;
pub const SCHED_RR: u32 = 2;
pub const _BITS_TYPES_STRUCT_SCHED_PARAM: u32 = 1;
pub const _BITS_CPU_SET_H: u32 = 1;
pub const __CPU_SETSIZE: u32 = 1024;
pub const _BITS_SETJMP_H: u32 = 1;
pub const __jmp_buf_tag_defined: u32 = 1;
pub const PTHREAD_ONCE_INIT: u32 = 0;
pub const PTHREAD_BARRIER_SERIAL_THREAD: i32 = -1;
pub const G_TYPE_FUNDAMENTAL_SHIFT: u32 = 2;
pub const G_TYPE_RESERVED_GLIB_FIRST: u32 = 22;
pub const G_TYPE_RESERVED_GLIB_LAST: u32 = 31;
pub const G_TYPE_RESERVED_BSE_FIRST: u32 = 32;
pub const G_TYPE_RESERVED_BSE_LAST: u32 = 48;
pub const G_TYPE_RESERVED_USER_FIRST: u32 = 49;
pub const G_VALUE_NOCOPY_CONTENTS: u32 = 134217728;
pub const G_PARAM_MASK: u32 = 255;
pub const G_PARAM_USER_SHIFT: u32 = 8;
pub const G_SIGNAL_FLAGS_MASK: u32 = 511;
pub const G_SIGNAL_MATCH_MASK: u32 = 63;
pub const _UNISTD_H: u32 = 1;
pub const _POSIX_VERSION: u32 = 200809;
pub const __POSIX2_THIS_VERSION: u32 = 200809;
pub const _POSIX2_VERSION: u32 = 200809;
pub const _POSIX2_C_VERSION: u32 = 200809;
pub const _POSIX2_C_BIND: u32 = 200809;
pub const _POSIX2_C_DEV: u32 = 200809;
pub const _POSIX2_SW_DEV: u32 = 200809;
pub const _POSIX2_LOCALEDEF: u32 = 200809;
pub const _XOPEN_VERSION: u32 = 700;
pub const _XOPEN_XCU_VERSION: u32 = 4;
pub const _XOPEN_XPG2: u32 = 1;
pub const _XOPEN_XPG3: u32 = 1;
pub const _XOPEN_XPG4: u32 = 1;
pub const _XOPEN_UNIX: u32 = 1;
pub const _XOPEN_ENH_I18N: u32 = 1;
pub const _XOPEN_LEGACY: u32 = 1;
pub const _BITS_POSIX_OPT_H: u32 = 1;
pub const _POSIX_JOB_CONTROL: u32 = 1;
pub const _POSIX_SAVED_IDS: u32 = 1;
pub const _POSIX_PRIORITY_SCHEDULING: u32 = 200809;
pub const _POSIX_SYNCHRONIZED_IO: u32 = 200809;
pub const _POSIX_FSYNC: u32 = 200809;
pub const _POSIX_MAPPED_FILES: u32 = 200809;
pub const _POSIX_MEMLOCK: u32 = 200809;
pub const _POSIX_MEMLOCK_RANGE: u32 = 200809;
pub const _POSIX_MEMORY_PROTECTION: u32 = 200809;
pub const _POSIX_CHOWN_RESTRICTED: u32 = 0;
pub const _POSIX_VDISABLE: u8 = 0u8;
pub const _POSIX_NO_TRUNC: u32 = 1;
pub const _XOPEN_REALTIME: u32 = 1;
pub const _XOPEN_REALTIME_THREADS: u32 = 1;
pub const _XOPEN_SHM: u32 = 1;
pub const _POSIX_THREADS: u32 = 200809;
pub const _POSIX_REENTRANT_FUNCTIONS: u32 = 1;
pub const _POSIX_THREAD_SAFE_FUNCTIONS: u32 = 200809;
pub const _POSIX_THREAD_PRIORITY_SCHEDULING: u32 = 200809;
pub const _POSIX_THREAD_ATTR_STACKSIZE: u32 = 200809;
pub const _POSIX_THREAD_ATTR_STACKADDR: u32 = 200809;
pub const _POSIX_THREAD_PRIO_INHERIT: u32 = 200809;
pub const _POSIX_THREAD_PRIO_PROTECT: u32 = 200809;
pub const _POSIX_THREAD_ROBUST_PRIO_INHERIT: u32 = 200809;
pub const _POSIX_THREAD_ROBUST_PRIO_PROTECT: i32 = -1;
pub const _POSIX_SEMAPHORES: u32 = 200809;
pub const _POSIX_REALTIME_SIGNALS: u32 = 200809;
pub const _POSIX_ASYNCHRONOUS_IO: u32 = 200809;
pub const _POSIX_ASYNC_IO: u32 = 1;
pub const _LFS_ASYNCHRONOUS_IO: u32 = 1;
pub const _POSIX_PRIORITIZED_IO: u32 = 200809;
pub const _LFS64_ASYNCHRONOUS_IO: u32 = 1;
pub const _LFS_LARGEFILE: u32 = 1;
pub const _LFS64_LARGEFILE: u32 = 1;
pub const _LFS64_STDIO: u32 = 1;
pub const _POSIX_SHARED_MEMORY_OBJECTS: u32 = 200809;
pub const _POSIX_CPUTIME: u32 = 0;
pub const _POSIX_THREAD_CPUTIME: u32 = 0;
pub const _POSIX_REGEXP: u32 = 1;
pub const _POSIX_READER_WRITER_LOCKS: u32 = 200809;
pub const _POSIX_SHELL: u32 = 1;
pub const _POSIX_TIMEOUTS: u32 = 200809;
pub const _POSIX_SPIN_LOCKS: u32 = 200809;
pub const _POSIX_SPAWN: u32 = 200809;
pub const _POSIX_TIMERS: u32 = 200809;
pub const _POSIX_BARRIERS: u32 = 200809;
pub const _POSIX_MESSAGE_PASSING: u32 = 200809;
pub const _POSIX_THREAD_PROCESS_SHARED: u32 = 200809;
pub const _POSIX_MONOTONIC_CLOCK: u32 = 0;
pub const _POSIX_CLOCK_SELECTION: u32 = 200809;
pub const _POSIX_ADVISORY_INFO: u32 = 200809;
pub const _POSIX_IPV6: u32 = 200809;
pub const _POSIX_RAW_SOCKETS: u32 = 200809;
pub const _POSIX2_CHAR_TERM: u32 = 200809;
pub const _POSIX_SPORADIC_SERVER: i32 = -1;
pub const _POSIX_THREAD_SPORADIC_SERVER: i32 = -1;
pub const _POSIX_TRACE: i32 = -1;
pub const _POSIX_TRACE_EVENT_FILTER: i32 = -1;
pub const _POSIX_TRACE_INHERIT: i32 = -1;
pub const _POSIX_TRACE_LOG: i32 = -1;
pub const _POSIX_TYPED_MEMORY_OBJECTS: i32 = -1;
pub const _POSIX_V7_ILP32_OFFBIG: u32 = 1;
pub const _POSIX_V6_ILP32_OFFBIG: u32 = 1;
pub const _XBS5_ILP32_OFFBIG: u32 = 1;
pub const _POSIX_V7_ILP32_OFF32: u32 = 1;
pub const _POSIX_V6_ILP32_OFF32: u32 = 1;
pub const _XBS5_ILP32_OFF32: u32 = 1;
pub const __ILP32_OFF32_CFLAGS: &[u8; 5] = b"-m32\0";
pub const __ILP32_OFF32_LDFLAGS: &[u8; 5] = b"-m32\0";
pub const __ILP32_OFFBIG_CFLAGS: &[u8; 48] = b"-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\0";
pub const __ILP32_OFFBIG_LDFLAGS: &[u8; 5] = b"-m32\0";
pub const __LP64_OFF64_CFLAGS: &[u8; 5] = b"-m64\0";
pub const __LP64_OFF64_LDFLAGS: &[u8; 5] = b"-m64\0";
pub const STDIN_FILENO: u32 = 0;
pub const STDOUT_FILENO: u32 = 1;
pub const STDERR_FILENO: u32 = 2;
pub const R_OK: u32 = 4;
pub const W_OK: u32 = 2;
pub const X_OK: u32 = 1;
pub const F_OK: u32 = 0;
pub const SEEK_SET: u32 = 0;
pub const SEEK_CUR: u32 = 1;
pub const SEEK_END: u32 = 2;
pub const L_SET: u32 = 0;
pub const L_INCR: u32 = 1;
pub const L_XTND: u32 = 2;
pub const _GETOPT_POSIX_H: u32 = 1;
pub const _GETOPT_CORE_H: u32 = 1;
pub const F_ULOCK: u32 = 0;
pub const F_LOCK: u32 = 1;
pub const F_TLOCK: u32 = 2;
pub const F_TEST: u32 = 3;
pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &[u8; 21] = b"gio-debug-controller\0";
pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &[u8; 12] = b"unix-device\0";
pub const G_FILE_ATTRIBUTE_STANDARD_TYPE: &[u8; 15] = b"standard::type\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: &[u8; 20] = b"standard::is-hidden\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: &[u8; 20] = b"standard::is-backup\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: &[u8; 21] = b"standard::is-symlink\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: &[u8; 21] = b"standard::is-virtual\0";
pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: &[u8; 22] = b"standard::is-volatile\0";
pub const G_FILE_ATTRIBUTE_STANDARD_NAME: &[u8; 15] = b"standard::name\0";
pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: &[u8; 23] = b"standard::display-name\0";
pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: &[u8; 20] = b"standard::edit-name\0";
pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: &[u8; 20] = b"standard::copy-name\0";
pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: &[u8; 22] = b"standard::description\0";
pub const G_FILE_ATTRIBUTE_STANDARD_ICON: &[u8; 15] = b"standard::icon\0";
pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: &[u8; 24] = b"standard::symbolic-icon\0";
pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: &[u8; 23] = b"standard::content-type\0";
pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: &[u8; 28] = b"standard::fast-content-type\0";
pub const G_FILE_ATTRIBUTE_STANDARD_SIZE: &[u8; 15] = b"standard::size\0";
pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: &[u8; 25] = b"standard::allocated-size\0";
pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: &[u8; 25] = b"standard::symlink-target\0";
pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: &[u8; 21] = b"standard::target-uri\0";
pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: &[u8; 21] = b"standard::sort-order\0";
pub const G_FILE_ATTRIBUTE_ETAG_VALUE: &[u8; 12] = b"etag::value\0";
pub const G_FILE_ATTRIBUTE_ID_FILE: &[u8; 9] = b"id::file\0";
pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM: &[u8; 15] = b"id::filesystem\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ: &[u8; 17] = b"access::can-read\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: &[u8; 18] = b"access::can-write\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &[u8; 20] = b"access::can-execute\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &[u8; 19] = b"access::can-delete\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: &[u8; 18] = b"access::can-trash\0";
pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: &[u8; 19] = b"access::can-rename\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: &[u8; 21] = b"mountable::can-mount\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: &[u8; 23] = b"mountable::can-unmount\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: &[u8; 21] = b"mountable::can-eject\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: &[u8; 23] = b"mountable::unix-device\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: &[u8; 28] = b"mountable::unix-device-file\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: &[u8; 19] = b"mountable::hal-udi\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START: &[u8; 21] = b"mountable::can-start\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: &[u8; 30] =
b"mountable::can-start-degraded\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: &[u8; 20] = b"mountable::can-stop\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: &[u8; 27] = b"mountable::start-stop-type\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: &[u8; 20] = b"mountable::can-poll\0";
pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: &[u8; 36] =
b"mountable::is-media-check-automatic\0";
pub const G_FILE_ATTRIBUTE_TIME_MODIFIED: &[u8; 15] = b"time::modified\0";
pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: &[u8; 20] = b"time::modified-usec\0";
pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC: &[u8; 20] = b"time::modified-nsec\0";
pub const G_FILE_ATTRIBUTE_TIME_ACCESS: &[u8; 13] = b"time::access\0";
pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: &[u8; 18] = b"time::access-usec\0";
pub const G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC: &[u8; 18] = b"time::access-nsec\0";
pub const G_FILE_ATTRIBUTE_TIME_CHANGED: &[u8; 14] = b"time::changed\0";
pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: &[u8; 19] = b"time::changed-usec\0";
pub const G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC: &[u8; 19] = b"time::changed-nsec\0";
pub const G_FILE_ATTRIBUTE_TIME_CREATED: &[u8; 14] = b"time::created\0";
pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC: &[u8; 19] = b"time::created-usec\0";
pub const G_FILE_ATTRIBUTE_TIME_CREATED_NSEC: &[u8; 19] = b"time::created-nsec\0";
pub const G_FILE_ATTRIBUTE_UNIX_DEVICE: &[u8; 13] = b"unix::device\0";
pub const G_FILE_ATTRIBUTE_UNIX_INODE: &[u8; 12] = b"unix::inode\0";
pub const G_FILE_ATTRIBUTE_UNIX_MODE: &[u8; 11] = b"unix::mode\0";
pub const G_FILE_ATTRIBUTE_UNIX_NLINK: &[u8; 12] = b"unix::nlink\0";
pub const G_FILE_ATTRIBUTE_UNIX_UID: &[u8; 10] = b"unix::uid\0";
pub const G_FILE_ATTRIBUTE_UNIX_GID: &[u8; 10] = b"unix::gid\0";
pub const G_FILE_ATTRIBUTE_UNIX_RDEV: &[u8; 11] = b"unix::rdev\0";
pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: &[u8; 17] = b"unix::block-size\0";
pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS: &[u8; 13] = b"unix::blocks\0";
pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: &[u8; 20] = b"unix::is-mountpoint\0";
pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: &[u8; 16] = b"dos::is-archive\0";
pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: &[u8; 15] = b"dos::is-system\0";
pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: &[u8; 19] = b"dos::is-mountpoint\0";
pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: &[u8; 23] = b"dos::reparse-point-tag\0";
pub const G_FILE_ATTRIBUTE_OWNER_USER: &[u8; 12] = b"owner::user\0";
pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL: &[u8; 17] = b"owner::user-real\0";
pub const G_FILE_ATTRIBUTE_OWNER_GROUP: &[u8; 13] = b"owner::group\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH: &[u8; 16] = b"thumbnail::path\0";
pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: &[u8; 18] = b"thumbnail::failed\0";
pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: &[u8; 20] = b"thumbnail::is-valid\0";
pub const G_FILE_ATTRIBUTE_PREVIEW_ICON: &[u8; 14] = b"preview::icon\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: &[u8; 17] = b"filesystem::size\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE: &[u8; 17] = b"filesystem::free\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED: &[u8; 17] = b"filesystem::used\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: &[u8; 17] = b"filesystem::type\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: &[u8; 21] = b"filesystem::readonly\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: &[u8; 24] = b"filesystem::use-preview\0";
pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE: &[u8; 19] = b"filesystem::remote\0";
pub const G_FILE_ATTRIBUTE_GVFS_BACKEND: &[u8; 14] = b"gvfs::backend\0";
pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT: &[u8; 17] = b"selinux::context\0";
pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: &[u8; 18] = b"trash::item-count\0";
pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: &[u8; 17] = b"trash::orig-path\0";
pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: &[u8; 21] = b"trash::deletion-date\0";
pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED: &[u8; 17] = b"recent::modified\0";
pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME: &[u8; 19] = b"gio-memory-monitor\0";
pub const G_MENU_ATTRIBUTE_ACTION: &[u8; 7] = b"action\0";
pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE: &[u8; 17] = b"action-namespace\0";
pub const G_MENU_ATTRIBUTE_TARGET: &[u8; 7] = b"target\0";
pub const G_MENU_ATTRIBUTE_LABEL: &[u8; 6] = b"label\0";
pub const G_MENU_ATTRIBUTE_ICON: &[u8; 5] = b"icon\0";
pub const G_MENU_LINK_SUBMENU: &[u8; 8] = b"submenu\0";
pub const G_MENU_LINK_SECTION: &[u8; 8] = b"section\0";
pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8; 19] = b"gio-volume-monitor\0";
pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: &[u8; 26] = b"gio-native-volume-monitor\0";
pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME: &[u8; 20] = b"gio-network-monitor\0";
pub const G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME: &[u8; 26] = b"gio-power-profile-monitor\0";
pub const G_PROXY_EXTENSION_POINT_NAME: &[u8; 10] = b"gio-proxy\0";
pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME: &[u8; 19] = b"gio-proxy-resolver\0";
pub const G_TLS_BACKEND_EXTENSION_POINT_NAME: &[u8; 16] = b"gio-tls-backend\0";
pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: &[u8; 18] = b"1.3.6.1.5.5.7.3.1\0";
pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: &[u8; 18] = b"1.3.6.1.5.5.7.3.2\0";
pub const G_VFS_EXTENSION_POINT_NAME: &[u8; 8] = b"gio-vfs\0";
pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: &[u8; 12] = b"unix-device\0";
pub const G_VOLUME_IDENTIFIER_KIND_LABEL: &[u8; 6] = b"label\0";
pub const G_VOLUME_IDENTIFIER_KIND_UUID: &[u8; 5] = b"uuid\0";
pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: &[u8; 10] = b"nfs-mount\0";
pub const G_VOLUME_IDENTIFIER_KIND_CLASS: &[u8; 6] = b"class\0";
pub const JSON_MAJOR_VERSION: u32 = 1;
pub const JSON_MINOR_VERSION: u32 = 7;
pub const JSON_MICRO_VERSION: u32 = 1;
pub const JSON_VERSION_S: &[u8; 6] = b"1.7.1\0";
pub type wchar_t = ::std::os::raw::c_int;
#[repr(C)]
#[repr(align(8))]
#[derive(Debug, Copy, Clone)]
pub struct max_align_t {
pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
pub __clang_max_align_nonce2: f64,
}
pub type gint8 = ::std::os::raw::c_schar;
pub type guint8 = ::std::os::raw::c_uchar;
pub type gint16 = ::std::os::raw::c_short;
pub type guint16 = ::std::os::raw::c_ushort;
pub type gint32 = ::std::os::raw::c_int;
pub type guint32 = ::std::os::raw::c_uint;
pub type gint64 = ::std::os::raw::c_long;
pub type guint64 = ::std::os::raw::c_ulong;
pub type gssize = ::std::os::raw::c_long;
pub type gsize = ::std::os::raw::c_ulong;
pub type goffset = gint64;
pub type gintptr = ::std::os::raw::c_long;
pub type guintptr = ::std::os::raw::c_ulong;
pub type GPid = ::std::os::raw::c_int;
pub type __u_char = ::std::os::raw::c_uchar;
pub type __u_short = ::std::os::raw::c_ushort;
pub type __u_int = ::std::os::raw::c_uint;
pub type __u_long = ::std::os::raw::c_ulong;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_longlong;
pub type __uint64_t = ::std::os::raw::c_ulonglong;
pub type __int_least8_t = __int8_t;
pub type __uint_least8_t = __uint8_t;
pub type __int_least16_t = __int16_t;
pub type __uint_least16_t = __uint16_t;
pub type __int_least32_t = __int32_t;
pub type __uint_least32_t = __uint32_t;
pub type __int_least64_t = __int64_t;
pub type __uint_least64_t = __uint64_t;
pub type __quad_t = ::std::os::raw::c_longlong;
pub type __u_quad_t = ::std::os::raw::c_ulonglong;
pub type __intmax_t = ::std::os::raw::c_longlong;
pub type __uintmax_t = ::std::os::raw::c_ulonglong;
pub type __dev_t = __uint64_t;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __ino64_t = __uint64_t;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_uint;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = __int64_t;
pub type __pid_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __fsid_t {
pub __val: [::std::os::raw::c_int; 2usize],
}
pub type __clock_t = ::std::os::raw::c_long;
pub type __rlim_t = ::std::os::raw::c_ulong;
pub type __rlim64_t = __uint64_t;
pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __suseconds64_t = __int64_t;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
pub type __timer_t = *mut ::std::os::raw::c_void;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __blkcnt64_t = __int64_t;
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
pub type __fsblkcnt64_t = __uint64_t;
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt64_t = __uint64_t;
pub type __fsword_t = ::std::os::raw::c_int;
pub type __ssize_t = ::std::os::raw::c_int;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
pub type __loff_t = __off64_t;
pub type __caddr_t = *mut ::std::os::raw::c_char;
pub type __intptr_t = ::std::os::raw::c_int;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type __sig_atomic_t = ::std::os::raw::c_int;
pub type __time64_t = __int64_t;
pub type clock_t = __clock_t;
pub type time_t = __time_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct tm {
pub tm_sec: ::std::os::raw::c_int,
pub tm_min: ::std::os::raw::c_int,
pub tm_hour: ::std::os::raw::c_int,
pub tm_mday: ::std::os::raw::c_int,
pub tm_mon: ::std::os::raw::c_int,
pub tm_year: ::std::os::raw::c_int,
pub tm_wday: ::std::os::raw::c_int,
pub tm_yday: ::std::os::raw::c_int,
pub tm_isdst: ::std::os::raw::c_int,
pub tm_gmtoff: ::std::os::raw::c_long,
pub tm_zone: *const ::std::os::raw::c_char,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct timespec {
pub tv_sec: __time_t,
pub tv_nsec: __syscall_slong_t,
}
pub type clockid_t = __clockid_t;
pub type timer_t = __timer_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct itimerspec {
pub it_interval: timespec,
pub it_value: timespec,
}
pub type pid_t = __pid_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __locale_struct {
pub __locales: [*mut __locale_data; 13usize],
pub __ctype_b: *const ::std::os::raw::c_ushort,
pub __ctype_tolower: *const ::std::os::raw::c_int,
pub __ctype_toupper: *const ::std::os::raw::c_int,
pub __names: [*const ::std::os::raw::c_char; 13usize],
}
pub type __locale_t = *mut __locale_struct;
pub type locale_t = __locale_t;
extern "C" {
pub fn clock() -> clock_t;
}
extern "C" {
pub fn time(__timer: *mut time_t) -> time_t;
}
extern "C" {
pub fn difftime(__time1: time_t, __time0: time_t) -> f64;
}
extern "C" {
pub fn mktime(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn strftime(
__s: *mut ::std::os::raw::c_char,
__maxsize: usize,
__format: *const ::std::os::raw::c_char,
__tp: *const tm,
) -> usize;
}
extern "C" {
pub fn strftime_l(
__s: *mut ::std::os::raw::c_char,
__maxsize: usize,
__format: *const ::std::os::raw::c_char,
__tp: *const tm,
__loc: locale_t,
) -> usize;
}
extern "C" {
pub fn gmtime(__timer: *const time_t) -> *mut tm;
}
extern "C" {
pub fn localtime(__timer: *const time_t) -> *mut tm;
}
extern "C" {
pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
}
extern "C" {
pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
}
extern "C" {
pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn asctime_r(
__tp: *const tm,
__buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ctime_r(
__timer: *const time_t,
__buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize];
}
extern "C" {
pub static mut __daylight: ::std::os::raw::c_int;
}
extern "C" {
pub static mut __timezone: ::std::os::raw::c_long;
}
extern "C" {
pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize];
}
extern "C" {
pub fn tzset();
}
extern "C" {
pub static mut daylight: ::std::os::raw::c_int;
}
extern "C" {
pub static mut timezone: ::std::os::raw::c_long;
}
extern "C" {
pub fn timegm(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn timelocal(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn nanosleep(
__requested_time: *const timespec,
__remaining: *mut timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_nanosleep(
__clock_id: clockid_t,
__flags: ::std::os::raw::c_int,
__req: *const timespec,
__rem: *mut timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_create(
__clock_id: clockid_t,
__evp: *mut sigevent,
__timerid: *mut timer_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_settime(
__timerid: timer_t,
__flags: ::std::os::raw::c_int,
__value: *const itimerspec,
__ovalue: *mut itimerspec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timespec_get(
__ts: *mut timespec,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
pub type gchar = ::std::os::raw::c_char;
pub type gshort = ::std::os::raw::c_short;
pub type glong = ::std::os::raw::c_long;
pub type gint = ::std::os::raw::c_int;
pub type gboolean = gint;
pub type guchar = ::std::os::raw::c_uchar;
pub type gushort = ::std::os::raw::c_ushort;
pub type gulong = ::std::os::raw::c_ulong;
pub type guint = ::std::os::raw::c_uint;
pub type gfloat = f32;
pub type gdouble = f64;
pub type gpointer = *mut ::std::os::raw::c_void;
pub type gconstpointer = *const ::std::os::raw::c_void;
pub type GCompareFunc =
::std::option::Option<unsafe extern "C" fn(a: gconstpointer, b: gconstpointer) -> gint>;
pub type GCompareDataFunc = ::std::option::Option<
unsafe extern "C" fn(a: gconstpointer, b: gconstpointer, user_data: gpointer) -> gint,
>;
pub type GEqualFunc =
::std::option::Option<unsafe extern "C" fn(a: gconstpointer, b: gconstpointer) -> gboolean>;
pub type GEqualFuncFull = ::std::option::Option<
unsafe extern "C" fn(a: gconstpointer, b: gconstpointer, user_data: gpointer) -> gboolean,
>;
pub type GDestroyNotify = ::std::option::Option<unsafe extern "C" fn(data: gpointer)>;
pub type GFunc = ::std::option::Option<unsafe extern "C" fn(data: gpointer, user_data: gpointer)>;
pub type GHashFunc = ::std::option::Option<unsafe extern "C" fn(key: gconstpointer) -> guint>;
pub type GHFunc = ::std::option::Option<
unsafe extern "C" fn(key: gpointer, value: gpointer, user_data: gpointer),
>;
pub type GCopyFunc = ::std::option::Option<
unsafe extern "C" fn(src: gconstpointer, user_data: gpointer) -> gpointer,
>;
pub type GFreeFunc = ::std::option::Option<unsafe extern "C" fn(data: gpointer)>;
pub type GTranslateFunc = ::std::option::Option<
unsafe extern "C" fn(str_: *const gchar, user_data: gpointer) -> *const gchar,
>;
pub type GDoubleIEEE754 = _GDoubleIEEE754;
pub type GFloatIEEE754 = _GFloatIEEE754;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _GFloatIEEE754 {
pub v_float: gfloat,
pub mpn: _GFloatIEEE754__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFloatIEEE754__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
}
impl _GFloatIEEE754__bindgen_ty_1 {
#[inline]
pub fn mantissa(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 23u8) as u32) }
}
#[inline]
pub fn set_mantissa(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 23u8, val as u64)
}
}
#[inline]
pub fn biased_exponent(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(23usize, 8u8) as u32) }
}
#[inline]
pub fn set_biased_exponent(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(23usize, 8u8, val as u64)
}
}
#[inline]
pub fn sign(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(31usize, 1u8) as u32) }
}
#[inline]
pub fn set_sign(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(31usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
mantissa: guint,
biased_exponent: guint,
sign: guint,
) -> __BindgenBitfieldUnit<[u8; 4usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 23u8, {
let mantissa: u32 = unsafe { ::std::mem::transmute(mantissa) };
mantissa as u64
});
__bindgen_bitfield_unit.set(23usize, 8u8, {
let biased_exponent: u32 = unsafe { ::std::mem::transmute(biased_exponent) };
biased_exponent as u64
});
__bindgen_bitfield_unit.set(31usize, 1u8, {
let sign: u32 = unsafe { ::std::mem::transmute(sign) };
sign as u64
});
__bindgen_bitfield_unit
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _GDoubleIEEE754 {
pub v_double: gdouble,
pub mpn: _GDoubleIEEE754__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDoubleIEEE754__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
impl _GDoubleIEEE754__bindgen_ty_1 {
#[inline]
pub fn mantissa_low(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 32u8) as u32) }
}
#[inline]
pub fn set_mantissa_low(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 32u8, val as u64)
}
}
#[inline]
pub fn mantissa_high(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 20u8) as u32) }
}
#[inline]
pub fn set_mantissa_high(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(32usize, 20u8, val as u64)
}
}
#[inline]
pub fn biased_exponent(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(52usize, 11u8) as u32) }
}
#[inline]
pub fn set_biased_exponent(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(52usize, 11u8, val as u64)
}
}
#[inline]
pub fn sign(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(63usize, 1u8) as u32) }
}
#[inline]
pub fn set_sign(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(63usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
mantissa_low: guint,
mantissa_high: guint,
biased_exponent: guint,
sign: guint,
) -> __BindgenBitfieldUnit<[u8; 8usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 32u8, {
let mantissa_low: u32 = unsafe { ::std::mem::transmute(mantissa_low) };
mantissa_low as u64
});
__bindgen_bitfield_unit.set(32usize, 20u8, {
let mantissa_high: u32 = unsafe { ::std::mem::transmute(mantissa_high) };
mantissa_high as u64
});
__bindgen_bitfield_unit.set(52usize, 11u8, {
let biased_exponent: u32 = unsafe { ::std::mem::transmute(biased_exponent) };
biased_exponent as u64
});
__bindgen_bitfield_unit.set(63usize, 1u8, {
let sign: u32 = unsafe { ::std::mem::transmute(sign) };
sign as u64
});
__bindgen_bitfield_unit
}
}
pub type GTimeVal = _GTimeVal;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTimeVal {
pub tv_sec: glong,
pub tv_usec: glong,
}
pub type grefcount = gint;
pub type gatomicrefcount = gint;
extern "C" {
pub fn memcpy(
__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memmove(
__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memccpy(
__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memset(
__s: *mut ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memcmp(
__s1: *const ::std::os::raw::c_void,
__s2: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_uint,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __memcmpeq(
__s1: *const ::std::os::raw::c_void,
__s2: *const ::std::os::raw::c_void,
__n: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn memchr(
__s: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn strcpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strncpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcat(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strncat(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strncmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_uint,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strcoll(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strxfrm(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_uint,
) -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn strcoll_l(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__l: locale_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strxfrm_l(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: usize,
__l: locale_t,
) -> usize;
}
extern "C" {
pub fn strdup(__s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strndup(
__string: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strchr(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strrchr(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcspn(
__s: *const ::std::os::raw::c_char,
__reject: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn strspn(
__s: *const ::std::os::raw::c_char,
__accept: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn strpbrk(
__s: *const ::std::os::raw::c_char,
__accept: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strstr(
__haystack: *const ::std::os::raw::c_char,
__needle: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strtok(
__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __strtok_r(
__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
__save_ptr: *mut *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strtok_r(
__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
__save_ptr: *mut *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn strnlen(__string: *const ::std::os::raw::c_char, __maxlen: usize) -> usize;
}
extern "C" {
pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}__xpg_strerror_r"]
pub fn strerror_r(
__errnum: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strerror_l(
__errnum: ::std::os::raw::c_int,
__l: locale_t,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn bcmp(
__s1: *const ::std::os::raw::c_void,
__s2: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_uint,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn bcopy(
__src: *const ::std::os::raw::c_void,
__dest: *mut ::std::os::raw::c_void,
__n: usize,
);
}
extern "C" {
pub fn bzero(__s: *mut ::std::os::raw::c_void, __n: ::std::os::raw::c_uint);
}
extern "C" {
pub fn index(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn rindex(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ffs(__i: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ffsl(__l: ::std::os::raw::c_long) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ffsll(__ll: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strcasecmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strncasecmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_uint,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strcasecmp_l(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__loc: locale_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strncasecmp_l(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: usize,
__loc: locale_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn explicit_bzero(__s: *mut ::std::os::raw::c_void, __n: usize);
}
extern "C" {
pub fn strsep(
__stringp: *mut *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __stpcpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn stpcpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __stpncpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn stpncpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBytes {
_unused: [u8; 0],
}
pub type GBytes = _GBytes;
pub type GArray = _GArray;
pub type GByteArray = _GByteArray;
pub type GPtrArray = _GPtrArray;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GArray {
pub data: *mut gchar,
pub len: guint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GByteArray {
pub data: *mut guint8,
pub len: guint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPtrArray {
pub pdata: *mut gpointer,
pub len: guint,
}
extern "C" {
pub fn _frida_g_array_new(
zero_terminated: gboolean,
clear_: gboolean,
element_size: guint,
) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_steal(array: *mut GArray, len: *mut gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_array_sized_new(
zero_terminated: gboolean,
clear_: gboolean,
element_size: guint,
reserved_size: guint,
) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_copy(array: *mut GArray) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_free(array: *mut GArray, free_segment: gboolean) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_array_ref(array: *mut GArray) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_unref(array: *mut GArray);
}
extern "C" {
pub fn _frida_g_array_get_element_size(array: *mut GArray) -> guint;
}
extern "C" {
pub fn _frida_g_array_append_vals(
array: *mut GArray,
data: gconstpointer,
len: guint,
) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_prepend_vals(
array: *mut GArray,
data: gconstpointer,
len: guint,
) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_insert_vals(
array: *mut GArray,
index_: guint,
data: gconstpointer,
len: guint,
) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_set_size(array: *mut GArray, length: guint) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_remove_index(array: *mut GArray, index_: guint) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_remove_index_fast(array: *mut GArray, index_: guint) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_remove_range(
array: *mut GArray,
index_: guint,
length: guint,
) -> *mut GArray;
}
extern "C" {
pub fn _frida_g_array_sort(array: *mut GArray, compare_func: GCompareFunc);
}
extern "C" {
pub fn _frida_g_array_sort_with_data(
array: *mut GArray,
compare_func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_array_binary_search(
array: *mut GArray,
target: gconstpointer,
compare_func: GCompareFunc,
out_match_index: *mut guint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_array_set_clear_func(array: *mut GArray, clear_func: GDestroyNotify);
}
extern "C" {
pub fn _frida_g_ptr_array_new() -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_ptr_array_new_with_free_func(
element_free_func: GDestroyNotify,
) -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_ptr_array_steal(array: *mut GPtrArray, len: *mut gsize) -> *mut gpointer;
}
extern "C" {
pub fn _frida_g_ptr_array_copy(
array: *mut GPtrArray,
func: GCopyFunc,
user_data: gpointer,
) -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_ptr_array_sized_new(reserved_size: guint) -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_ptr_array_new_full(
reserved_size: guint,
element_free_func: GDestroyNotify,
) -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_ptr_array_new_null_terminated(
reserved_size: guint,
element_free_func: GDestroyNotify,
null_terminated: gboolean,
) -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_ptr_array_free(array: *mut GPtrArray, free_seg: gboolean) -> *mut gpointer;
}
extern "C" {
pub fn _frida_g_ptr_array_ref(array: *mut GPtrArray) -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_ptr_array_unref(array: *mut GPtrArray);
}
extern "C" {
pub fn _frida_g_ptr_array_set_free_func(
array: *mut GPtrArray,
element_free_func: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_ptr_array_set_size(array: *mut GPtrArray, length: gint);
}
extern "C" {
pub fn _frida_g_ptr_array_remove_index(array: *mut GPtrArray, index_: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_ptr_array_remove_index_fast(array: *mut GPtrArray, index_: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_ptr_array_steal_index(array: *mut GPtrArray, index_: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_ptr_array_steal_index_fast(array: *mut GPtrArray, index_: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_ptr_array_remove(array: *mut GPtrArray, data: gpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_ptr_array_remove_fast(array: *mut GPtrArray, data: gpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_ptr_array_remove_range(
array: *mut GPtrArray,
index_: guint,
length: guint,
) -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_ptr_array_add(array: *mut GPtrArray, data: gpointer);
}
extern "C" {
pub fn _frida_g_ptr_array_extend(
array_to_extend: *mut GPtrArray,
array: *mut GPtrArray,
func: GCopyFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_ptr_array_extend_and_steal(
array_to_extend: *mut GPtrArray,
array: *mut GPtrArray,
);
}
extern "C" {
pub fn _frida_g_ptr_array_insert(array: *mut GPtrArray, index_: gint, data: gpointer);
}
extern "C" {
pub fn _frida_g_ptr_array_sort(array: *mut GPtrArray, compare_func: GCompareFunc);
}
extern "C" {
pub fn _frida_g_ptr_array_sort_with_data(
array: *mut GPtrArray,
compare_func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_ptr_array_foreach(array: *mut GPtrArray, func: GFunc, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_ptr_array_find(
haystack: *mut GPtrArray,
needle: gconstpointer,
index_: *mut guint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_ptr_array_find_with_equal_func(
haystack: *mut GPtrArray,
needle: gconstpointer,
equal_func: GEqualFunc,
index_: *mut guint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_ptr_array_is_null_terminated(array: *mut GPtrArray) -> gboolean;
}
extern "C" {
pub fn _frida_g_byte_array_new() -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_new_take(data: *mut guint8, len: gsize) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_steal(array: *mut GByteArray, len: *mut gsize) -> *mut guint8;
}
extern "C" {
pub fn _frida_g_byte_array_sized_new(reserved_size: guint) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_free(array: *mut GByteArray, free_segment: gboolean) -> *mut guint8;
}
extern "C" {
pub fn _frida_g_byte_array_free_to_bytes(array: *mut GByteArray) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_byte_array_ref(array: *mut GByteArray) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_unref(array: *mut GByteArray);
}
extern "C" {
pub fn _frida_g_byte_array_append(
array: *mut GByteArray,
data: *const guint8,
len: guint,
) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_prepend(
array: *mut GByteArray,
data: *const guint8,
len: guint,
) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_set_size(array: *mut GByteArray, length: guint) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_remove_index(
array: *mut GByteArray,
index_: guint,
) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_remove_index_fast(
array: *mut GByteArray,
index_: guint,
) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_remove_range(
array: *mut GByteArray,
index_: guint,
length: guint,
) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_byte_array_sort(array: *mut GByteArray, compare_func: GCompareFunc);
}
extern "C" {
pub fn _frida_g_byte_array_sort_with_data(
array: *mut GByteArray,
compare_func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_atomic_int_get(atomic: *const gint) -> gint;
}
extern "C" {
pub fn _frida_g_atomic_int_set(atomic: *mut gint, newval: gint);
}
extern "C" {
pub fn _frida_g_atomic_int_inc(atomic: *mut gint);
}
extern "C" {
pub fn _frida_g_atomic_int_dec_and_test(atomic: *mut gint) -> gboolean;
}
extern "C" {
pub fn _frida_g_atomic_int_compare_and_exchange(
atomic: *mut gint,
oldval: gint,
newval: gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_atomic_int_compare_and_exchange_full(
atomic: *mut gint,
oldval: gint,
newval: gint,
preval: *mut gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_atomic_int_exchange(atomic: *mut gint, newval: gint) -> gint;
}
extern "C" {
pub fn _frida_g_atomic_int_add(atomic: *mut gint, val: gint) -> gint;
}
extern "C" {
pub fn _frida_g_atomic_int_and(atomic: *mut guint, val: guint) -> guint;
}
extern "C" {
pub fn _frida_g_atomic_int_or(atomic: *mut guint, val: guint) -> guint;
}
extern "C" {
pub fn _frida_g_atomic_int_xor(atomic: *mut guint, val: guint) -> guint;
}
extern "C" {
pub fn _frida_g_atomic_pointer_get(atomic: *const ::std::os::raw::c_void) -> gpointer;
}
extern "C" {
pub fn _frida_g_atomic_pointer_set(atomic: *mut ::std::os::raw::c_void, newval: gpointer);
}
extern "C" {
pub fn _frida_g_atomic_pointer_compare_and_exchange(
atomic: *mut ::std::os::raw::c_void,
oldval: gpointer,
newval: gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_atomic_pointer_compare_and_exchange_full(
atomic: *mut ::std::os::raw::c_void,
oldval: gpointer,
newval: gpointer,
preval: *mut ::std::os::raw::c_void,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_atomic_pointer_exchange(
atomic: *mut ::std::os::raw::c_void,
newval: gpointer,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_atomic_pointer_add(atomic: *mut ::std::os::raw::c_void, val: gssize) -> gssize;
}
extern "C" {
pub fn _frida_g_atomic_pointer_and(atomic: *mut ::std::os::raw::c_void, val: gsize) -> gsize;
}
extern "C" {
pub fn _frida_g_atomic_pointer_or(atomic: *mut ::std::os::raw::c_void, val: gsize) -> gsize;
}
extern "C" {
pub fn _frida_g_atomic_pointer_xor(atomic: *mut ::std::os::raw::c_void, val: gsize) -> gsize;
}
extern "C" {
pub fn _frida_g_atomic_int_exchange_and_add(atomic: *mut gint, val: gint) -> gint;
}
pub type va_list = __builtin_va_list;
pub type __gnuc_va_list = __builtin_va_list;
pub type GQuark = guint32;
extern "C" {
pub fn _frida_g_quark_try_string(string: *const gchar) -> GQuark;
}
extern "C" {
pub fn _frida_g_quark_from_static_string(string: *const gchar) -> GQuark;
}
extern "C" {
pub fn _frida_g_quark_from_string(string: *const gchar) -> GQuark;
}
extern "C" {
pub fn _frida_g_quark_to_string(quark: GQuark) -> *const gchar;
}
extern "C" {
pub fn _frida_g_intern_string(string: *const gchar) -> *const gchar;
}
extern "C" {
pub fn _frida_g_intern_static_string(string: *const gchar) -> *const gchar;
}
pub type GError = _GError;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GError {
pub domain: GQuark,
pub code: gint,
pub message: *mut gchar,
}
pub type GErrorInitFunc = ::std::option::Option<unsafe extern "C" fn(error: *mut GError)>;
pub type GErrorCopyFunc =
::std::option::Option<unsafe extern "C" fn(src_error: *const GError, dest_error: *mut GError)>;
pub type GErrorClearFunc = ::std::option::Option<unsafe extern "C" fn(error: *mut GError)>;
extern "C" {
pub fn _frida_g_error_domain_register_static(
error_type_name: *const ::std::os::raw::c_char,
error_type_private_size: gsize,
error_type_init: GErrorInitFunc,
error_type_copy: GErrorCopyFunc,
error_type_clear: GErrorClearFunc,
) -> GQuark;
}
extern "C" {
pub fn _frida_g_error_domain_register(
error_type_name: *const ::std::os::raw::c_char,
error_type_private_size: gsize,
error_type_init: GErrorInitFunc,
error_type_copy: GErrorCopyFunc,
error_type_clear: GErrorClearFunc,
) -> GQuark;
}
extern "C" {
pub fn _frida_g_error_new(domain: GQuark, code: gint, format: *const gchar, ...)
-> *mut GError;
}
extern "C" {
pub fn _frida_g_error_new_literal(
domain: GQuark,
code: gint,
message: *const gchar,
) -> *mut GError;
}
extern "C" {
pub fn _frida_g_error_new_valist(
domain: GQuark,
code: gint,
format: *const gchar,
args: va_list,
) -> *mut GError;
}
extern "C" {
pub fn _frida_g_error_free(error: *mut GError);
}
extern "C" {
pub fn _frida_g_error_copy(error: *const GError) -> *mut GError;
}
extern "C" {
pub fn _frida_g_error_matches(error: *const GError, domain: GQuark, code: gint) -> gboolean;
}
extern "C" {
pub fn _frida_g_set_error(
err: *mut *mut GError,
domain: GQuark,
code: gint,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_set_error_literal(
err: *mut *mut GError,
domain: GQuark,
code: gint,
message: *const gchar,
);
}
extern "C" {
pub fn _frida_g_propagate_error(dest: *mut *mut GError, src: *mut GError);
}
extern "C" {
pub fn _frida_g_clear_error(err: *mut *mut GError);
}
extern "C" {
pub fn _frida_g_prefix_error(err: *mut *mut GError, format: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_prefix_error_literal(err: *mut *mut GError, prefix: *const gchar);
}
extern "C" {
pub fn _frida_g_propagate_prefixed_error(
dest: *mut *mut GError,
src: *mut GError,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_get_user_name() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_real_name() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_home_dir() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_tmp_dir() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_host_name() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_prgname() -> *const gchar;
}
extern "C" {
pub fn _frida_g_set_prgname(prgname: *const gchar);
}
extern "C" {
pub fn _frida_g_get_application_name() -> *const gchar;
}
extern "C" {
pub fn _frida_g_set_application_name(application_name: *const gchar);
}
extern "C" {
pub fn _frida_g_get_os_info(key_name: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_reload_user_special_dirs_cache();
}
extern "C" {
pub fn _frida_g_get_user_data_dir() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_user_config_dir() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_user_cache_dir() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_user_state_dir() -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_system_data_dirs() -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_get_system_config_dirs() -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_get_user_runtime_dir() -> *const gchar;
}
pub const GUserDirectory_G_USER_DIRECTORY_DESKTOP: GUserDirectory = 0;
pub const GUserDirectory_G_USER_DIRECTORY_DOCUMENTS: GUserDirectory = 1;
pub const GUserDirectory_G_USER_DIRECTORY_DOWNLOAD: GUserDirectory = 2;
pub const GUserDirectory_G_USER_DIRECTORY_MUSIC: GUserDirectory = 3;
pub const GUserDirectory_G_USER_DIRECTORY_PICTURES: GUserDirectory = 4;
pub const GUserDirectory_G_USER_DIRECTORY_PUBLIC_SHARE: GUserDirectory = 5;
pub const GUserDirectory_G_USER_DIRECTORY_TEMPLATES: GUserDirectory = 6;
pub const GUserDirectory_G_USER_DIRECTORY_VIDEOS: GUserDirectory = 7;
pub const GUserDirectory_G_USER_N_DIRECTORIES: GUserDirectory = 8;
pub type GUserDirectory = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_get_user_special_dir(directory: GUserDirectory) -> *const gchar;
}
pub type GDebugKey = _GDebugKey;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDebugKey {
pub key: *const gchar,
pub value: guint,
}
extern "C" {
pub fn _frida_g_parse_debug_string(
string: *const gchar,
keys: *const GDebugKey,
nkeys: guint,
) -> guint;
}
extern "C" {
pub fn _frida_g_snprintf(string: *mut gchar, n: gulong, format: *const gchar, ...) -> gint;
}
extern "C" {
pub fn _frida_g_vsnprintf(
string: *mut gchar,
n: gulong,
format: *const gchar,
args: va_list,
) -> gint;
}
extern "C" {
pub fn _frida_g_nullify_pointer(nullify_location: *mut gpointer);
}
pub const GFormatSizeFlags_G_FORMAT_SIZE_DEFAULT: GFormatSizeFlags = 0;
pub const GFormatSizeFlags_G_FORMAT_SIZE_LONG_FORMAT: GFormatSizeFlags = 1;
pub const GFormatSizeFlags_G_FORMAT_SIZE_IEC_UNITS: GFormatSizeFlags = 2;
pub const GFormatSizeFlags_G_FORMAT_SIZE_BITS: GFormatSizeFlags = 4;
pub const GFormatSizeFlags_G_FORMAT_SIZE_ONLY_VALUE: GFormatSizeFlags = 8;
pub const GFormatSizeFlags_G_FORMAT_SIZE_ONLY_UNIT: GFormatSizeFlags = 16;
pub type GFormatSizeFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_format_size_full(size: guint64, flags: GFormatSizeFlags) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_format_size(size: guint64) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_format_size_for_display(size: goffset) -> *mut gchar;
}
pub type GVoidFunc = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub fn _frida_g_atexit(func: GVoidFunc);
}
extern "C" {
pub fn _frida_g_find_program_in_path(program: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn g_bit_nth_lsf(mask: gulong, nth_bit: gint) -> gint;
}
extern "C" {
pub fn g_bit_nth_msf(mask: gulong, nth_bit: gint) -> gint;
}
extern "C" {
pub fn g_bit_storage(number: gulong) -> guint;
}
pub type _Float32 = f32;
pub type _Float64 = f64;
pub type _Float32x = f64;
pub type _Float64x = f64;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct div_t {
pub quot: ::std::os::raw::c_int,
pub rem: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ldiv_t {
pub quot: ::std::os::raw::c_long,
pub rem: ::std::os::raw::c_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lldiv_t {
pub quot: ::std::os::raw::c_longlong,
pub rem: ::std::os::raw::c_longlong,
}
extern "C" {
pub fn __ctype_get_mb_cur_max() -> usize;
}
extern "C" {
pub fn atof(__nptr: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn atoi(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn atol(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn atoll(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtod(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn strtof(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
) -> f32;
}
extern "C" {
pub fn strtold(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn strtol(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn strtoul(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strtoq(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtouq(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulonglong;
}
extern "C" {
pub fn strtoll(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtoull(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulonglong;
}
extern "C" {
pub fn l64a(__n: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn a64l(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
}
pub type u_char = __u_char;
pub type u_short = __u_short;
pub type u_int = __u_int;
pub type u_long = __u_long;
pub type quad_t = __quad_t;
pub type u_quad_t = __u_quad_t;
pub type fsid_t = __fsid_t;
pub type loff_t = __loff_t;
pub type ino_t = __ino_t;
pub type dev_t = __dev_t;
pub type gid_t = __gid_t;
pub type mode_t = __mode_t;
pub type nlink_t = __nlink_t;
pub type uid_t = __uid_t;
pub type off_t = __off_t;
pub type id_t = __id_t;
pub type daddr_t = __daddr_t;
pub type caddr_t = __caddr_t;
pub type key_t = __key_t;
pub type ulong = ::std::os::raw::c_ulong;
pub type ushort = ::std::os::raw::c_ushort;
pub type uint = ::std::os::raw::c_uint;
pub type u_int8_t = __uint8_t;
pub type u_int16_t = __uint16_t;
pub type u_int32_t = __uint32_t;
pub type u_int64_t = __uint64_t;
pub type register_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __sigset_t {
pub __val: [::std::os::raw::c_ulong; 32usize],
}
pub type sigset_t = __sigset_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct timeval {
pub tv_sec: __time_t,
pub tv_usec: __suseconds_t,
}
pub type suseconds_t = __suseconds_t;
pub type __fd_mask = ::std::os::raw::c_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct fd_set {
pub __fds_bits: [__fd_mask; 32usize],
}
pub type fd_mask = __fd_mask;
extern "C" {
pub fn select(
__nfds: ::std::os::raw::c_int,
__readfds: *mut fd_set,
__writefds: *mut fd_set,
__exceptfds: *mut fd_set,
__timeout: *mut timeval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pselect(
__nfds: ::std::os::raw::c_int,
__readfds: *mut fd_set,
__writefds: *mut fd_set,
__exceptfds: *mut fd_set,
__timeout: *const timespec,
__sigmask: *const __sigset_t,
) -> ::std::os::raw::c_int;
}
pub type blksize_t = __blksize_t;
pub type blkcnt_t = __blkcnt_t;
pub type fsblkcnt_t = __fsblkcnt_t;
pub type fsfilcnt_t = __fsfilcnt_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub union __atomic_wide_counter {
pub __value64: ::std::os::raw::c_ulonglong,
pub __value32: __atomic_wide_counter__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __atomic_wide_counter__bindgen_ty_1 {
pub __low: ::std::os::raw::c_uint,
pub __high: ::std::os::raw::c_uint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_internal_list {
pub __prev: *mut __pthread_internal_list,
pub __next: *mut __pthread_internal_list,
}
pub type __pthread_list_t = __pthread_internal_list;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_internal_slist {
pub __next: *mut __pthread_internal_slist,
}
pub type __pthread_slist_t = __pthread_internal_slist;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct __pthread_mutex_s {
pub __lock: ::std::os::raw::c_int,
pub __count: ::std::os::raw::c_uint,
pub __owner: ::std::os::raw::c_int,
pub __kind: ::std::os::raw::c_int,
pub __nusers: ::std::os::raw::c_uint,
pub __bindgen_anon_1: __pthread_mutex_s__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union __pthread_mutex_s__bindgen_ty_1 {
pub __elision_data: __pthread_mutex_s__bindgen_ty_1__bindgen_ty_1,
pub __list: __pthread_slist_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_mutex_s__bindgen_ty_1__bindgen_ty_1 {
pub __espins: ::std::os::raw::c_short,
pub __eelision: ::std::os::raw::c_short,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_rwlock_arch_t {
pub __readers: ::std::os::raw::c_uint,
pub __writers: ::std::os::raw::c_uint,
pub __wrphase_futex: ::std::os::raw::c_uint,
pub __writers_futex: ::std::os::raw::c_uint,
pub __pad3: ::std::os::raw::c_uint,
pub __pad4: ::std::os::raw::c_uint,
pub __flags: ::std::os::raw::c_uchar,
pub __shared: ::std::os::raw::c_uchar,
pub __rwelision: ::std::os::raw::c_schar,
pub __pad2: ::std::os::raw::c_uchar,
pub __cur_writer: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct __pthread_cond_s {
pub __wseq: __atomic_wide_counter,
pub __g1_start: __atomic_wide_counter,
pub __g_refs: [::std::os::raw::c_uint; 2usize],
pub __g_size: [::std::os::raw::c_uint; 2usize],
pub __g1_orig_size: ::std::os::raw::c_uint,
pub __wrefs: ::std::os::raw::c_uint,
pub __g_signals: [::std::os::raw::c_uint; 2usize],
}
pub type __tss_t = ::std::os::raw::c_uint;
pub type __thrd_t = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __once_flag {
pub __data: ::std::os::raw::c_int,
}
pub type pthread_t = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_mutexattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_condattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
}
pub type pthread_key_t = ::std::os::raw::c_uint;
pub type pthread_once_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_attr_t {
pub __size: [::std::os::raw::c_char; 36usize],
pub __align: ::std::os::raw::c_long,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_mutex_t {
pub __data: __pthread_mutex_s,
pub __size: [::std::os::raw::c_char; 24usize],
pub __align: ::std::os::raw::c_long,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_cond_t {
pub __data: __pthread_cond_s,
pub __size: [::std::os::raw::c_char; 48usize],
pub __align: ::std::os::raw::c_longlong,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_rwlock_t {
pub __data: __pthread_rwlock_arch_t,
pub __size: [::std::os::raw::c_char; 32usize],
pub __align: ::std::os::raw::c_long,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_rwlockattr_t {
pub __size: [::std::os::raw::c_char; 8usize],
pub __align: ::std::os::raw::c_long,
}
pub type pthread_spinlock_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_barrier_t {
pub __size: [::std::os::raw::c_char; 20usize],
pub __align: ::std::os::raw::c_long,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_barrierattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
}
extern "C" {
pub fn random() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn srandom(__seed: ::std::os::raw::c_uint);
}
extern "C" {
pub fn initstate(
__seed: ::std::os::raw::c_uint,
__statebuf: *mut ::std::os::raw::c_char,
__statelen: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn setstate(__statebuf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct random_data {
pub fptr: *mut i32,
pub rptr: *mut i32,
pub state: *mut i32,
pub rand_type: ::std::os::raw::c_int,
pub rand_deg: ::std::os::raw::c_int,
pub rand_sep: ::std::os::raw::c_int,
pub end_ptr: *mut i32,
}
extern "C" {
pub fn random_r(__buf: *mut random_data, __result: *mut i32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn srandom_r(
__seed: ::std::os::raw::c_uint,
__buf: *mut random_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn initstate_r(
__seed: ::std::os::raw::c_uint,
__statebuf: *mut ::std::os::raw::c_char,
__statelen: usize,
__buf: *mut random_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setstate_r(
__statebuf: *mut ::std::os::raw::c_char,
__buf: *mut random_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rand() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn srand(__seed: ::std::os::raw::c_uint);
}
extern "C" {
pub fn rand_r(__seed: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn drand48() -> f64;
}
extern "C" {
pub fn erand48(__xsubi: *mut ::std::os::raw::c_ushort) -> f64;
}
extern "C" {
pub fn lrand48() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn nrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn mrand48() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn jrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn srand48(__seedval: ::std::os::raw::c_long);
}
extern "C" {
pub fn seed48(__seed16v: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort;
}
extern "C" {
pub fn lcong48(__param: *mut ::std::os::raw::c_ushort);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct drand48_data {
pub __x: [::std::os::raw::c_ushort; 3usize],
pub __old_x: [::std::os::raw::c_ushort; 3usize],
pub __c: ::std::os::raw::c_ushort,
pub __init: ::std::os::raw::c_ushort,
pub __a: ::std::os::raw::c_ulonglong,
}
extern "C" {
pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn erand48_r(
__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
__result: *mut f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lrand48_r(
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn nrand48_r(
__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mrand48_r(
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jrand48_r(
__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn srand48_r(
__seedval: ::std::os::raw::c_long,
__buffer: *mut drand48_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn seed48_r(
__seed16v: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lcong48_r(
__param: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn malloc(__size: ::std::os::raw::c_uint) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn calloc(
__nmemb: ::std::os::raw::c_uint,
__size: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn realloc(
__ptr: *mut ::std::os::raw::c_void,
__size: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn free(__ptr: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn reallocarray(
__ptr: *mut ::std::os::raw::c_void,
__nmemb: usize,
__size: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn alloca(__size: ::std::os::raw::c_uint) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn posix_memalign(
__memptr: *mut *mut ::std::os::raw::c_void,
__alignment: usize,
__size: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn aligned_alloc(
__alignment: ::std::os::raw::c_uint,
__size: ::std::os::raw::c_uint,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn abort() -> !;
}
extern "C" {
pub fn atexit(__func: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn at_quick_exit(
__func: ::std::option::Option<unsafe extern "C" fn()>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn on_exit(
__func: ::std::option::Option<
unsafe extern "C" fn(
__status: ::std::os::raw::c_int,
__arg: *mut ::std::os::raw::c_void,
),
>,
__arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn exit(__status: ::std::os::raw::c_int) -> !;
}
extern "C" {
pub fn quick_exit(__status: ::std::os::raw::c_int) -> !;
}
extern "C" {
pub fn _Exit(__status: ::std::os::raw::c_int) -> !;
}
extern "C" {
pub fn getenv(__name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn putenv(__string: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setenv(
__name: *const ::std::os::raw::c_char,
__value: *const ::std::os::raw::c_char,
__replace: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn unsetenv(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clearenv() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mktemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn mkstemp(__template: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkstemps(
__template: *mut ::std::os::raw::c_char,
__suffixlen: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkdtemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn system(__command: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn realpath(
__name: *const ::std::os::raw::c_char,
__resolved: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
pub type __compar_fn_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *const ::std::os::raw::c_void,
arg2: *const ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>;
extern "C" {
pub fn bsearch(
__key: *const ::std::os::raw::c_void,
__base: *const ::std::os::raw::c_void,
__nmemb: usize,
__size: usize,
__compar: __compar_fn_t,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn qsort(
__base: *mut ::std::os::raw::c_void,
__nmemb: usize,
__size: usize,
__compar: __compar_fn_t,
);
}
extern "C" {
pub fn abs(__x: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn labs(__x: ::std::os::raw::c_long) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llabs(__x: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn div(__numer: ::std::os::raw::c_int, __denom: ::std::os::raw::c_int) -> div_t;
}
extern "C" {
pub fn ldiv(__numer: ::std::os::raw::c_long, __denom: ::std::os::raw::c_long) -> ldiv_t;
}
extern "C" {
pub fn lldiv(
__numer: ::std::os::raw::c_longlong,
__denom: ::std::os::raw::c_longlong,
) -> lldiv_t;
}
extern "C" {
pub fn ecvt(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn fcvt(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn gcvt(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn qecvt(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn qfcvt(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn qgcvt(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ecvt_r(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fcvt_r(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn qecvt_r(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn qfcvt_r(
__value: f64,
__ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mbtowc(
__pwc: *mut wchar_t,
__s: *const ::std::os::raw::c_char,
__n: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn wctomb(__s: *mut ::std::os::raw::c_char, __wchar: wchar_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::std::os::raw::c_char, __n: usize) -> usize;
}
extern "C" {
pub fn wcstombs(__s: *mut ::std::os::raw::c_char, __pwcs: *const wchar_t, __n: usize) -> usize;
}
extern "C" {
pub fn rpmatch(__response: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getsubopt(
__optionp: *mut *mut ::std::os::raw::c_char,
__tokens: *const *mut ::std::os::raw::c_char,
__valuep: *mut *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getloadavg(__loadavg: *mut f64, __nelem: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_thread_error_quark() -> GQuark;
}
pub const GThreadError_G_THREAD_ERROR_AGAIN: GThreadError = 0;
pub type GThreadError = ::std::os::raw::c_uint;
pub type GThreadFunc = ::std::option::Option<unsafe extern "C" fn(user_data: gpointer) -> gpointer>;
pub type GThreadGarbageHandler = ::std::option::Option<unsafe extern "C" fn(data: gpointer)>;
pub type GThreadCallbacks = _GThreadCallbacks;
pub type GThread = _GThread;
pub type GMutex = _GMutex;
pub type GRecMutex = _GRecMutex;
pub type GRWLock = _GRWLock;
pub type GCond = _GCond;
pub type GPrivate = _GPrivate;
pub type GOnce = _GOnce;
pub const GPrivateFlags_G_PRIVATE_DESTROY_LATE: GPrivateFlags = 1;
pub const GPrivateFlags_G_PRIVATE_DESTROY_LAST: GPrivateFlags = 2;
pub type GPrivateFlags = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThreadCallbacks {
pub on_thread_init: ::std::option::Option<unsafe extern "C" fn()>,
pub on_thread_realize: ::std::option::Option<unsafe extern "C" fn()>,
pub on_thread_dispose: ::std::option::Option<unsafe extern "C" fn()>,
pub on_thread_finalize: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _GMutex {
pub p: gpointer,
pub i: [guint; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GRWLock {
pub p: gpointer,
pub i: [guint; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCond {
pub p: gpointer,
pub i: [guint; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GRecMutex {
pub p: gpointer,
pub i: [guint; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPrivate {
pub p: gpointer,
pub notify: GDestroyNotify,
pub flags: GPrivateFlags,
pub future: [gpointer; 1usize],
}
pub const GOnceStatus_G_ONCE_STATUS_NOTCALLED: GOnceStatus = 0;
pub const GOnceStatus_G_ONCE_STATUS_PROGRESS: GOnceStatus = 1;
pub const GOnceStatus_G_ONCE_STATUS_READY: GOnceStatus = 2;
pub type GOnceStatus = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOnce {
pub status: GOnceStatus,
pub retval: gpointer,
}
extern "C" {
pub static mut _frida_glib_thread_callbacks: *mut GThreadCallbacks;
}
extern "C" {
pub fn _frida_g_thread_set_callbacks(callbacks: *mut GThreadCallbacks);
}
extern "C" {
pub fn _frida_g_thread_set_garbage_handler(handler: GThreadGarbageHandler, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_thread_garbage_collect() -> gboolean;
}
extern "C" {
pub fn _frida_g_thread_ref(thread: *mut GThread) -> *mut GThread;
}
extern "C" {
pub fn _frida_g_thread_unref(thread: *mut GThread);
}
extern "C" {
pub fn _frida_g_thread_new(
name: *const gchar,
func: GThreadFunc,
data: gpointer,
) -> *mut GThread;
}
extern "C" {
pub fn _frida_g_thread_try_new(
name: *const gchar,
func: GThreadFunc,
data: gpointer,
error: *mut *mut GError,
) -> *mut GThread;
}
extern "C" {
pub fn _frida_g_thread_self() -> *mut GThread;
}
extern "C" {
pub fn _frida_g_thread_exit(retval: gpointer);
}
extern "C" {
pub fn _frida_g_thread_join(thread: *mut GThread) -> gpointer;
}
extern "C" {
pub fn _frida_g_thread_yield();
}
extern "C" {
pub fn _frida_g_mutex_init(mutex: *mut GMutex);
}
extern "C" {
pub fn _frida_g_mutex_clear(mutex: *mut GMutex);
}
extern "C" {
pub fn _frida_g_mutex_lock(mutex: *mut GMutex);
}
extern "C" {
pub fn _frida_g_mutex_trylock(mutex: *mut GMutex) -> gboolean;
}
extern "C" {
pub fn _frida_g_mutex_unlock(mutex: *mut GMutex);
}
extern "C" {
pub fn _frida_g_rw_lock_init(rw_lock: *mut GRWLock);
}
extern "C" {
pub fn _frida_g_rw_lock_clear(rw_lock: *mut GRWLock);
}
extern "C" {
pub fn _frida_g_rw_lock_writer_lock(rw_lock: *mut GRWLock);
}
extern "C" {
pub fn _frida_g_rw_lock_writer_trylock(rw_lock: *mut GRWLock) -> gboolean;
}
extern "C" {
pub fn _frida_g_rw_lock_writer_unlock(rw_lock: *mut GRWLock);
}
extern "C" {
pub fn _frida_g_rw_lock_reader_lock(rw_lock: *mut GRWLock);
}
extern "C" {
pub fn _frida_g_rw_lock_reader_trylock(rw_lock: *mut GRWLock) -> gboolean;
}
extern "C" {
pub fn _frida_g_rw_lock_reader_unlock(rw_lock: *mut GRWLock);
}
extern "C" {
pub fn _frida_g_rec_mutex_init(rec_mutex: *mut GRecMutex);
}
extern "C" {
pub fn _frida_g_rec_mutex_clear(rec_mutex: *mut GRecMutex);
}
extern "C" {
pub fn _frida_g_rec_mutex_lock(rec_mutex: *mut GRecMutex);
}
extern "C" {
pub fn _frida_g_rec_mutex_trylock(rec_mutex: *mut GRecMutex) -> gboolean;
}
extern "C" {
pub fn _frida_g_rec_mutex_unlock(rec_mutex: *mut GRecMutex);
}
extern "C" {
pub fn _frida_g_cond_init(cond: *mut GCond);
}
extern "C" {
pub fn _frida_g_cond_clear(cond: *mut GCond);
}
extern "C" {
pub fn _frida_g_cond_wait(cond: *mut GCond, mutex: *mut GMutex);
}
extern "C" {
pub fn _frida_g_cond_signal(cond: *mut GCond);
}
extern "C" {
pub fn _frida_g_cond_broadcast(cond: *mut GCond);
}
extern "C" {
pub fn _frida_g_cond_wait_until(
cond: *mut GCond,
mutex: *mut GMutex,
end_time: gint64,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_private_get(key: *mut GPrivate) -> gpointer;
}
extern "C" {
pub fn _frida_g_private_set(key: *mut GPrivate, value: gpointer);
}
extern "C" {
pub fn _frida_g_private_replace(key: *mut GPrivate, value: gpointer);
}
extern "C" {
pub fn _frida_g_once_impl(once: *mut GOnce, func: GThreadFunc, arg: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_once_init_enter(location: *mut ::std::os::raw::c_void) -> gboolean;
}
extern "C" {
pub fn _frida_g_once_init_leave(location: *mut ::std::os::raw::c_void, result: gsize);
}
extern "C" {
pub fn _frida_g_get_num_processors() -> guint;
}
pub type GMutexLocker = ::std::os::raw::c_void;
pub type GRecMutexLocker = ::std::os::raw::c_void;
pub type GRWLockWriterLocker = ::std::os::raw::c_void;
pub type GRWLockReaderLocker = ::std::os::raw::c_void;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAsyncQueue {
_unused: [u8; 0],
}
pub type GAsyncQueue = _GAsyncQueue;
extern "C" {
pub fn _frida_g_async_queue_new() -> *mut GAsyncQueue;
}
extern "C" {
pub fn _frida_g_async_queue_new_full(item_free_func: GDestroyNotify) -> *mut GAsyncQueue;
}
extern "C" {
pub fn _frida_g_async_queue_lock(queue: *mut GAsyncQueue);
}
extern "C" {
pub fn _frida_g_async_queue_unlock(queue: *mut GAsyncQueue);
}
extern "C" {
pub fn _frida_g_async_queue_ref(queue: *mut GAsyncQueue) -> *mut GAsyncQueue;
}
extern "C" {
pub fn _frida_g_async_queue_unref(queue: *mut GAsyncQueue);
}
extern "C" {
pub fn _frida_g_async_queue_ref_unlocked(queue: *mut GAsyncQueue);
}
extern "C" {
pub fn _frida_g_async_queue_unref_and_unlock(queue: *mut GAsyncQueue);
}
extern "C" {
pub fn _frida_g_async_queue_push(queue: *mut GAsyncQueue, data: gpointer);
}
extern "C" {
pub fn _frida_g_async_queue_push_unlocked(queue: *mut GAsyncQueue, data: gpointer);
}
extern "C" {
pub fn _frida_g_async_queue_push_sorted(
queue: *mut GAsyncQueue,
data: gpointer,
func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_async_queue_push_sorted_unlocked(
queue: *mut GAsyncQueue,
data: gpointer,
func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_async_queue_pop(queue: *mut GAsyncQueue) -> gpointer;
}
extern "C" {
pub fn _frida_g_async_queue_pop_unlocked(queue: *mut GAsyncQueue) -> gpointer;
}
extern "C" {
pub fn _frida_g_async_queue_try_pop(queue: *mut GAsyncQueue) -> gpointer;
}
extern "C" {
pub fn _frida_g_async_queue_try_pop_unlocked(queue: *mut GAsyncQueue) -> gpointer;
}
extern "C" {
pub fn _frida_g_async_queue_timeout_pop(queue: *mut GAsyncQueue, timeout: guint64) -> gpointer;
}
extern "C" {
pub fn _frida_g_async_queue_timeout_pop_unlocked(
queue: *mut GAsyncQueue,
timeout: guint64,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_async_queue_length(queue: *mut GAsyncQueue) -> gint;
}
extern "C" {
pub fn _frida_g_async_queue_length_unlocked(queue: *mut GAsyncQueue) -> gint;
}
extern "C" {
pub fn _frida_g_async_queue_sort(
queue: *mut GAsyncQueue,
func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_async_queue_sort_unlocked(
queue: *mut GAsyncQueue,
func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_async_queue_remove(queue: *mut GAsyncQueue, item: gpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_async_queue_remove_unlocked(
queue: *mut GAsyncQueue,
item: gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_async_queue_push_front(queue: *mut GAsyncQueue, item: gpointer);
}
extern "C" {
pub fn _frida_g_async_queue_push_front_unlocked(queue: *mut GAsyncQueue, item: gpointer);
}
extern "C" {
pub fn _frida_g_async_queue_timed_pop(
queue: *mut GAsyncQueue,
end_time: *mut GTimeVal,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_async_queue_timed_pop_unlocked(
queue: *mut GAsyncQueue,
end_time: *mut GTimeVal,
) -> gpointer;
}
pub type sig_atomic_t = __sig_atomic_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigval {
pub sival_int: ::std::os::raw::c_int,
pub sival_ptr: *mut ::std::os::raw::c_void,
}
pub type __sigval_t = sigval;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t {
pub si_signo: ::std::os::raw::c_int,
pub si_errno: ::std::os::raw::c_int,
pub si_code: ::std::os::raw::c_int,
pub _sifields: siginfo_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union siginfo_t__bindgen_ty_1 {
pub _pad: [::std::os::raw::c_int; 29usize],
pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
pub si_tid: ::std::os::raw::c_int,
pub si_overrun: ::std::os::raw::c_int,
pub si_sigval: __sigval_t,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
pub si_sigval: __sigval_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
pub si_status: ::std::os::raw::c_int,
pub si_utime: __clock_t,
pub si_stime: __clock_t,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
pub si_addr: *mut ::std::os::raw::c_void,
pub si_addr_lsb: ::std::os::raw::c_short,
pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
pub _pkey: __uint32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
pub _lower: *mut ::std::os::raw::c_void,
pub _upper: *mut ::std::os::raw::c_void,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
pub si_band: ::std::os::raw::c_long,
pub si_fd: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
pub _call_addr: *mut ::std::os::raw::c_void,
pub _syscall: ::std::os::raw::c_int,
pub _arch: ::std::os::raw::c_uint,
}
pub const SI_ASYNCNL: _bindgen_ty_1 = -60;
pub const SI_DETHREAD: _bindgen_ty_1 = -7;
pub const SI_TKILL: _bindgen_ty_1 = -6;
pub const SI_SIGIO: _bindgen_ty_1 = -5;
pub const SI_ASYNCIO: _bindgen_ty_1 = -4;
pub const SI_MESGQ: _bindgen_ty_1 = -3;
pub const SI_TIMER: _bindgen_ty_1 = -2;
pub const SI_QUEUE: _bindgen_ty_1 = -1;
pub const SI_USER: _bindgen_ty_1 = 0;
pub const SI_KERNEL: _bindgen_ty_1 = 128;
pub type _bindgen_ty_1 = ::std::os::raw::c_int;
pub const ILL_ILLOPC: _bindgen_ty_2 = 1;
pub const ILL_ILLOPN: _bindgen_ty_2 = 2;
pub const ILL_ILLADR: _bindgen_ty_2 = 3;
pub const ILL_ILLTRP: _bindgen_ty_2 = 4;
pub const ILL_PRVOPC: _bindgen_ty_2 = 5;
pub const ILL_PRVREG: _bindgen_ty_2 = 6;
pub const ILL_COPROC: _bindgen_ty_2 = 7;
pub const ILL_BADSTK: _bindgen_ty_2 = 8;
pub const ILL_BADIADDR: _bindgen_ty_2 = 9;
pub type _bindgen_ty_2 = ::std::os::raw::c_uint;
pub const FPE_INTDIV: _bindgen_ty_3 = 1;
pub const FPE_INTOVF: _bindgen_ty_3 = 2;
pub const FPE_FLTDIV: _bindgen_ty_3 = 3;
pub const FPE_FLTOVF: _bindgen_ty_3 = 4;
pub const FPE_FLTUND: _bindgen_ty_3 = 5;
pub const FPE_FLTRES: _bindgen_ty_3 = 6;
pub const FPE_FLTINV: _bindgen_ty_3 = 7;
pub const FPE_FLTSUB: _bindgen_ty_3 = 8;
pub const FPE_FLTUNK: _bindgen_ty_3 = 14;
pub const FPE_CONDTRAP: _bindgen_ty_3 = 15;
pub type _bindgen_ty_3 = ::std::os::raw::c_uint;
pub const SEGV_MAPERR: _bindgen_ty_4 = 1;
pub const SEGV_ACCERR: _bindgen_ty_4 = 2;
pub const SEGV_BNDERR: _bindgen_ty_4 = 3;
pub const SEGV_PKUERR: _bindgen_ty_4 = 4;
pub const SEGV_ACCADI: _bindgen_ty_4 = 5;
pub const SEGV_ADIDERR: _bindgen_ty_4 = 6;
pub const SEGV_ADIPERR: _bindgen_ty_4 = 7;
pub const SEGV_MTEAERR: _bindgen_ty_4 = 8;
pub const SEGV_MTESERR: _bindgen_ty_4 = 9;
pub type _bindgen_ty_4 = ::std::os::raw::c_uint;
pub const BUS_ADRALN: _bindgen_ty_5 = 1;
pub const BUS_ADRERR: _bindgen_ty_5 = 2;
pub const BUS_OBJERR: _bindgen_ty_5 = 3;
pub const BUS_MCEERR_AR: _bindgen_ty_5 = 4;
pub const BUS_MCEERR_AO: _bindgen_ty_5 = 5;
pub type _bindgen_ty_5 = ::std::os::raw::c_uint;
pub const CLD_EXITED: _bindgen_ty_6 = 1;
pub const CLD_KILLED: _bindgen_ty_6 = 2;
pub const CLD_DUMPED: _bindgen_ty_6 = 3;
pub const CLD_TRAPPED: _bindgen_ty_6 = 4;
pub const CLD_STOPPED: _bindgen_ty_6 = 5;
pub const CLD_CONTINUED: _bindgen_ty_6 = 6;
pub type _bindgen_ty_6 = ::std::os::raw::c_uint;
pub const POLL_IN: _bindgen_ty_7 = 1;
pub const POLL_OUT: _bindgen_ty_7 = 2;
pub const POLL_MSG: _bindgen_ty_7 = 3;
pub const POLL_ERR: _bindgen_ty_7 = 4;
pub const POLL_PRI: _bindgen_ty_7 = 5;
pub const POLL_HUP: _bindgen_ty_7 = 6;
pub type _bindgen_ty_7 = ::std::os::raw::c_uint;
pub type sigval_t = __sigval_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct sigevent {
pub sigev_value: __sigval_t,
pub sigev_signo: ::std::os::raw::c_int,
pub sigev_notify: ::std::os::raw::c_int,
pub _sigev_un: sigevent__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigevent__bindgen_ty_1 {
pub _pad: [::std::os::raw::c_int; 13usize],
pub _tid: __pid_t,
pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sigevent__bindgen_ty_1__bindgen_ty_1 {
pub _function: ::std::option::Option<unsafe extern "C" fn(arg1: __sigval_t)>,
pub _attribute: *mut pthread_attr_t,
}
pub type sigevent_t = sigevent;
pub const SIGEV_SIGNAL: _bindgen_ty_8 = 0;
pub const SIGEV_NONE: _bindgen_ty_8 = 1;
pub const SIGEV_THREAD: _bindgen_ty_8 = 2;
pub const SIGEV_THREAD_ID: _bindgen_ty_8 = 4;
pub type _bindgen_ty_8 = ::std::os::raw::c_uint;
pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
extern "C" {
pub fn __sysv_signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t)
-> __sighandler_t;
}
extern "C" {
pub fn signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t;
}
extern "C" {
pub fn kill(__pid: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn killpg(__pgrp: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn raise(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ssignal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t;
}
extern "C" {
pub fn gsignal(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn psignal(__sig: ::std::os::raw::c_int, __s: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn psiginfo(__pinfo: *const siginfo_t, __s: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn sigblock(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigsetmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn siggetmask() -> ::std::os::raw::c_int;
}
pub type sig_t = __sighandler_t;
extern "C" {
pub fn sigemptyset(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigfillset(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigaddset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigdelset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigismember(
__set: *const sigset_t,
__signo: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct sigaction {
pub __sigaction_handler: sigaction__bindgen_ty_1,
pub sa_mask: __sigset_t,
pub sa_flags: ::std::os::raw::c_int,
pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigaction__bindgen_ty_1 {
pub sa_handler: __sighandler_t,
pub sa_sigaction: ::std::option::Option<
unsafe extern "C" fn(
arg1: ::std::os::raw::c_int,
arg2: *mut siginfo_t,
arg3: *mut ::std::os::raw::c_void,
),
>,
}
extern "C" {
pub fn sigprocmask(
__how: ::std::os::raw::c_int,
__set: *const sigset_t,
__oset: *mut sigset_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigsuspend(__set: *const sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigaction(
__sig: ::std::os::raw::c_int,
__act: *const sigaction,
__oact: *mut sigaction,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigpending(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigwait(
__set: *const sigset_t,
__sig: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigwaitinfo(__set: *const sigset_t, __info: *mut siginfo_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigtimedwait(
__set: *const sigset_t,
__info: *mut siginfo_t,
__timeout: *const timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigqueue(
__pid: __pid_t,
__sig: ::std::os::raw::c_int,
__val: sigval,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _fpx_sw_bytes {
pub magic1: __uint32_t,
pub extended_size: __uint32_t,
pub xstate_bv: __uint64_t,
pub xstate_size: __uint32_t,
pub __glibc_reserved1: [__uint32_t; 7usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _fpreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _fpxreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmmreg {
pub element: [__uint32_t; 4usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _fpstate {
pub cw: __uint32_t,
pub sw: __uint32_t,
pub tag: __uint32_t,
pub ipoff: __uint32_t,
pub cssel: __uint32_t,
pub dataoff: __uint32_t,
pub datasel: __uint32_t,
pub _st: [_fpreg; 8usize],
pub status: ::std::os::raw::c_ushort,
pub magic: ::std::os::raw::c_ushort,
pub _fxsr_env: [__uint32_t; 6usize],
pub mxcsr: __uint32_t,
pub __glibc_reserved1: __uint32_t,
pub _fxsr_st: [_fpxreg; 8usize],
pub _xmm: [_xmmreg; 8usize],
pub __glibc_reserved2: [__uint32_t; 56usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sigcontext {
pub gs: ::std::os::raw::c_ushort,
pub __gsh: ::std::os::raw::c_ushort,
pub fs: ::std::os::raw::c_ushort,
pub __fsh: ::std::os::raw::c_ushort,
pub es: ::std::os::raw::c_ushort,
pub __esh: ::std::os::raw::c_ushort,
pub ds: ::std::os::raw::c_ushort,
pub __dsh: ::std::os::raw::c_ushort,
pub edi: ::std::os::raw::c_ulong,
pub esi: ::std::os::raw::c_ulong,
pub ebp: ::std::os::raw::c_ulong,
pub esp: ::std::os::raw::c_ulong,
pub ebx: ::std::os::raw::c_ulong,
pub edx: ::std::os::raw::c_ulong,
pub ecx: ::std::os::raw::c_ulong,
pub eax: ::std::os::raw::c_ulong,
pub trapno: ::std::os::raw::c_ulong,
pub err: ::std::os::raw::c_ulong,
pub eip: ::std::os::raw::c_ulong,
pub cs: ::std::os::raw::c_ushort,
pub __csh: ::std::os::raw::c_ushort,
pub eflags: ::std::os::raw::c_ulong,
pub esp_at_signal: ::std::os::raw::c_ulong,
pub ss: ::std::os::raw::c_ushort,
pub __ssh: ::std::os::raw::c_ushort,
pub fpstate: *mut _fpstate,
pub oldmask: ::std::os::raw::c_ulong,
pub cr2: ::std::os::raw::c_ulong,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xsave_hdr {
pub xstate_bv: __uint64_t,
pub __glibc_reserved1: [__uint64_t; 2usize],
pub __glibc_reserved2: [__uint64_t; 5usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _ymmh_state {
pub ymmh_space: [__uint32_t; 64usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xstate {
pub fpstate: _fpstate,
pub xstate_hdr: _xsave_hdr,
pub ymmh: _ymmh_state,
}
extern "C" {
pub fn sigreturn(__scp: *mut sigcontext) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct stack_t {
pub ss_sp: *mut ::std::os::raw::c_void,
pub ss_flags: ::std::os::raw::c_int,
pub ss_size: usize,
}
pub type greg_t = ::std::os::raw::c_int;
pub type gregset_t = [greg_t; 19usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _libc_fpreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _libc_fpstate {
pub cw: ::std::os::raw::c_ulong,
pub sw: ::std::os::raw::c_ulong,
pub tag: ::std::os::raw::c_ulong,
pub ipoff: ::std::os::raw::c_ulong,
pub cssel: ::std::os::raw::c_ulong,
pub dataoff: ::std::os::raw::c_ulong,
pub datasel: ::std::os::raw::c_ulong,
pub _st: [_libc_fpreg; 8usize],
pub status: ::std::os::raw::c_ulong,
}
pub type fpregset_t = *mut _libc_fpstate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mcontext_t {
pub gregs: gregset_t,
pub fpregs: fpregset_t,
pub oldmask: ::std::os::raw::c_ulong,
pub cr2: ::std::os::raw::c_ulong,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ucontext_t {
pub uc_flags: ::std::os::raw::c_ulong,
pub uc_link: *mut ucontext_t,
pub uc_stack: stack_t,
pub uc_mcontext: mcontext_t,
pub uc_sigmask: sigset_t,
pub __fpregs_mem: _libc_fpstate,
pub __ssp: [::std::os::raw::c_ulong; 4usize],
}
extern "C" {
pub fn siginterrupt(
__sig: ::std::os::raw::c_int,
__interrupt: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
pub const SS_ONSTACK: _bindgen_ty_9 = 1;
pub const SS_DISABLE: _bindgen_ty_9 = 2;
pub type _bindgen_ty_9 = ::std::os::raw::c_uint;
extern "C" {
pub fn sigaltstack(__ss: *const stack_t, __oss: *mut stack_t) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sigstack {
pub ss_sp: *mut ::std::os::raw::c_void,
pub ss_onstack: ::std::os::raw::c_int,
}
extern "C" {
pub fn sigstack(__ss: *mut sigstack, __oss: *mut sigstack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_sigmask(
__how: ::std::os::raw::c_int,
__newmask: *const __sigset_t,
__oldmask: *mut __sigset_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_kill(
__threadid: pthread_t,
__signo: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __libc_current_sigrtmin() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __libc_current_sigrtmax() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_on_error_query(prg_name: *const gchar);
}
extern "C" {
pub fn _frida_g_on_error_stack_trace(prg_name: *const gchar);
}
extern "C" {
pub fn _frida_g_base64_encode_step(
in_: *const guchar,
len: gsize,
break_lines: gboolean,
out: *mut gchar,
state: *mut gint,
save: *mut gint,
) -> gsize;
}
extern "C" {
pub fn _frida_g_base64_encode_close(
break_lines: gboolean,
out: *mut gchar,
state: *mut gint,
save: *mut gint,
) -> gsize;
}
extern "C" {
pub fn _frida_g_base64_encode(data: *const guchar, len: gsize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_base64_decode_step(
in_: *const gchar,
len: gsize,
out: *mut guchar,
state: *mut gint,
save: *mut guint,
) -> gsize;
}
extern "C" {
pub fn _frida_g_base64_decode(text: *const gchar, out_len: *mut gsize) -> *mut guchar;
}
extern "C" {
pub fn _frida_g_base64_decode_inplace(text: *mut gchar, out_len: *mut gsize) -> *mut guchar;
}
extern "C" {
pub fn _frida_g_bit_lock(address: *mut gint, lock_bit: gint);
}
extern "C" {
pub fn _frida_g_bit_trylock(address: *mut gint, lock_bit: gint) -> gboolean;
}
extern "C" {
pub fn _frida_g_bit_unlock(address: *mut gint, lock_bit: gint);
}
extern "C" {
pub fn _frida_g_pointer_bit_lock(address: *mut ::std::os::raw::c_void, lock_bit: gint);
}
extern "C" {
pub fn _frida_g_pointer_bit_trylock(
address: *mut ::std::os::raw::c_void,
lock_bit: gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_pointer_bit_unlock(address: *mut ::std::os::raw::c_void, lock_bit: gint);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTimeZone {
_unused: [u8; 0],
}
pub type GTimeZone = _GTimeZone;
pub const GTimeType_G_TIME_TYPE_STANDARD: GTimeType = 0;
pub const GTimeType_G_TIME_TYPE_DAYLIGHT: GTimeType = 1;
pub const GTimeType_G_TIME_TYPE_UNIVERSAL: GTimeType = 2;
pub type GTimeType = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_time_zone_new(identifier: *const gchar) -> *mut GTimeZone;
}
extern "C" {
pub fn _frida_g_time_zone_new_identifier(identifier: *const gchar) -> *mut GTimeZone;
}
extern "C" {
pub fn _frida_g_time_zone_new_utc() -> *mut GTimeZone;
}
extern "C" {
pub fn _frida_g_time_zone_new_local() -> *mut GTimeZone;
}
extern "C" {
pub fn _frida_g_time_zone_new_offset(seconds: gint32) -> *mut GTimeZone;
}
extern "C" {
pub fn _frida_g_time_zone_ref(tz: *mut GTimeZone) -> *mut GTimeZone;
}
extern "C" {
pub fn _frida_g_time_zone_unref(tz: *mut GTimeZone);
}
extern "C" {
pub fn _frida_g_time_zone_find_interval(
tz: *mut GTimeZone,
type_: GTimeType,
time_: gint64,
) -> gint;
}
extern "C" {
pub fn _frida_g_time_zone_adjust_time(
tz: *mut GTimeZone,
type_: GTimeType,
time_: *mut gint64,
) -> gint;
}
extern "C" {
pub fn _frida_g_time_zone_get_abbreviation(tz: *mut GTimeZone, interval: gint) -> *const gchar;
}
extern "C" {
pub fn _frida_g_time_zone_get_offset(tz: *mut GTimeZone, interval: gint) -> gint32;
}
extern "C" {
pub fn _frida_g_time_zone_is_dst(tz: *mut GTimeZone, interval: gint) -> gboolean;
}
extern "C" {
pub fn _frida_g_time_zone_get_identifier(tz: *mut GTimeZone) -> *const gchar;
}
pub type GTimeSpan = gint64;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDateTime {
_unused: [u8; 0],
}
pub type GDateTime = _GDateTime;
extern "C" {
pub fn _frida_g_date_time_unref(datetime: *mut GDateTime);
}
extern "C" {
pub fn _frida_g_date_time_ref(datetime: *mut GDateTime) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_now(tz: *mut GTimeZone) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_now_local() -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_now_utc() -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_from_unix_local(t: gint64) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_from_unix_utc(t: gint64) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_from_timeval_local(tv: *const GTimeVal) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_from_timeval_utc(tv: *const GTimeVal) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_from_iso8601(
text: *const gchar,
default_tz: *mut GTimeZone,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new(
tz: *mut GTimeZone,
year: gint,
month: gint,
day: gint,
hour: gint,
minute: gint,
seconds: gdouble,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_local(
year: gint,
month: gint,
day: gint,
hour: gint,
minute: gint,
seconds: gdouble,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_new_utc(
year: gint,
month: gint,
day: gint,
hour: gint,
minute: gint,
seconds: gdouble,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add(datetime: *mut GDateTime, timespan: GTimeSpan) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add_years(datetime: *mut GDateTime, years: gint) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add_months(datetime: *mut GDateTime, months: gint) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add_weeks(datetime: *mut GDateTime, weeks: gint) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add_days(datetime: *mut GDateTime, days: gint) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add_hours(datetime: *mut GDateTime, hours: gint) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add_minutes(
datetime: *mut GDateTime,
minutes: gint,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add_seconds(
datetime: *mut GDateTime,
seconds: gdouble,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_add_full(
datetime: *mut GDateTime,
years: gint,
months: gint,
days: gint,
hours: gint,
minutes: gint,
seconds: gdouble,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_compare(dt1: gconstpointer, dt2: gconstpointer) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_difference(end: *mut GDateTime, begin: *mut GDateTime) -> GTimeSpan;
}
extern "C" {
pub fn _frida_g_date_time_hash(datetime: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_date_time_equal(dt1: gconstpointer, dt2: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_time_get_ymd(
datetime: *mut GDateTime,
year: *mut gint,
month: *mut gint,
day: *mut gint,
);
}
extern "C" {
pub fn _frida_g_date_time_get_year(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_month(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_day_of_month(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_week_numbering_year(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_week_of_year(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_day_of_week(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_day_of_year(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_hour(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_minute(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_second(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_microsecond(datetime: *mut GDateTime) -> gint;
}
extern "C" {
pub fn _frida_g_date_time_get_seconds(datetime: *mut GDateTime) -> gdouble;
}
extern "C" {
pub fn _frida_g_date_time_to_unix(datetime: *mut GDateTime) -> gint64;
}
extern "C" {
pub fn _frida_g_date_time_to_timeval(datetime: *mut GDateTime, tv: *mut GTimeVal) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_time_get_utc_offset(datetime: *mut GDateTime) -> GTimeSpan;
}
extern "C" {
pub fn _frida_g_date_time_get_timezone(datetime: *mut GDateTime) -> *mut GTimeZone;
}
extern "C" {
pub fn _frida_g_date_time_get_timezone_abbreviation(datetime: *mut GDateTime) -> *const gchar;
}
extern "C" {
pub fn _frida_g_date_time_is_daylight_savings(datetime: *mut GDateTime) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_time_to_timezone(
datetime: *mut GDateTime,
tz: *mut GTimeZone,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_to_local(datetime: *mut GDateTime) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_to_utc(datetime: *mut GDateTime) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_date_time_format(datetime: *mut GDateTime, format: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_date_time_format_iso8601(datetime: *mut GDateTime) -> *mut gchar;
}
pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_INVALID_URI: GBookmarkFileError = 0;
pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_INVALID_VALUE: GBookmarkFileError = 1;
pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED: GBookmarkFileError = 2;
pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND: GBookmarkFileError = 3;
pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_READ: GBookmarkFileError = 4;
pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING: GBookmarkFileError = 5;
pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_WRITE: GBookmarkFileError = 6;
pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND: GBookmarkFileError = 7;
pub type GBookmarkFileError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_bookmark_file_error_quark() -> GQuark;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBookmarkFile {
_unused: [u8; 0],
}
pub type GBookmarkFile = _GBookmarkFile;
extern "C" {
pub fn _frida_g_bookmark_file_new() -> *mut GBookmarkFile;
}
extern "C" {
pub fn _frida_g_bookmark_file_free(bookmark: *mut GBookmarkFile);
}
extern "C" {
pub fn _frida_g_bookmark_file_copy(bookmark: *mut GBookmarkFile) -> *mut GBookmarkFile;
}
extern "C" {
pub fn _frida_g_bookmark_file_load_from_file(
bookmark: *mut GBookmarkFile,
filename: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_load_from_data(
bookmark: *mut GBookmarkFile,
data: *const gchar,
length: gsize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_load_from_data_dirs(
bookmark: *mut GBookmarkFile,
file: *const gchar,
full_path: *mut *mut gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_to_data(
bookmark: *mut GBookmarkFile,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_bookmark_file_to_file(
bookmark: *mut GBookmarkFile,
filename: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_title(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
title: *const gchar,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_get_title(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_description(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
description: *const gchar,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_get_description(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_mime_type(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
mime_type: *const gchar,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_get_mime_type(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_groups(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
groups: *mut *const gchar,
length: gsize,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_add_group(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
group: *const gchar,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_has_group(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
group: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_groups(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_bookmark_file_add_application(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
name: *const gchar,
exec: *const gchar,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_has_application(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
name: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_applications(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_app_info(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
name: *const gchar,
exec: *const gchar,
count: gint,
stamp: time_t,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_application_info(
bookmark: *mut GBookmarkFile,
uri: *const ::std::os::raw::c_char,
name: *const ::std::os::raw::c_char,
exec: *const ::std::os::raw::c_char,
count: ::std::os::raw::c_int,
stamp: *mut GDateTime,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_app_info(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
name: *const gchar,
exec: *mut *mut gchar,
count: *mut guint,
stamp: *mut time_t,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_application_info(
bookmark: *mut GBookmarkFile,
uri: *const ::std::os::raw::c_char,
name: *const ::std::os::raw::c_char,
exec: *mut *mut ::std::os::raw::c_char,
count: *mut ::std::os::raw::c_uint,
stamp: *mut *mut GDateTime,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_is_private(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
is_private: gboolean,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_get_is_private(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_icon(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
href: *const gchar,
mime_type: *const gchar,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_get_icon(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
href: *mut *mut gchar,
mime_type: *mut *mut gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_added(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
added: time_t,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_set_added_date_time(
bookmark: *mut GBookmarkFile,
uri: *const ::std::os::raw::c_char,
added: *mut GDateTime,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_get_added(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
error: *mut *mut GError,
) -> time_t;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_added_date_time(
bookmark: *mut GBookmarkFile,
uri: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_modified(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
modified: time_t,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_set_modified_date_time(
bookmark: *mut GBookmarkFile,
uri: *const ::std::os::raw::c_char,
modified: *mut GDateTime,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_get_modified(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
error: *mut *mut GError,
) -> time_t;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_modified_date_time(
bookmark: *mut GBookmarkFile,
uri: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_bookmark_file_set_visited(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
visited: time_t,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_set_visited_date_time(
bookmark: *mut GBookmarkFile,
uri: *const ::std::os::raw::c_char,
visited: *mut GDateTime,
);
}
extern "C" {
pub fn _frida_g_bookmark_file_get_visited(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
error: *mut *mut GError,
) -> time_t;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_visited_date_time(
bookmark: *mut GBookmarkFile,
uri: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_bookmark_file_has_item(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_size(bookmark: *mut GBookmarkFile) -> gint;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_uris(
bookmark: *mut GBookmarkFile,
length: *mut gsize,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_bookmark_file_remove_group(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
group: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_remove_application(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
name: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_remove_item(
bookmark: *mut GBookmarkFile,
uri: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bookmark_file_move_item(
bookmark: *mut GBookmarkFile,
old_uri: *const gchar,
new_uri: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_bytes_new(data: gconstpointer, size: gsize) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_bytes_new_take(data: gpointer, size: gsize) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_bytes_new_static(data: gconstpointer, size: gsize) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_bytes_new_with_free_func(
data: gconstpointer,
size: gsize,
free_func: GDestroyNotify,
user_data: gpointer,
) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_bytes_new_from_bytes(
bytes: *mut GBytes,
offset: gsize,
length: gsize,
) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_bytes_get_data(bytes: *mut GBytes, size: *mut gsize) -> gconstpointer;
}
extern "C" {
pub fn _frida_g_bytes_get_size(bytes: *mut GBytes) -> gsize;
}
extern "C" {
pub fn _frida_g_bytes_ref(bytes: *mut GBytes) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_bytes_unref(bytes: *mut GBytes);
}
extern "C" {
pub fn _frida_g_bytes_unref_to_data(bytes: *mut GBytes, size: *mut gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_bytes_unref_to_array(bytes: *mut GBytes) -> *mut GByteArray;
}
extern "C" {
pub fn _frida_g_bytes_hash(bytes: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_bytes_equal(bytes1: gconstpointer, bytes2: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_bytes_compare(bytes1: gconstpointer, bytes2: gconstpointer) -> gint;
}
extern "C" {
pub fn _frida_g_bytes_get_region(
bytes: *mut GBytes,
element_size: gsize,
offset: gsize,
n_elements: gsize,
) -> gconstpointer;
}
extern "C" {
pub fn _frida_g_get_charset(charset: *mut *const ::std::os::raw::c_char) -> gboolean;
}
extern "C" {
pub fn _frida_g_get_codeset() -> *mut gchar;
}
extern "C" {
pub fn _frida_g_get_console_charset(charset: *mut *const ::std::os::raw::c_char) -> gboolean;
}
extern "C" {
pub fn _frida_g_get_language_names() -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_get_language_names_with_category(
category_name: *const gchar,
) -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_get_locale_variants(locale: *const gchar) -> *mut *mut gchar;
}
pub const GChecksumType_G_CHECKSUM_MD5: GChecksumType = 0;
pub const GChecksumType_G_CHECKSUM_SHA1: GChecksumType = 1;
pub const GChecksumType_G_CHECKSUM_SHA256: GChecksumType = 2;
pub const GChecksumType_G_CHECKSUM_SHA512: GChecksumType = 3;
pub const GChecksumType_G_CHECKSUM_SHA384: GChecksumType = 4;
pub type GChecksumType = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GChecksum {
_unused: [u8; 0],
}
pub type GChecksum = _GChecksum;
extern "C" {
pub fn _frida_g_checksum_type_get_length(checksum_type: GChecksumType) -> gssize;
}
extern "C" {
pub fn _frida_g_checksum_new(checksum_type: GChecksumType) -> *mut GChecksum;
}
extern "C" {
pub fn _frida_g_checksum_reset(checksum: *mut GChecksum);
}
extern "C" {
pub fn _frida_g_checksum_copy(checksum: *const GChecksum) -> *mut GChecksum;
}
extern "C" {
pub fn _frida_g_checksum_free(checksum: *mut GChecksum);
}
extern "C" {
pub fn _frida_g_checksum_update(checksum: *mut GChecksum, data: *const guchar, length: gssize);
}
extern "C" {
pub fn _frida_g_checksum_get_string(checksum: *mut GChecksum) -> *const gchar;
}
extern "C" {
pub fn _frida_g_checksum_get_digest(
checksum: *mut GChecksum,
buffer: *mut guint8,
digest_len: *mut gsize,
);
}
extern "C" {
pub fn _frida_g_compute_checksum_for_data(
checksum_type: GChecksumType,
data: *const guchar,
length: gsize,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_compute_checksum_for_string(
checksum_type: GChecksumType,
str_: *const gchar,
length: gssize,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_compute_checksum_for_bytes(
checksum_type: GChecksumType,
data: *mut GBytes,
) -> *mut gchar;
}
pub const GConvertError_G_CONVERT_ERROR_NO_CONVERSION: GConvertError = 0;
pub const GConvertError_G_CONVERT_ERROR_ILLEGAL_SEQUENCE: GConvertError = 1;
pub const GConvertError_G_CONVERT_ERROR_FAILED: GConvertError = 2;
pub const GConvertError_G_CONVERT_ERROR_PARTIAL_INPUT: GConvertError = 3;
pub const GConvertError_G_CONVERT_ERROR_BAD_URI: GConvertError = 4;
pub const GConvertError_G_CONVERT_ERROR_NOT_ABSOLUTE_PATH: GConvertError = 5;
pub const GConvertError_G_CONVERT_ERROR_NO_MEMORY: GConvertError = 6;
pub const GConvertError_G_CONVERT_ERROR_EMBEDDED_NUL: GConvertError = 7;
pub type GConvertError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_convert_error_quark() -> GQuark;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIConv {
_unused: [u8; 0],
}
pub type GIConv = *mut _GIConv;
extern "C" {
pub fn _frida_g_iconv_open(to_codeset: *const gchar, from_codeset: *const gchar) -> GIConv;
}
extern "C" {
pub fn _frida_g_iconv(
converter: GIConv,
inbuf: *mut *mut gchar,
inbytes_left: *mut gsize,
outbuf: *mut *mut gchar,
outbytes_left: *mut gsize,
) -> gsize;
}
extern "C" {
pub fn _frida_g_iconv_close(converter: GIConv) -> gint;
}
extern "C" {
pub fn _frida_g_convert(
str_: *const gchar,
len: gssize,
to_codeset: *const gchar,
from_codeset: *const gchar,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_convert_with_iconv(
str_: *const gchar,
len: gssize,
converter: GIConv,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_convert_with_fallback(
str_: *const gchar,
len: gssize,
to_codeset: *const gchar,
from_codeset: *const gchar,
fallback: *const gchar,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_locale_to_utf8(
opsysstring: *const gchar,
len: gssize,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_locale_from_utf8(
utf8string: *const gchar,
len: gssize,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_filename_to_utf8(
opsysstring: *const gchar,
len: gssize,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_filename_from_utf8(
utf8string: *const gchar,
len: gssize,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_filename_from_uri(
uri: *const gchar,
hostname: *mut *mut gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_filename_to_uri(
filename: *const gchar,
hostname: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_filename_display_name(filename: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_get_filename_charsets(filename_charsets: *mut *mut *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_filename_display_basename(filename: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_uri_list_extract_uris(uri_list: *const gchar) -> *mut *mut gchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GData {
_unused: [u8; 0],
}
pub type GData = _GData;
pub type GDataForeachFunc = ::std::option::Option<
unsafe extern "C" fn(key_id: GQuark, data: gpointer, user_data: gpointer),
>;
extern "C" {
pub fn _frida_g_datalist_init(datalist: *mut *mut GData);
}
extern "C" {
pub fn _frida_g_datalist_clear(datalist: *mut *mut GData);
}
extern "C" {
pub fn _frida_g_datalist_id_get_data(datalist: *mut *mut GData, key_id: GQuark) -> gpointer;
}
extern "C" {
pub fn _frida_g_datalist_id_set_data_full(
datalist: *mut *mut GData,
key_id: GQuark,
data: gpointer,
destroy_func: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_datalist_id_remove_multiple(
datalist: *mut *mut GData,
keys: *mut GQuark,
n_keys: gsize,
);
}
pub type GDuplicateFunc =
::std::option::Option<unsafe extern "C" fn(data: gpointer, user_data: gpointer) -> gpointer>;
extern "C" {
pub fn _frida_g_datalist_id_dup_data(
datalist: *mut *mut GData,
key_id: GQuark,
dup_func: GDuplicateFunc,
user_data: gpointer,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_datalist_id_replace_data(
datalist: *mut *mut GData,
key_id: GQuark,
oldval: gpointer,
newval: gpointer,
destroy: GDestroyNotify,
old_destroy: *mut GDestroyNotify,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_datalist_id_remove_no_notify(
datalist: *mut *mut GData,
key_id: GQuark,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_datalist_foreach(
datalist: *mut *mut GData,
func: GDataForeachFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_datalist_set_flags(datalist: *mut *mut GData, flags: guint);
}
extern "C" {
pub fn _frida_g_datalist_unset_flags(datalist: *mut *mut GData, flags: guint);
}
extern "C" {
pub fn _frida_g_datalist_get_flags(datalist: *mut *mut GData) -> guint;
}
extern "C" {
pub fn _frida_g_dataset_destroy(dataset_location: gconstpointer);
}
extern "C" {
pub fn _frida_g_dataset_id_get_data(
dataset_location: gconstpointer,
key_id: GQuark,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_datalist_get_data(datalist: *mut *mut GData, key: *const gchar) -> gpointer;
}
extern "C" {
pub fn _frida_g_dataset_id_set_data_full(
dataset_location: gconstpointer,
key_id: GQuark,
data: gpointer,
destroy_func: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_dataset_id_remove_no_notify(
dataset_location: gconstpointer,
key_id: GQuark,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_dataset_foreach(
dataset_location: gconstpointer,
func: GDataForeachFunc,
user_data: gpointer,
);
}
pub type GTime = gint32;
pub type GDateYear = guint16;
pub type GDateDay = guint8;
pub type GDate = _GDate;
pub const GDateDMY_G_DATE_DAY: GDateDMY = 0;
pub const GDateDMY_G_DATE_MONTH: GDateDMY = 1;
pub const GDateDMY_G_DATE_YEAR: GDateDMY = 2;
pub type GDateDMY = ::std::os::raw::c_uint;
pub const GDateWeekday_G_DATE_BAD_WEEKDAY: GDateWeekday = 0;
pub const GDateWeekday_G_DATE_MONDAY: GDateWeekday = 1;
pub const GDateWeekday_G_DATE_TUESDAY: GDateWeekday = 2;
pub const GDateWeekday_G_DATE_WEDNESDAY: GDateWeekday = 3;
pub const GDateWeekday_G_DATE_THURSDAY: GDateWeekday = 4;
pub const GDateWeekday_G_DATE_FRIDAY: GDateWeekday = 5;
pub const GDateWeekday_G_DATE_SATURDAY: GDateWeekday = 6;
pub const GDateWeekday_G_DATE_SUNDAY: GDateWeekday = 7;
pub type GDateWeekday = ::std::os::raw::c_uint;
pub const GDateMonth_G_DATE_BAD_MONTH: GDateMonth = 0;
pub const GDateMonth_G_DATE_JANUARY: GDateMonth = 1;
pub const GDateMonth_G_DATE_FEBRUARY: GDateMonth = 2;
pub const GDateMonth_G_DATE_MARCH: GDateMonth = 3;
pub const GDateMonth_G_DATE_APRIL: GDateMonth = 4;
pub const GDateMonth_G_DATE_MAY: GDateMonth = 5;
pub const GDateMonth_G_DATE_JUNE: GDateMonth = 6;
pub const GDateMonth_G_DATE_JULY: GDateMonth = 7;
pub const GDateMonth_G_DATE_AUGUST: GDateMonth = 8;
pub const GDateMonth_G_DATE_SEPTEMBER: GDateMonth = 9;
pub const GDateMonth_G_DATE_OCTOBER: GDateMonth = 10;
pub const GDateMonth_G_DATE_NOVEMBER: GDateMonth = 11;
pub const GDateMonth_G_DATE_DECEMBER: GDateMonth = 12;
pub type GDateMonth = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDate {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
impl _GDate {
#[inline]
pub fn julian_days(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 32u8) as u32) }
}
#[inline]
pub fn set_julian_days(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 32u8, val as u64)
}
}
#[inline]
pub fn julian(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 1u8) as u32) }
}
#[inline]
pub fn set_julian(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(32usize, 1u8, val as u64)
}
}
#[inline]
pub fn dmy(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(33usize, 1u8) as u32) }
}
#[inline]
pub fn set_dmy(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(33usize, 1u8, val as u64)
}
}
#[inline]
pub fn day(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(34usize, 6u8) as u32) }
}
#[inline]
pub fn set_day(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(34usize, 6u8, val as u64)
}
}
#[inline]
pub fn month(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(40usize, 4u8) as u32) }
}
#[inline]
pub fn set_month(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(40usize, 4u8, val as u64)
}
}
#[inline]
pub fn year(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(44usize, 16u8) as u32) }
}
#[inline]
pub fn set_year(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(44usize, 16u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
julian_days: guint,
julian: guint,
dmy: guint,
day: guint,
month: guint,
year: guint,
) -> __BindgenBitfieldUnit<[u8; 8usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 32u8, {
let julian_days: u32 = unsafe { ::std::mem::transmute(julian_days) };
julian_days as u64
});
__bindgen_bitfield_unit.set(32usize, 1u8, {
let julian: u32 = unsafe { ::std::mem::transmute(julian) };
julian as u64
});
__bindgen_bitfield_unit.set(33usize, 1u8, {
let dmy: u32 = unsafe { ::std::mem::transmute(dmy) };
dmy as u64
});
__bindgen_bitfield_unit.set(34usize, 6u8, {
let day: u32 = unsafe { ::std::mem::transmute(day) };
day as u64
});
__bindgen_bitfield_unit.set(40usize, 4u8, {
let month: u32 = unsafe { ::std::mem::transmute(month) };
month as u64
});
__bindgen_bitfield_unit.set(44usize, 16u8, {
let year: u32 = unsafe { ::std::mem::transmute(year) };
year as u64
});
__bindgen_bitfield_unit
}
}
extern "C" {
pub fn _frida_g_date_new() -> *mut GDate;
}
extern "C" {
pub fn _frida_g_date_new_dmy(day: GDateDay, month: GDateMonth, year: GDateYear) -> *mut GDate;
}
extern "C" {
pub fn _frida_g_date_new_julian(julian_day: guint32) -> *mut GDate;
}
extern "C" {
pub fn _frida_g_date_free(date: *mut GDate);
}
extern "C" {
pub fn _frida_g_date_copy(date: *const GDate) -> *mut GDate;
}
extern "C" {
pub fn _frida_g_date_valid(date: *const GDate) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_valid_day(day: GDateDay) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_valid_month(month: GDateMonth) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_valid_year(year: GDateYear) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_valid_weekday(weekday: GDateWeekday) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_valid_julian(julian_date: guint32) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_valid_dmy(day: GDateDay, month: GDateMonth, year: GDateYear) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_get_weekday(date: *const GDate) -> GDateWeekday;
}
extern "C" {
pub fn _frida_g_date_get_month(date: *const GDate) -> GDateMonth;
}
extern "C" {
pub fn _frida_g_date_get_year(date: *const GDate) -> GDateYear;
}
extern "C" {
pub fn _frida_g_date_get_day(date: *const GDate) -> GDateDay;
}
extern "C" {
pub fn _frida_g_date_get_julian(date: *const GDate) -> guint32;
}
extern "C" {
pub fn _frida_g_date_get_day_of_year(date: *const GDate) -> guint;
}
extern "C" {
pub fn _frida_g_date_get_monday_week_of_year(date: *const GDate) -> guint;
}
extern "C" {
pub fn _frida_g_date_get_sunday_week_of_year(date: *const GDate) -> guint;
}
extern "C" {
pub fn _frida_g_date_get_iso8601_week_of_year(date: *const GDate) -> guint;
}
extern "C" {
pub fn _frida_g_date_clear(date: *mut GDate, n_dates: guint);
}
extern "C" {
pub fn _frida_g_date_set_parse(date: *mut GDate, str_: *const gchar);
}
extern "C" {
pub fn _frida_g_date_set_time_t(date: *mut GDate, timet: time_t);
}
extern "C" {
pub fn _frida_g_date_set_time_val(date: *mut GDate, timeval: *mut GTimeVal);
}
extern "C" {
pub fn _frida_g_date_set_time(date: *mut GDate, time_: GTime);
}
extern "C" {
pub fn _frida_g_date_set_month(date: *mut GDate, month: GDateMonth);
}
extern "C" {
pub fn _frida_g_date_set_day(date: *mut GDate, day: GDateDay);
}
extern "C" {
pub fn _frida_g_date_set_year(date: *mut GDate, year: GDateYear);
}
extern "C" {
pub fn _frida_g_date_set_dmy(date: *mut GDate, day: GDateDay, month: GDateMonth, y: GDateYear);
}
extern "C" {
pub fn _frida_g_date_set_julian(date: *mut GDate, julian_date: guint32);
}
extern "C" {
pub fn _frida_g_date_is_first_of_month(date: *const GDate) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_is_last_of_month(date: *const GDate) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_add_days(date: *mut GDate, n_days: guint);
}
extern "C" {
pub fn _frida_g_date_subtract_days(date: *mut GDate, n_days: guint);
}
extern "C" {
pub fn _frida_g_date_add_months(date: *mut GDate, n_months: guint);
}
extern "C" {
pub fn _frida_g_date_subtract_months(date: *mut GDate, n_months: guint);
}
extern "C" {
pub fn _frida_g_date_add_years(date: *mut GDate, n_years: guint);
}
extern "C" {
pub fn _frida_g_date_subtract_years(date: *mut GDate, n_years: guint);
}
extern "C" {
pub fn _frida_g_date_is_leap_year(year: GDateYear) -> gboolean;
}
extern "C" {
pub fn _frida_g_date_get_days_in_month(month: GDateMonth, year: GDateYear) -> guint8;
}
extern "C" {
pub fn _frida_g_date_get_monday_weeks_in_year(year: GDateYear) -> guint8;
}
extern "C" {
pub fn _frida_g_date_get_sunday_weeks_in_year(year: GDateYear) -> guint8;
}
extern "C" {
pub fn _frida_g_date_days_between(date1: *const GDate, date2: *const GDate) -> gint;
}
extern "C" {
pub fn _frida_g_date_compare(lhs: *const GDate, rhs: *const GDate) -> gint;
}
extern "C" {
pub fn _frida_g_date_to_struct_tm(date: *const GDate, tm: *mut tm);
}
extern "C" {
pub fn _frida_g_date_clamp(date: *mut GDate, min_date: *const GDate, max_date: *const GDate);
}
extern "C" {
pub fn _frida_g_date_order(date1: *mut GDate, date2: *mut GDate);
}
extern "C" {
pub fn _frida_g_date_strftime(
s: *mut gchar,
slen: gsize,
format: *const gchar,
date: *const GDate,
) -> gsize;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct dirent {
pub d_ino: __ino_t,
pub d_off: __off_t,
pub d_reclen: ::std::os::raw::c_ushort,
pub d_type: ::std::os::raw::c_uchar,
pub d_name: [::std::os::raw::c_char; 256usize],
}
pub const DT_UNKNOWN: _bindgen_ty_10 = 0;
pub const DT_FIFO: _bindgen_ty_10 = 1;
pub const DT_CHR: _bindgen_ty_10 = 2;
pub const DT_DIR: _bindgen_ty_10 = 4;
pub const DT_BLK: _bindgen_ty_10 = 6;
pub const DT_REG: _bindgen_ty_10 = 8;
pub const DT_LNK: _bindgen_ty_10 = 10;
pub const DT_SOCK: _bindgen_ty_10 = 12;
pub const DT_WHT: _bindgen_ty_10 = 14;
pub type _bindgen_ty_10 = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __dirstream {
_unused: [u8; 0],
}
pub type DIR = __dirstream;
extern "C" {
pub fn opendir(__name: *const ::std::os::raw::c_char) -> *mut DIR;
}
extern "C" {
pub fn fdopendir(__fd: ::std::os::raw::c_int) -> *mut DIR;
}
extern "C" {
pub fn closedir(__dirp: *mut DIR) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn readdir(__dirp: *mut DIR) -> *mut dirent;
}
extern "C" {
pub fn readdir_r(
__dirp: *mut DIR,
__entry: *mut dirent,
__result: *mut *mut dirent,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rewinddir(__dirp: *mut DIR);
}
extern "C" {
pub fn seekdir(__dirp: *mut DIR, __pos: ::std::os::raw::c_long);
}
extern "C" {
pub fn telldir(__dirp: *mut DIR) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn dirfd(__dirp: *mut DIR) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scandir(
__dir: *const ::std::os::raw::c_char,
__namelist: *mut *mut *mut dirent,
__selector: ::std::option::Option<
unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int,
>,
__cmp: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut *const dirent,
arg2: *mut *const dirent,
) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn alphasort(__e1: *mut *const dirent, __e2: *mut *const dirent) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getdirentries(
__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__nbytes: usize,
__basep: *mut __off_t,
) -> __ssize_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDir {
_unused: [u8; 0],
}
pub type GDir = _GDir;
extern "C" {
pub fn _frida_g_dir_open(
path: *const gchar,
flags: guint,
error: *mut *mut GError,
) -> *mut GDir;
}
extern "C" {
pub fn _frida_g_dir_read_name(dir: *mut GDir) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dir_rewind(dir: *mut GDir);
}
extern "C" {
pub fn _frida_g_dir_close(dir: *mut GDir);
}
extern "C" {
pub fn _frida_g_getenv(variable: *const gchar) -> *const gchar;
}
extern "C" {
pub fn _frida_g_setenv(
variable: *const gchar,
value: *const gchar,
overwrite: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_unsetenv(variable: *const gchar);
}
extern "C" {
pub fn _frida_g_listenv() -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_get_environ() -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_environ_getenv(envp: *mut *mut gchar, variable: *const gchar) -> *const gchar;
}
extern "C" {
pub fn _frida_g_environ_setenv(
envp: *mut *mut gchar,
variable: *const gchar,
value: *const gchar,
overwrite: gboolean,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_environ_unsetenv(
envp: *mut *mut gchar,
variable: *const gchar,
) -> *mut *mut gchar;
}
pub const GFileError_G_FILE_ERROR_EXIST: GFileError = 0;
pub const GFileError_G_FILE_ERROR_ISDIR: GFileError = 1;
pub const GFileError_G_FILE_ERROR_ACCES: GFileError = 2;
pub const GFileError_G_FILE_ERROR_NAMETOOLONG: GFileError = 3;
pub const GFileError_G_FILE_ERROR_NOENT: GFileError = 4;
pub const GFileError_G_FILE_ERROR_NOTDIR: GFileError = 5;
pub const GFileError_G_FILE_ERROR_NXIO: GFileError = 6;
pub const GFileError_G_FILE_ERROR_NODEV: GFileError = 7;
pub const GFileError_G_FILE_ERROR_ROFS: GFileError = 8;
pub const GFileError_G_FILE_ERROR_TXTBSY: GFileError = 9;
pub const GFileError_G_FILE_ERROR_FAULT: GFileError = 10;
pub const GFileError_G_FILE_ERROR_LOOP: GFileError = 11;
pub const GFileError_G_FILE_ERROR_NOSPC: GFileError = 12;
pub const GFileError_G_FILE_ERROR_NOMEM: GFileError = 13;
pub const GFileError_G_FILE_ERROR_MFILE: GFileError = 14;
pub const GFileError_G_FILE_ERROR_NFILE: GFileError = 15;
pub const GFileError_G_FILE_ERROR_BADF: GFileError = 16;
pub const GFileError_G_FILE_ERROR_INVAL: GFileError = 17;
pub const GFileError_G_FILE_ERROR_PIPE: GFileError = 18;
pub const GFileError_G_FILE_ERROR_AGAIN: GFileError = 19;
pub const GFileError_G_FILE_ERROR_INTR: GFileError = 20;
pub const GFileError_G_FILE_ERROR_IO: GFileError = 21;
pub const GFileError_G_FILE_ERROR_PERM: GFileError = 22;
pub const GFileError_G_FILE_ERROR_NOSYS: GFileError = 23;
pub const GFileError_G_FILE_ERROR_FAILED: GFileError = 24;
pub type GFileError = ::std::os::raw::c_uint;
pub const GFileTest_G_FILE_TEST_IS_REGULAR: GFileTest = 1;
pub const GFileTest_G_FILE_TEST_IS_SYMLINK: GFileTest = 2;
pub const GFileTest_G_FILE_TEST_IS_DIR: GFileTest = 4;
pub const GFileTest_G_FILE_TEST_IS_EXECUTABLE: GFileTest = 8;
pub const GFileTest_G_FILE_TEST_EXISTS: GFileTest = 16;
pub type GFileTest = ::std::os::raw::c_uint;
pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_NONE: GFileSetContentsFlags = 0;
pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_CONSISTENT: GFileSetContentsFlags = 1;
pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_DURABLE: GFileSetContentsFlags = 2;
pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_ONLY_EXISTING: GFileSetContentsFlags = 4;
pub type GFileSetContentsFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_file_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_file_error_from_errno(err_no: gint) -> GFileError;
}
extern "C" {
pub fn _frida_g_file_test(filename: *const gchar, test: GFileTest) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_get_contents(
filename: *const gchar,
contents: *mut *mut gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_contents(
filename: *const gchar,
contents: *const gchar,
length: gssize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_contents_full(
filename: *const gchar,
contents: *const gchar,
length: gssize,
flags: GFileSetContentsFlags,
mode: ::std::os::raw::c_int,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_read_link(filename: *const gchar, error: *mut *mut GError) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_mkdtemp(tmpl: *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_mkdtemp_full(tmpl: *mut gchar, mode: gint) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_mkstemp(tmpl: *mut gchar) -> gint;
}
extern "C" {
pub fn _frida_g_mkstemp_full(tmpl: *mut gchar, flags: gint, mode: gint) -> gint;
}
extern "C" {
pub fn _frida_g_file_open_tmp(
tmpl: *const gchar,
name_used: *mut *mut gchar,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_dir_make_tmp(tmpl: *const gchar, error: *mut *mut GError) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_build_path(
separator: *const gchar,
first_element: *const gchar,
...
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_build_pathv(separator: *const gchar, args: *mut *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_build_filename(first_element: *const gchar, ...) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_build_filenamev(args: *mut *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_build_filename_valist(
first_element: *const gchar,
args: *mut va_list,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_mkdir_with_parents(pathname: *const gchar, mode: gint) -> gint;
}
extern "C" {
pub fn _frida_g_path_is_absolute(file_name: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_path_skip_root(file_name: *const gchar) -> *const gchar;
}
extern "C" {
pub fn _frida_g_basename(file_name: *const gchar) -> *const gchar;
}
extern "C" {
pub fn _frida_g_get_current_dir() -> *mut gchar;
}
extern "C" {
pub fn _frida_g_path_get_basename(file_name: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_path_get_dirname(file_name: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_canonicalize_filename(
filename: *const gchar,
relative_to: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strip_context(msgid: *const gchar, msgval: *const gchar) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dgettext(domain: *const gchar, msgid: *const gchar) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dcgettext(
domain: *const gchar,
msgid: *const gchar,
category: gint,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dngettext(
domain: *const gchar,
msgid: *const gchar,
msgid_plural: *const gchar,
n: gulong,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dpgettext(
domain: *const gchar,
msgctxtid: *const gchar,
msgidoffset: gsize,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dpgettext2(
domain: *const gchar,
context: *const gchar,
msgid: *const gchar,
) -> *const gchar;
}
pub type GMemVTable = _GMemVTable;
extern "C" {
pub fn _frida_g_free(mem: gpointer);
}
extern "C" {
pub fn _frida_g_clear_pointer(pp: *mut gpointer, destroy: GDestroyNotify);
}
extern "C" {
pub fn _frida_g_malloc(n_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_malloc0(n_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_realloc(mem: gpointer, n_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_try_malloc(n_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_try_malloc0(n_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_try_realloc(mem: gpointer, n_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_malloc_n(n_blocks: gsize, n_block_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_malloc0_n(n_blocks: gsize, n_block_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_realloc_n(mem: gpointer, n_blocks: gsize, n_block_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_try_malloc_n(n_blocks: gsize, n_block_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_try_malloc0_n(n_blocks: gsize, n_block_bytes: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_try_realloc_n(mem: gpointer, n_blocks: gsize, n_block_bytes: gsize)
-> gpointer;
}
extern "C" {
pub fn _frida_g_aligned_alloc(
n_blocks: gsize,
n_block_bytes: gsize,
alignment: gsize,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_aligned_alloc0(
n_blocks: gsize,
n_block_bytes: gsize,
alignment: gsize,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_aligned_free(mem: gpointer);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemVTable {
pub malloc: ::std::option::Option<unsafe extern "C" fn(n_bytes: gsize) -> gpointer>,
pub realloc:
::std::option::Option<unsafe extern "C" fn(mem: gpointer, n_bytes: gsize) -> gpointer>,
pub memalign:
::std::option::Option<unsafe extern "C" fn(alignment: gsize, size: gsize) -> gpointer>,
pub free: ::std::option::Option<unsafe extern "C" fn(mem: gpointer)>,
pub calloc: ::std::option::Option<
unsafe extern "C" fn(n_blocks: gsize, n_block_bytes: gsize) -> gpointer,
>,
pub try_malloc: ::std::option::Option<unsafe extern "C" fn(n_bytes: gsize) -> gpointer>,
pub try_realloc:
::std::option::Option<unsafe extern "C" fn(mem: gpointer, n_bytes: gsize) -> gpointer>,
}
extern "C" {
pub static mut _frida_glib_mem_table: *mut GMemVTable;
}
extern "C" {
pub fn _frida_g_mem_set_vtable(vtable: *mut GMemVTable);
}
extern "C" {
pub fn _frida_g_mem_is_system_malloc() -> gboolean;
}
extern "C" {
pub static mut _frida_g_mem_gc_friendly: gboolean;
}
extern "C" {
pub static mut _frida_glib_mem_profiler_table: *mut GMemVTable;
}
extern "C" {
pub fn _frida_g_mem_profile();
}
pub type GNode = _GNode;
pub const GTraverseFlags_G_TRAVERSE_LEAVES: GTraverseFlags = 1;
pub const GTraverseFlags_G_TRAVERSE_NON_LEAVES: GTraverseFlags = 2;
pub const GTraverseFlags_G_TRAVERSE_ALL: GTraverseFlags = 3;
pub const GTraverseFlags_G_TRAVERSE_MASK: GTraverseFlags = 3;
pub const GTraverseFlags_G_TRAVERSE_LEAFS: GTraverseFlags = 1;
pub const GTraverseFlags_G_TRAVERSE_NON_LEAFS: GTraverseFlags = 2;
pub type GTraverseFlags = ::std::os::raw::c_uint;
pub const GTraverseType_G_IN_ORDER: GTraverseType = 0;
pub const GTraverseType_G_PRE_ORDER: GTraverseType = 1;
pub const GTraverseType_G_POST_ORDER: GTraverseType = 2;
pub const GTraverseType_G_LEVEL_ORDER: GTraverseType = 3;
pub type GTraverseType = ::std::os::raw::c_uint;
pub type GNodeTraverseFunc =
::std::option::Option<unsafe extern "C" fn(node: *mut GNode, user_data: gpointer) -> gboolean>;
pub type GNodeForeachFunc =
::std::option::Option<unsafe extern "C" fn(node: *mut GNode, user_data: gpointer)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNode {
pub data: gpointer,
pub next: *mut GNode,
pub prev: *mut GNode,
pub parent: *mut GNode,
pub children: *mut GNode,
}
extern "C" {
pub fn _frida_g_node_new(data: gpointer) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_destroy(root: *mut GNode);
}
extern "C" {
pub fn _frida_g_node_unlink(node: *mut GNode);
}
extern "C" {
pub fn _frida_g_node_copy_deep(
node: *mut GNode,
copy_func: GCopyFunc,
data: gpointer,
) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_copy(node: *mut GNode) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_insert(parent: *mut GNode, position: gint, node: *mut GNode)
-> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_insert_before(
parent: *mut GNode,
sibling: *mut GNode,
node: *mut GNode,
) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_insert_after(
parent: *mut GNode,
sibling: *mut GNode,
node: *mut GNode,
) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_prepend(parent: *mut GNode, node: *mut GNode) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_n_nodes(root: *mut GNode, flags: GTraverseFlags) -> guint;
}
extern "C" {
pub fn _frida_g_node_get_root(node: *mut GNode) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_is_ancestor(node: *mut GNode, descendant: *mut GNode) -> gboolean;
}
extern "C" {
pub fn _frida_g_node_depth(node: *mut GNode) -> guint;
}
extern "C" {
pub fn _frida_g_node_find(
root: *mut GNode,
order: GTraverseType,
flags: GTraverseFlags,
data: gpointer,
) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_traverse(
root: *mut GNode,
order: GTraverseType,
flags: GTraverseFlags,
max_depth: gint,
func: GNodeTraverseFunc,
data: gpointer,
);
}
extern "C" {
pub fn _frida_g_node_max_height(root: *mut GNode) -> guint;
}
extern "C" {
pub fn _frida_g_node_children_foreach(
node: *mut GNode,
flags: GTraverseFlags,
func: GNodeForeachFunc,
data: gpointer,
);
}
extern "C" {
pub fn _frida_g_node_reverse_children(node: *mut GNode);
}
extern "C" {
pub fn _frida_g_node_n_children(node: *mut GNode) -> guint;
}
extern "C" {
pub fn _frida_g_node_nth_child(node: *mut GNode, n: guint) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_last_child(node: *mut GNode) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_find_child(
node: *mut GNode,
flags: GTraverseFlags,
data: gpointer,
) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_child_position(node: *mut GNode, child: *mut GNode) -> gint;
}
extern "C" {
pub fn _frida_g_node_child_index(node: *mut GNode, data: gpointer) -> gint;
}
extern "C" {
pub fn _frida_g_node_first_sibling(node: *mut GNode) -> *mut GNode;
}
extern "C" {
pub fn _frida_g_node_last_sibling(node: *mut GNode) -> *mut GNode;
}
pub type GList = _GList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GList {
pub data: gpointer,
pub next: *mut GList,
pub prev: *mut GList,
}
extern "C" {
pub fn _frida_g_list_alloc() -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_free(list: *mut GList);
}
extern "C" {
pub fn _frida_g_list_free_1(list: *mut GList);
}
extern "C" {
pub fn _frida_g_list_free_full(list: *mut GList, free_func: GDestroyNotify);
}
extern "C" {
pub fn _frida_g_list_append(list: *mut GList, data: gpointer) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_prepend(list: *mut GList, data: gpointer) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_insert(list: *mut GList, data: gpointer, position: gint) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_insert_sorted(
list: *mut GList,
data: gpointer,
func: GCompareFunc,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_insert_sorted_with_data(
list: *mut GList,
data: gpointer,
func: GCompareDataFunc,
user_data: gpointer,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_insert_before(
list: *mut GList,
sibling: *mut GList,
data: gpointer,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_insert_before_link(
list: *mut GList,
sibling: *mut GList,
link_: *mut GList,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_concat(list1: *mut GList, list2: *mut GList) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_remove(list: *mut GList, data: gconstpointer) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_remove_all(list: *mut GList, data: gconstpointer) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_remove_link(list: *mut GList, llink: *mut GList) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_delete_link(list: *mut GList, link_: *mut GList) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_reverse(list: *mut GList) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_copy(list: *mut GList) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_copy_deep(
list: *mut GList,
func: GCopyFunc,
user_data: gpointer,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_nth(list: *mut GList, n: guint) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_nth_prev(list: *mut GList, n: guint) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_find(list: *mut GList, data: gconstpointer) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_find_custom(
list: *mut GList,
data: gconstpointer,
func: GCompareFunc,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_position(list: *mut GList, llink: *mut GList) -> gint;
}
extern "C" {
pub fn _frida_g_list_index(list: *mut GList, data: gconstpointer) -> gint;
}
extern "C" {
pub fn _frida_g_list_last(list: *mut GList) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_first(list: *mut GList) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_length(list: *mut GList) -> guint;
}
extern "C" {
pub fn _frida_g_list_foreach(list: *mut GList, func: GFunc, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_list_sort(list: *mut GList, compare_func: GCompareFunc) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_sort_with_data(
list: *mut GList,
compare_func: GCompareDataFunc,
user_data: gpointer,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_list_nth_data(list: *mut GList, n: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_clear_list(list_ptr: *mut *mut GList, destroy: GDestroyNotify);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GHashTable {
_unused: [u8; 0],
}
pub type GHashTable = _GHashTable;
pub type GHRFunc = ::std::option::Option<
unsafe extern "C" fn(key: gpointer, value: gpointer, user_data: gpointer) -> gboolean,
>;
pub type GHashTableIter = _GHashTableIter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GHashTableIter {
pub dummy1: gpointer,
pub dummy2: gpointer,
pub dummy3: gpointer,
pub dummy4: ::std::os::raw::c_int,
pub dummy5: gboolean,
pub dummy6: gpointer,
}
extern "C" {
pub fn _frida_g_hash_table_new(
hash_func: GHashFunc,
key_equal_func: GEqualFunc,
) -> *mut GHashTable;
}
extern "C" {
pub fn _frida_g_hash_table_new_full(
hash_func: GHashFunc,
key_equal_func: GEqualFunc,
key_destroy_func: GDestroyNotify,
value_destroy_func: GDestroyNotify,
) -> *mut GHashTable;
}
extern "C" {
pub fn _frida_g_hash_table_new_similar(other_hash_table: *mut GHashTable) -> *mut GHashTable;
}
extern "C" {
pub fn _frida_g_hash_table_destroy(hash_table: *mut GHashTable);
}
extern "C" {
pub fn _frida_g_hash_table_insert(
hash_table: *mut GHashTable,
key: gpointer,
value: gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_replace(
hash_table: *mut GHashTable,
key: gpointer,
value: gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_add(hash_table: *mut GHashTable, key: gpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_remove(hash_table: *mut GHashTable, key: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_remove_all(hash_table: *mut GHashTable);
}
extern "C" {
pub fn _frida_g_hash_table_steal(hash_table: *mut GHashTable, key: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_steal_extended(
hash_table: *mut GHashTable,
lookup_key: gconstpointer,
stolen_key: *mut gpointer,
stolen_value: *mut gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_steal_all(hash_table: *mut GHashTable);
}
extern "C" {
pub fn _frida_g_hash_table_lookup(hash_table: *mut GHashTable, key: gconstpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_hash_table_contains(
hash_table: *mut GHashTable,
key: gconstpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_lookup_extended(
hash_table: *mut GHashTable,
lookup_key: gconstpointer,
orig_key: *mut gpointer,
value: *mut gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_foreach(
hash_table: *mut GHashTable,
func: GHFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_hash_table_find(
hash_table: *mut GHashTable,
predicate: GHRFunc,
user_data: gpointer,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_hash_table_foreach_remove(
hash_table: *mut GHashTable,
func: GHRFunc,
user_data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_hash_table_foreach_steal(
hash_table: *mut GHashTable,
func: GHRFunc,
user_data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_hash_table_size(hash_table: *mut GHashTable) -> guint;
}
extern "C" {
pub fn _frida_g_hash_table_get_keys(hash_table: *mut GHashTable) -> *mut GList;
}
extern "C" {
pub fn _frida_g_hash_table_get_values(hash_table: *mut GHashTable) -> *mut GList;
}
extern "C" {
pub fn _frida_g_hash_table_get_keys_as_array(
hash_table: *mut GHashTable,
length: *mut guint,
) -> *mut gpointer;
}
extern "C" {
pub fn _frida_g_hash_table_iter_init(iter: *mut GHashTableIter, hash_table: *mut GHashTable);
}
extern "C" {
pub fn _frida_g_hash_table_iter_next(
iter: *mut GHashTableIter,
key: *mut gpointer,
value: *mut gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_hash_table_iter_get_hash_table(iter: *mut GHashTableIter) -> *mut GHashTable;
}
extern "C" {
pub fn _frida_g_hash_table_iter_remove(iter: *mut GHashTableIter);
}
extern "C" {
pub fn _frida_g_hash_table_iter_replace(iter: *mut GHashTableIter, value: gpointer);
}
extern "C" {
pub fn _frida_g_hash_table_iter_steal(iter: *mut GHashTableIter);
}
extern "C" {
pub fn _frida_g_hash_table_ref(hash_table: *mut GHashTable) -> *mut GHashTable;
}
extern "C" {
pub fn _frida_g_hash_table_unref(hash_table: *mut GHashTable);
}
extern "C" {
pub fn _frida_g_str_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_str_hash(v: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_int_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_int_hash(v: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_int64_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_int64_hash(v: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_double_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_double_hash(v: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_direct_hash(v: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_direct_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GHmac {
_unused: [u8; 0],
}
pub type GHmac = _GHmac;
extern "C" {
pub fn _frida_g_hmac_new(
digest_type: GChecksumType,
key: *const guchar,
key_len: gsize,
) -> *mut GHmac;
}
extern "C" {
pub fn _frida_g_hmac_copy(hmac: *const GHmac) -> *mut GHmac;
}
extern "C" {
pub fn _frida_g_hmac_ref(hmac: *mut GHmac) -> *mut GHmac;
}
extern "C" {
pub fn _frida_g_hmac_unref(hmac: *mut GHmac);
}
extern "C" {
pub fn _frida_g_hmac_update(hmac: *mut GHmac, data: *const guchar, length: gssize);
}
extern "C" {
pub fn _frida_g_hmac_get_string(hmac: *mut GHmac) -> *const gchar;
}
extern "C" {
pub fn _frida_g_hmac_get_digest(hmac: *mut GHmac, buffer: *mut guint8, digest_len: *mut gsize);
}
extern "C" {
pub fn _frida_g_compute_hmac_for_data(
digest_type: GChecksumType,
key: *const guchar,
key_len: gsize,
data: *const guchar,
length: gsize,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_compute_hmac_for_string(
digest_type: GChecksumType,
key: *const guchar,
key_len: gsize,
str_: *const gchar,
length: gssize,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_compute_hmac_for_bytes(
digest_type: GChecksumType,
key: *mut GBytes,
data: *mut GBytes,
) -> *mut gchar;
}
pub type GHook = _GHook;
pub type GHookList = _GHookList;
pub type GHookCompareFunc =
::std::option::Option<unsafe extern "C" fn(new_hook: *mut GHook, sibling: *mut GHook) -> gint>;
pub type GHookFindFunc =
::std::option::Option<unsafe extern "C" fn(hook: *mut GHook, user_data: gpointer) -> gboolean>;
pub type GHookMarshaller =
::std::option::Option<unsafe extern "C" fn(hook: *mut GHook, user_data: gpointer)>;
pub type GHookCheckMarshaller =
::std::option::Option<unsafe extern "C" fn(hook: *mut GHook, user_data: gpointer) -> gboolean>;
pub type GHookFunc = ::std::option::Option<unsafe extern "C" fn(data: gpointer)>;
pub type GHookCheckFunc = ::std::option::Option<unsafe extern "C" fn(data: gpointer) -> gboolean>;
pub type GHookFinalizeFunc =
::std::option::Option<unsafe extern "C" fn(hook_list: *mut GHookList, hook: *mut GHook)>;
pub const GHookFlagMask_G_HOOK_FLAG_ACTIVE: GHookFlagMask = 1;
pub const GHookFlagMask_G_HOOK_FLAG_IN_CALL: GHookFlagMask = 2;
pub const GHookFlagMask_G_HOOK_FLAG_MASK: GHookFlagMask = 15;
pub type GHookFlagMask = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GHookList {
pub seq_id: gulong,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3usize]>,
pub hooks: *mut GHook,
pub dummy3: gpointer,
pub finalize_hook: GHookFinalizeFunc,
pub dummy: [gpointer; 2usize],
}
impl _GHookList {
#[inline]
pub fn hook_size(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) }
}
#[inline]
pub fn set_hook_size(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 16u8, val as u64)
}
}
#[inline]
pub fn is_setup(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 1u8) as u32) }
}
#[inline]
pub fn set_is_setup(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(16usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
hook_size: guint,
is_setup: guint,
) -> __BindgenBitfieldUnit<[u8; 3usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 3usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 16u8, {
let hook_size: u32 = unsafe { ::std::mem::transmute(hook_size) };
hook_size as u64
});
__bindgen_bitfield_unit.set(16usize, 1u8, {
let is_setup: u32 = unsafe { ::std::mem::transmute(is_setup) };
is_setup as u64
});
__bindgen_bitfield_unit
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GHook {
pub data: gpointer,
pub next: *mut GHook,
pub prev: *mut GHook,
pub ref_count: guint,
pub hook_id: gulong,
pub flags: guint,
pub func: gpointer,
pub destroy: GDestroyNotify,
}
extern "C" {
pub fn _frida_g_hook_list_init(hook_list: *mut GHookList, hook_size: guint);
}
extern "C" {
pub fn _frida_g_hook_list_clear(hook_list: *mut GHookList);
}
extern "C" {
pub fn _frida_g_hook_alloc(hook_list: *mut GHookList) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_free(hook_list: *mut GHookList, hook: *mut GHook);
}
extern "C" {
pub fn _frida_g_hook_ref(hook_list: *mut GHookList, hook: *mut GHook) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_unref(hook_list: *mut GHookList, hook: *mut GHook);
}
extern "C" {
pub fn _frida_g_hook_destroy(hook_list: *mut GHookList, hook_id: gulong) -> gboolean;
}
extern "C" {
pub fn _frida_g_hook_destroy_link(hook_list: *mut GHookList, hook: *mut GHook);
}
extern "C" {
pub fn _frida_g_hook_prepend(hook_list: *mut GHookList, hook: *mut GHook);
}
extern "C" {
pub fn _frida_g_hook_insert_before(
hook_list: *mut GHookList,
sibling: *mut GHook,
hook: *mut GHook,
);
}
extern "C" {
pub fn _frida_g_hook_insert_sorted(
hook_list: *mut GHookList,
hook: *mut GHook,
func: GHookCompareFunc,
);
}
extern "C" {
pub fn _frida_g_hook_get(hook_list: *mut GHookList, hook_id: gulong) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_find(
hook_list: *mut GHookList,
need_valids: gboolean,
func: GHookFindFunc,
data: gpointer,
) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_find_data(
hook_list: *mut GHookList,
need_valids: gboolean,
data: gpointer,
) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_find_func(
hook_list: *mut GHookList,
need_valids: gboolean,
func: gpointer,
) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_find_func_data(
hook_list: *mut GHookList,
need_valids: gboolean,
func: gpointer,
data: gpointer,
) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_first_valid(
hook_list: *mut GHookList,
may_be_in_call: gboolean,
) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_next_valid(
hook_list: *mut GHookList,
hook: *mut GHook,
may_be_in_call: gboolean,
) -> *mut GHook;
}
extern "C" {
pub fn _frida_g_hook_compare_ids(new_hook: *mut GHook, sibling: *mut GHook) -> gint;
}
extern "C" {
pub fn _frida_g_hook_list_invoke(hook_list: *mut GHookList, may_recurse: gboolean);
}
extern "C" {
pub fn _frida_g_hook_list_invoke_check(hook_list: *mut GHookList, may_recurse: gboolean);
}
extern "C" {
pub fn _frida_g_hook_list_marshal(
hook_list: *mut GHookList,
may_recurse: gboolean,
marshaller: GHookMarshaller,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_hook_list_marshal_check(
hook_list: *mut GHookList,
may_recurse: gboolean,
marshaller: GHookCheckMarshaller,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_hostname_is_non_ascii(hostname: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_hostname_is_ascii_encoded(hostname: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_hostname_is_ip_address(hostname: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_hostname_to_ascii(hostname: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_hostname_to_unicode(hostname: *const gchar) -> *mut gchar;
}
pub type GPollFD = _GPollFD;
pub type GPollFunc = ::std::option::Option<
unsafe extern "C" fn(ufds: *mut GPollFD, nfsd: guint, timeout_: gint) -> gint,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPollFD {
pub fd: gint,
pub events: gushort,
pub revents: gushort,
}
extern "C" {
pub fn _frida_g_poll(fds: *mut GPollFD, nfds: guint, timeout: gint) -> gint;
}
pub type GSList = _GSList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSList {
pub data: gpointer,
pub next: *mut GSList,
}
extern "C" {
pub fn _frida_g_slist_alloc() -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_free(list: *mut GSList);
}
extern "C" {
pub fn _frida_g_slist_free_1(list: *mut GSList);
}
extern "C" {
pub fn _frida_g_slist_free_full(list: *mut GSList, free_func: GDestroyNotify);
}
extern "C" {
pub fn _frida_g_slist_append(list: *mut GSList, data: gpointer) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_prepend(list: *mut GSList, data: gpointer) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_insert(list: *mut GSList, data: gpointer, position: gint) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_insert_sorted(
list: *mut GSList,
data: gpointer,
func: GCompareFunc,
) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_insert_sorted_with_data(
list: *mut GSList,
data: gpointer,
func: GCompareDataFunc,
user_data: gpointer,
) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_insert_before(
slist: *mut GSList,
sibling: *mut GSList,
data: gpointer,
) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_concat(list1: *mut GSList, list2: *mut GSList) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_remove(list: *mut GSList, data: gconstpointer) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_remove_all(list: *mut GSList, data: gconstpointer) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_remove_link(list: *mut GSList, link_: *mut GSList) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_delete_link(list: *mut GSList, link_: *mut GSList) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_reverse(list: *mut GSList) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_copy(list: *mut GSList) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_copy_deep(
list: *mut GSList,
func: GCopyFunc,
user_data: gpointer,
) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_nth(list: *mut GSList, n: guint) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_find(list: *mut GSList, data: gconstpointer) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_find_custom(
list: *mut GSList,
data: gconstpointer,
func: GCompareFunc,
) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_position(list: *mut GSList, llink: *mut GSList) -> gint;
}
extern "C" {
pub fn _frida_g_slist_index(list: *mut GSList, data: gconstpointer) -> gint;
}
extern "C" {
pub fn _frida_g_slist_last(list: *mut GSList) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_length(list: *mut GSList) -> guint;
}
extern "C" {
pub fn _frida_g_slist_foreach(list: *mut GSList, func: GFunc, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_slist_sort(list: *mut GSList, compare_func: GCompareFunc) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_sort_with_data(
list: *mut GSList,
compare_func: GCompareDataFunc,
user_data: gpointer,
) -> *mut GSList;
}
extern "C" {
pub fn _frida_g_slist_nth_data(list: *mut GSList, n: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_clear_slist(slist_ptr: *mut *mut GSList, destroy: GDestroyNotify);
}
pub const GIOCondition_G_IO_IN: GIOCondition = 1;
pub const GIOCondition_G_IO_OUT: GIOCondition = 4;
pub const GIOCondition_G_IO_PRI: GIOCondition = 2;
pub const GIOCondition_G_IO_ERR: GIOCondition = 8;
pub const GIOCondition_G_IO_HUP: GIOCondition = 16;
pub const GIOCondition_G_IO_NVAL: GIOCondition = 32;
pub type GIOCondition = ::std::os::raw::c_uint;
pub const GMainContextFlags_G_MAIN_CONTEXT_FLAGS_NONE: GMainContextFlags = 0;
pub const GMainContextFlags_G_MAIN_CONTEXT_FLAGS_OWNERLESS_POLLING: GMainContextFlags = 1;
pub type GMainContextFlags = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMainContext {
_unused: [u8; 0],
}
pub type GMainContext = _GMainContext;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMainLoop {
_unused: [u8; 0],
}
pub type GMainLoop = _GMainLoop;
pub type GSource = _GSource;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSourcePrivate {
_unused: [u8; 0],
}
pub type GSourcePrivate = _GSourcePrivate;
pub type GSourceCallbackFuncs = _GSourceCallbackFuncs;
pub type GSourceFuncs = _GSourceFuncs;
pub type GSourceFunc = ::std::option::Option<unsafe extern "C" fn(user_data: gpointer) -> gboolean>;
pub type GSourceOnceFunc = ::std::option::Option<unsafe extern "C" fn(user_data: gpointer)>;
pub type GChildWatchFunc =
::std::option::Option<unsafe extern "C" fn(pid: GPid, wait_status: gint, user_data: gpointer)>;
pub type GSourceDisposeFunc = ::std::option::Option<unsafe extern "C" fn(source: *mut GSource)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSource {
pub callback_data: gpointer,
pub callback_funcs: *mut GSourceCallbackFuncs,
pub source_funcs: *const GSourceFuncs,
pub ref_count: guint,
pub context: *mut GMainContext,
pub priority: gint,
pub flags: guint,
pub source_id: guint,
pub poll_fds: *mut GSList,
pub prev: *mut GSource,
pub next: *mut GSource,
pub name: *mut ::std::os::raw::c_char,
pub priv_: *mut GSourcePrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSourceCallbackFuncs {
pub ref_: ::std::option::Option<unsafe extern "C" fn(cb_data: gpointer)>,
pub unref: ::std::option::Option<unsafe extern "C" fn(cb_data: gpointer)>,
pub get: ::std::option::Option<
unsafe extern "C" fn(
cb_data: gpointer,
source: *mut GSource,
func: *mut GSourceFunc,
data: *mut gpointer,
),
>,
}
pub type GSourceDummyMarshal = ::std::option::Option<unsafe extern "C" fn()>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSourceFuncs {
pub prepare: ::std::option::Option<
unsafe extern "C" fn(source: *mut GSource, timeout_: *mut gint) -> gboolean,
>,
pub check: ::std::option::Option<unsafe extern "C" fn(source: *mut GSource) -> gboolean>,
pub dispatch: ::std::option::Option<
unsafe extern "C" fn(
source: *mut GSource,
callback: GSourceFunc,
user_data: gpointer,
) -> gboolean,
>,
pub finalize: ::std::option::Option<unsafe extern "C" fn(source: *mut GSource)>,
pub closure_callback: GSourceFunc,
pub closure_marshal: GSourceDummyMarshal,
}
extern "C" {
pub fn _frida_g_main_context_new() -> *mut GMainContext;
}
extern "C" {
pub fn _frida_g_main_context_new_with_flags(flags: GMainContextFlags) -> *mut GMainContext;
}
extern "C" {
pub fn _frida_g_main_context_ref(context: *mut GMainContext) -> *mut GMainContext;
}
extern "C" {
pub fn _frida_g_main_context_unref(context: *mut GMainContext);
}
extern "C" {
pub fn _frida_g_main_context_default() -> *mut GMainContext;
}
extern "C" {
pub fn _frida_g_main_context_iteration(
context: *mut GMainContext,
may_block: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_context_pending(context: *mut GMainContext) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_context_find_source_by_id(
context: *mut GMainContext,
source_id: guint,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_main_context_find_source_by_user_data(
context: *mut GMainContext,
user_data: gpointer,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_main_context_find_source_by_funcs_user_data(
context: *mut GMainContext,
funcs: *mut GSourceFuncs,
user_data: gpointer,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_main_context_wakeup(context: *mut GMainContext);
}
extern "C" {
pub fn _frida_g_main_context_acquire(context: *mut GMainContext) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_context_release(context: *mut GMainContext);
}
extern "C" {
pub fn _frida_g_main_context_is_owner(context: *mut GMainContext) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_context_wait(
context: *mut GMainContext,
cond: *mut GCond,
mutex: *mut GMutex,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_context_prepare(
context: *mut GMainContext,
priority: *mut gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_context_query(
context: *mut GMainContext,
max_priority: gint,
timeout_: *mut gint,
fds: *mut GPollFD,
n_fds: gint,
) -> gint;
}
extern "C" {
pub fn _frida_g_main_context_check(
context: *mut GMainContext,
max_priority: gint,
fds: *mut GPollFD,
n_fds: gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_context_dispatch(context: *mut GMainContext);
}
extern "C" {
pub fn _frida_g_main_context_set_poll_func(context: *mut GMainContext, func: GPollFunc);
}
extern "C" {
pub fn _frida_g_main_context_get_poll_func(context: *mut GMainContext) -> GPollFunc;
}
extern "C" {
pub fn _frida_g_main_context_add_poll(
context: *mut GMainContext,
fd: *mut GPollFD,
priority: gint,
);
}
extern "C" {
pub fn _frida_g_main_context_remove_poll(context: *mut GMainContext, fd: *mut GPollFD);
}
extern "C" {
pub fn _frida_g_main_depth() -> gint;
}
extern "C" {
pub fn _frida_g_main_current_source() -> *mut GSource;
}
extern "C" {
pub fn _frida_g_main_context_push_thread_default(context: *mut GMainContext);
}
extern "C" {
pub fn _frida_g_main_context_pop_thread_default(context: *mut GMainContext);
}
extern "C" {
pub fn _frida_g_main_context_get_thread_default() -> *mut GMainContext;
}
extern "C" {
pub fn _frida_g_main_context_ref_thread_default() -> *mut GMainContext;
}
pub type GMainContextPusher = ::std::os::raw::c_void;
extern "C" {
pub fn _frida_g_main_loop_new(
context: *mut GMainContext,
is_running: gboolean,
) -> *mut GMainLoop;
}
extern "C" {
pub fn _frida_g_main_loop_run(loop_: *mut GMainLoop);
}
extern "C" {
pub fn _frida_g_main_loop_quit(loop_: *mut GMainLoop);
}
extern "C" {
pub fn _frida_g_main_loop_ref(loop_: *mut GMainLoop) -> *mut GMainLoop;
}
extern "C" {
pub fn _frida_g_main_loop_unref(loop_: *mut GMainLoop);
}
extern "C" {
pub fn _frida_g_main_loop_is_running(loop_: *mut GMainLoop) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_loop_get_context(loop_: *mut GMainLoop) -> *mut GMainContext;
}
extern "C" {
pub fn _frida_g_source_new(source_funcs: *mut GSourceFuncs, struct_size: guint)
-> *mut GSource;
}
extern "C" {
pub fn _frida_g_source_set_dispose_function(source: *mut GSource, dispose: GSourceDisposeFunc);
}
extern "C" {
pub fn _frida_g_source_ref(source: *mut GSource) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_source_unref(source: *mut GSource);
}
extern "C" {
pub fn _frida_g_source_attach(source: *mut GSource, context: *mut GMainContext) -> guint;
}
extern "C" {
pub fn _frida_g_source_destroy(source: *mut GSource);
}
extern "C" {
pub fn _frida_g_source_set_priority(source: *mut GSource, priority: gint);
}
extern "C" {
pub fn _frida_g_source_get_priority(source: *mut GSource) -> gint;
}
extern "C" {
pub fn _frida_g_source_set_can_recurse(source: *mut GSource, can_recurse: gboolean);
}
extern "C" {
pub fn _frida_g_source_get_can_recurse(source: *mut GSource) -> gboolean;
}
extern "C" {
pub fn _frida_g_source_get_id(source: *mut GSource) -> guint;
}
extern "C" {
pub fn _frida_g_source_get_context(source: *mut GSource) -> *mut GMainContext;
}
extern "C" {
pub fn _frida_g_source_set_callback(
source: *mut GSource,
func: GSourceFunc,
data: gpointer,
notify: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_source_set_funcs(source: *mut GSource, funcs: *mut GSourceFuncs);
}
extern "C" {
pub fn _frida_g_source_is_destroyed(source: *mut GSource) -> gboolean;
}
extern "C" {
pub fn _frida_g_source_set_name(source: *mut GSource, name: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_source_set_static_name(
source: *mut GSource,
name: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_source_get_name(source: *mut GSource) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_source_set_name_by_id(tag: guint, name: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_source_set_ready_time(source: *mut GSource, ready_time: gint64);
}
extern "C" {
pub fn _frida_g_source_get_ready_time(source: *mut GSource) -> gint64;
}
extern "C" {
pub fn _frida_g_source_add_unix_fd(
source: *mut GSource,
fd: gint,
events: GIOCondition,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_source_modify_unix_fd(
source: *mut GSource,
tag: gpointer,
new_events: GIOCondition,
);
}
extern "C" {
pub fn _frida_g_source_remove_unix_fd(source: *mut GSource, tag: gpointer);
}
extern "C" {
pub fn _frida_g_source_query_unix_fd(source: *mut GSource, tag: gpointer) -> GIOCondition;
}
extern "C" {
pub fn _frida_g_source_set_callback_indirect(
source: *mut GSource,
callback_data: gpointer,
callback_funcs: *mut GSourceCallbackFuncs,
);
}
extern "C" {
pub fn _frida_g_source_add_poll(source: *mut GSource, fd: *mut GPollFD);
}
extern "C" {
pub fn _frida_g_source_remove_poll(source: *mut GSource, fd: *mut GPollFD);
}
extern "C" {
pub fn _frida_g_source_add_child_source(source: *mut GSource, child_source: *mut GSource);
}
extern "C" {
pub fn _frida_g_source_remove_child_source(source: *mut GSource, child_source: *mut GSource);
}
extern "C" {
pub fn _frida_g_source_get_current_time(source: *mut GSource, timeval: *mut GTimeVal);
}
extern "C" {
pub fn _frida_g_source_get_time(source: *mut GSource) -> gint64;
}
extern "C" {
pub fn _frida_g_idle_source_new() -> *mut GSource;
}
extern "C" {
pub fn _frida_g_child_watch_source_new(pid: GPid) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_timeout_source_new(interval: guint) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_timeout_source_new_seconds(interval: guint) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_get_current_time(result: *mut GTimeVal);
}
extern "C" {
pub fn _frida_g_get_monotonic_time() -> gint64;
}
extern "C" {
pub fn _frida_g_get_real_time() -> gint64;
}
extern "C" {
pub fn _frida_g_source_remove(tag: guint) -> gboolean;
}
extern "C" {
pub fn _frida_g_source_remove_by_user_data(user_data: gpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_source_remove_by_funcs_user_data(
funcs: *mut GSourceFuncs,
user_data: gpointer,
) -> gboolean;
}
pub type GClearHandleFunc = ::std::option::Option<unsafe extern "C" fn(handle_id: guint)>;
extern "C" {
pub fn _frida_g_clear_handle_id(tag_ptr: *mut guint, clear_func: GClearHandleFunc);
}
extern "C" {
pub fn _frida_g_timeout_add_full(
priority: gint,
interval: guint,
function: GSourceFunc,
data: gpointer,
notify: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_timeout_add(interval: guint, function: GSourceFunc, data: gpointer) -> guint;
}
extern "C" {
pub fn _frida_g_timeout_add_once(
interval: guint,
function: GSourceOnceFunc,
data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_timeout_add_seconds_full(
priority: gint,
interval: guint,
function: GSourceFunc,
data: gpointer,
notify: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_timeout_add_seconds(
interval: guint,
function: GSourceFunc,
data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_child_watch_add_full(
priority: gint,
pid: GPid,
function: GChildWatchFunc,
data: gpointer,
notify: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_child_watch_add(pid: GPid, function: GChildWatchFunc, data: gpointer) -> guint;
}
extern "C" {
pub fn _frida_g_idle_add(function: GSourceFunc, data: gpointer) -> guint;
}
extern "C" {
pub fn _frida_g_idle_add_full(
priority: gint,
function: GSourceFunc,
data: gpointer,
notify: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_idle_add_once(function: GSourceOnceFunc, data: gpointer) -> guint;
}
extern "C" {
pub fn _frida_g_idle_remove_by_data(data: gpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_main_context_invoke_full(
context: *mut GMainContext,
priority: gint,
function: GSourceFunc,
data: gpointer,
notify: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_main_context_invoke(
context: *mut GMainContext,
function: GSourceFunc,
data: gpointer,
);
}
extern "C" {
pub static mut _frida_g_timeout_funcs: GSourceFuncs;
}
extern "C" {
pub static mut _frida_g_child_watch_funcs: GSourceFuncs;
}
extern "C" {
pub static mut _frida_g_idle_funcs: GSourceFuncs;
}
extern "C" {
pub static mut _frida_g_unix_signal_funcs: GSourceFuncs;
}
extern "C" {
pub static mut _frida_g_unix_fd_source_funcs: GSourceFuncs;
}
pub type gunichar = guint32;
pub type gunichar2 = guint16;
pub const GUnicodeType_G_UNICODE_CONTROL: GUnicodeType = 0;
pub const GUnicodeType_G_UNICODE_FORMAT: GUnicodeType = 1;
pub const GUnicodeType_G_UNICODE_UNASSIGNED: GUnicodeType = 2;
pub const GUnicodeType_G_UNICODE_PRIVATE_USE: GUnicodeType = 3;
pub const GUnicodeType_G_UNICODE_SURROGATE: GUnicodeType = 4;
pub const GUnicodeType_G_UNICODE_LOWERCASE_LETTER: GUnicodeType = 5;
pub const GUnicodeType_G_UNICODE_MODIFIER_LETTER: GUnicodeType = 6;
pub const GUnicodeType_G_UNICODE_OTHER_LETTER: GUnicodeType = 7;
pub const GUnicodeType_G_UNICODE_TITLECASE_LETTER: GUnicodeType = 8;
pub const GUnicodeType_G_UNICODE_UPPERCASE_LETTER: GUnicodeType = 9;
pub const GUnicodeType_G_UNICODE_SPACING_MARK: GUnicodeType = 10;
pub const GUnicodeType_G_UNICODE_ENCLOSING_MARK: GUnicodeType = 11;
pub const GUnicodeType_G_UNICODE_NON_SPACING_MARK: GUnicodeType = 12;
pub const GUnicodeType_G_UNICODE_DECIMAL_NUMBER: GUnicodeType = 13;
pub const GUnicodeType_G_UNICODE_LETTER_NUMBER: GUnicodeType = 14;
pub const GUnicodeType_G_UNICODE_OTHER_NUMBER: GUnicodeType = 15;
pub const GUnicodeType_G_UNICODE_CONNECT_PUNCTUATION: GUnicodeType = 16;
pub const GUnicodeType_G_UNICODE_DASH_PUNCTUATION: GUnicodeType = 17;
pub const GUnicodeType_G_UNICODE_CLOSE_PUNCTUATION: GUnicodeType = 18;
pub const GUnicodeType_G_UNICODE_FINAL_PUNCTUATION: GUnicodeType = 19;
pub const GUnicodeType_G_UNICODE_INITIAL_PUNCTUATION: GUnicodeType = 20;
pub const GUnicodeType_G_UNICODE_OTHER_PUNCTUATION: GUnicodeType = 21;
pub const GUnicodeType_G_UNICODE_OPEN_PUNCTUATION: GUnicodeType = 22;
pub const GUnicodeType_G_UNICODE_CURRENCY_SYMBOL: GUnicodeType = 23;
pub const GUnicodeType_G_UNICODE_MODIFIER_SYMBOL: GUnicodeType = 24;
pub const GUnicodeType_G_UNICODE_MATH_SYMBOL: GUnicodeType = 25;
pub const GUnicodeType_G_UNICODE_OTHER_SYMBOL: GUnicodeType = 26;
pub const GUnicodeType_G_UNICODE_LINE_SEPARATOR: GUnicodeType = 27;
pub const GUnicodeType_G_UNICODE_PARAGRAPH_SEPARATOR: GUnicodeType = 28;
pub const GUnicodeType_G_UNICODE_SPACE_SEPARATOR: GUnicodeType = 29;
pub type GUnicodeType = ::std::os::raw::c_uint;
pub const GUnicodeBreakType_G_UNICODE_BREAK_MANDATORY: GUnicodeBreakType = 0;
pub const GUnicodeBreakType_G_UNICODE_BREAK_CARRIAGE_RETURN: GUnicodeBreakType = 1;
pub const GUnicodeBreakType_G_UNICODE_BREAK_LINE_FEED: GUnicodeBreakType = 2;
pub const GUnicodeBreakType_G_UNICODE_BREAK_COMBINING_MARK: GUnicodeBreakType = 3;
pub const GUnicodeBreakType_G_UNICODE_BREAK_SURROGATE: GUnicodeBreakType = 4;
pub const GUnicodeBreakType_G_UNICODE_BREAK_ZERO_WIDTH_SPACE: GUnicodeBreakType = 5;
pub const GUnicodeBreakType_G_UNICODE_BREAK_INSEPARABLE: GUnicodeBreakType = 6;
pub const GUnicodeBreakType_G_UNICODE_BREAK_NON_BREAKING_GLUE: GUnicodeBreakType = 7;
pub const GUnicodeBreakType_G_UNICODE_BREAK_CONTINGENT: GUnicodeBreakType = 8;
pub const GUnicodeBreakType_G_UNICODE_BREAK_SPACE: GUnicodeBreakType = 9;
pub const GUnicodeBreakType_G_UNICODE_BREAK_AFTER: GUnicodeBreakType = 10;
pub const GUnicodeBreakType_G_UNICODE_BREAK_BEFORE: GUnicodeBreakType = 11;
pub const GUnicodeBreakType_G_UNICODE_BREAK_BEFORE_AND_AFTER: GUnicodeBreakType = 12;
pub const GUnicodeBreakType_G_UNICODE_BREAK_HYPHEN: GUnicodeBreakType = 13;
pub const GUnicodeBreakType_G_UNICODE_BREAK_NON_STARTER: GUnicodeBreakType = 14;
pub const GUnicodeBreakType_G_UNICODE_BREAK_OPEN_PUNCTUATION: GUnicodeBreakType = 15;
pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PUNCTUATION: GUnicodeBreakType = 16;
pub const GUnicodeBreakType_G_UNICODE_BREAK_QUOTATION: GUnicodeBreakType = 17;
pub const GUnicodeBreakType_G_UNICODE_BREAK_EXCLAMATION: GUnicodeBreakType = 18;
pub const GUnicodeBreakType_G_UNICODE_BREAK_IDEOGRAPHIC: GUnicodeBreakType = 19;
pub const GUnicodeBreakType_G_UNICODE_BREAK_NUMERIC: GUnicodeBreakType = 20;
pub const GUnicodeBreakType_G_UNICODE_BREAK_INFIX_SEPARATOR: GUnicodeBreakType = 21;
pub const GUnicodeBreakType_G_UNICODE_BREAK_SYMBOL: GUnicodeBreakType = 22;
pub const GUnicodeBreakType_G_UNICODE_BREAK_ALPHABETIC: GUnicodeBreakType = 23;
pub const GUnicodeBreakType_G_UNICODE_BREAK_PREFIX: GUnicodeBreakType = 24;
pub const GUnicodeBreakType_G_UNICODE_BREAK_POSTFIX: GUnicodeBreakType = 25;
pub const GUnicodeBreakType_G_UNICODE_BREAK_COMPLEX_CONTEXT: GUnicodeBreakType = 26;
pub const GUnicodeBreakType_G_UNICODE_BREAK_AMBIGUOUS: GUnicodeBreakType = 27;
pub const GUnicodeBreakType_G_UNICODE_BREAK_UNKNOWN: GUnicodeBreakType = 28;
pub const GUnicodeBreakType_G_UNICODE_BREAK_NEXT_LINE: GUnicodeBreakType = 29;
pub const GUnicodeBreakType_G_UNICODE_BREAK_WORD_JOINER: GUnicodeBreakType = 30;
pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_L_JAMO: GUnicodeBreakType = 31;
pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_V_JAMO: GUnicodeBreakType = 32;
pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_T_JAMO: GUnicodeBreakType = 33;
pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_LV_SYLLABLE: GUnicodeBreakType = 34;
pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE: GUnicodeBreakType = 35;
pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PARANTHESIS: GUnicodeBreakType = 36;
pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PARENTHESIS: GUnicodeBreakType = 36;
pub const GUnicodeBreakType_G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER: GUnicodeBreakType = 37;
pub const GUnicodeBreakType_G_UNICODE_BREAK_HEBREW_LETTER: GUnicodeBreakType = 38;
pub const GUnicodeBreakType_G_UNICODE_BREAK_REGIONAL_INDICATOR: GUnicodeBreakType = 39;
pub const GUnicodeBreakType_G_UNICODE_BREAK_EMOJI_BASE: GUnicodeBreakType = 40;
pub const GUnicodeBreakType_G_UNICODE_BREAK_EMOJI_MODIFIER: GUnicodeBreakType = 41;
pub const GUnicodeBreakType_G_UNICODE_BREAK_ZERO_WIDTH_JOINER: GUnicodeBreakType = 42;
pub type GUnicodeBreakType = ::std::os::raw::c_uint;
pub const GUnicodeScript_G_UNICODE_SCRIPT_INVALID_CODE: GUnicodeScript = -1;
pub const GUnicodeScript_G_UNICODE_SCRIPT_COMMON: GUnicodeScript = 0;
pub const GUnicodeScript_G_UNICODE_SCRIPT_INHERITED: GUnicodeScript = 1;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ARABIC: GUnicodeScript = 2;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ARMENIAN: GUnicodeScript = 3;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BENGALI: GUnicodeScript = 4;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BOPOMOFO: GUnicodeScript = 5;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CHEROKEE: GUnicodeScript = 6;
pub const GUnicodeScript_G_UNICODE_SCRIPT_COPTIC: GUnicodeScript = 7;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CYRILLIC: GUnicodeScript = 8;
pub const GUnicodeScript_G_UNICODE_SCRIPT_DESERET: GUnicodeScript = 9;
pub const GUnicodeScript_G_UNICODE_SCRIPT_DEVANAGARI: GUnicodeScript = 10;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ETHIOPIC: GUnicodeScript = 11;
pub const GUnicodeScript_G_UNICODE_SCRIPT_GEORGIAN: GUnicodeScript = 12;
pub const GUnicodeScript_G_UNICODE_SCRIPT_GOTHIC: GUnicodeScript = 13;
pub const GUnicodeScript_G_UNICODE_SCRIPT_GREEK: GUnicodeScript = 14;
pub const GUnicodeScript_G_UNICODE_SCRIPT_GUJARATI: GUnicodeScript = 15;
pub const GUnicodeScript_G_UNICODE_SCRIPT_GURMUKHI: GUnicodeScript = 16;
pub const GUnicodeScript_G_UNICODE_SCRIPT_HAN: GUnicodeScript = 17;
pub const GUnicodeScript_G_UNICODE_SCRIPT_HANGUL: GUnicodeScript = 18;
pub const GUnicodeScript_G_UNICODE_SCRIPT_HEBREW: GUnicodeScript = 19;
pub const GUnicodeScript_G_UNICODE_SCRIPT_HIRAGANA: GUnicodeScript = 20;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KANNADA: GUnicodeScript = 21;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KATAKANA: GUnicodeScript = 22;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KHMER: GUnicodeScript = 23;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LAO: GUnicodeScript = 24;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LATIN: GUnicodeScript = 25;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MALAYALAM: GUnicodeScript = 26;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MONGOLIAN: GUnicodeScript = 27;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MYANMAR: GUnicodeScript = 28;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OGHAM: GUnicodeScript = 29;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_ITALIC: GUnicodeScript = 30;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ORIYA: GUnicodeScript = 31;
pub const GUnicodeScript_G_UNICODE_SCRIPT_RUNIC: GUnicodeScript = 32;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SINHALA: GUnicodeScript = 33;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SYRIAC: GUnicodeScript = 34;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TAMIL: GUnicodeScript = 35;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TELUGU: GUnicodeScript = 36;
pub const GUnicodeScript_G_UNICODE_SCRIPT_THAANA: GUnicodeScript = 37;
pub const GUnicodeScript_G_UNICODE_SCRIPT_THAI: GUnicodeScript = 38;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TIBETAN: GUnicodeScript = 39;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL: GUnicodeScript = 40;
pub const GUnicodeScript_G_UNICODE_SCRIPT_YI: GUnicodeScript = 41;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TAGALOG: GUnicodeScript = 42;
pub const GUnicodeScript_G_UNICODE_SCRIPT_HANUNOO: GUnicodeScript = 43;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BUHID: GUnicodeScript = 44;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TAGBANWA: GUnicodeScript = 45;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BRAILLE: GUnicodeScript = 46;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CYPRIOT: GUnicodeScript = 47;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LIMBU: GUnicodeScript = 48;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OSMANYA: GUnicodeScript = 49;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SHAVIAN: GUnicodeScript = 50;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LINEAR_B: GUnicodeScript = 51;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_LE: GUnicodeScript = 52;
pub const GUnicodeScript_G_UNICODE_SCRIPT_UGARITIC: GUnicodeScript = 53;
pub const GUnicodeScript_G_UNICODE_SCRIPT_NEW_TAI_LUE: GUnicodeScript = 54;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BUGINESE: GUnicodeScript = 55;
pub const GUnicodeScript_G_UNICODE_SCRIPT_GLAGOLITIC: GUnicodeScript = 56;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TIFINAGH: GUnicodeScript = 57;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SYLOTI_NAGRI: GUnicodeScript = 58;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_PERSIAN: GUnicodeScript = 59;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KHAROSHTHI: GUnicodeScript = 60;
pub const GUnicodeScript_G_UNICODE_SCRIPT_UNKNOWN: GUnicodeScript = 61;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BALINESE: GUnicodeScript = 62;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CUNEIFORM: GUnicodeScript = 63;
pub const GUnicodeScript_G_UNICODE_SCRIPT_PHOENICIAN: GUnicodeScript = 64;
pub const GUnicodeScript_G_UNICODE_SCRIPT_PHAGS_PA: GUnicodeScript = 65;
pub const GUnicodeScript_G_UNICODE_SCRIPT_NKO: GUnicodeScript = 66;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KAYAH_LI: GUnicodeScript = 67;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LEPCHA: GUnicodeScript = 68;
pub const GUnicodeScript_G_UNICODE_SCRIPT_REJANG: GUnicodeScript = 69;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SUNDANESE: GUnicodeScript = 70;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SAURASHTRA: GUnicodeScript = 71;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CHAM: GUnicodeScript = 72;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OL_CHIKI: GUnicodeScript = 73;
pub const GUnicodeScript_G_UNICODE_SCRIPT_VAI: GUnicodeScript = 74;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CARIAN: GUnicodeScript = 75;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LYCIAN: GUnicodeScript = 76;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LYDIAN: GUnicodeScript = 77;
pub const GUnicodeScript_G_UNICODE_SCRIPT_AVESTAN: GUnicodeScript = 78;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BAMUM: GUnicodeScript = 79;
pub const GUnicodeScript_G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS: GUnicodeScript = 80;
pub const GUnicodeScript_G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC: GUnicodeScript = 81;
pub const GUnicodeScript_G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI: GUnicodeScript = 82;
pub const GUnicodeScript_G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN: GUnicodeScript = 83;
pub const GUnicodeScript_G_UNICODE_SCRIPT_JAVANESE: GUnicodeScript = 84;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KAITHI: GUnicodeScript = 85;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LISU: GUnicodeScript = 86;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MEETEI_MAYEK: GUnicodeScript = 87;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN: GUnicodeScript = 88;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_TURKIC: GUnicodeScript = 89;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SAMARITAN: GUnicodeScript = 90;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_THAM: GUnicodeScript = 91;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_VIET: GUnicodeScript = 92;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BATAK: GUnicodeScript = 93;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BRAHMI: GUnicodeScript = 94;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MANDAIC: GUnicodeScript = 95;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CHAKMA: GUnicodeScript = 96;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MEROITIC_CURSIVE: GUnicodeScript = 97;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS: GUnicodeScript = 98;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MIAO: GUnicodeScript = 99;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SHARADA: GUnicodeScript = 100;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SORA_SOMPENG: GUnicodeScript = 101;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TAKRI: GUnicodeScript = 102;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BASSA_VAH: GUnicodeScript = 103;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN: GUnicodeScript = 104;
pub const GUnicodeScript_G_UNICODE_SCRIPT_DUPLOYAN: GUnicodeScript = 105;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ELBASAN: GUnicodeScript = 106;
pub const GUnicodeScript_G_UNICODE_SCRIPT_GRANTHA: GUnicodeScript = 107;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KHOJKI: GUnicodeScript = 108;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KHUDAWADI: GUnicodeScript = 109;
pub const GUnicodeScript_G_UNICODE_SCRIPT_LINEAR_A: GUnicodeScript = 110;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MAHAJANI: GUnicodeScript = 111;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MANICHAEAN: GUnicodeScript = 112;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MENDE_KIKAKUI: GUnicodeScript = 113;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MODI: GUnicodeScript = 114;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MRO: GUnicodeScript = 115;
pub const GUnicodeScript_G_UNICODE_SCRIPT_NABATAEAN: GUnicodeScript = 116;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN: GUnicodeScript = 117;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_PERMIC: GUnicodeScript = 118;
pub const GUnicodeScript_G_UNICODE_SCRIPT_PAHAWH_HMONG: GUnicodeScript = 119;
pub const GUnicodeScript_G_UNICODE_SCRIPT_PALMYRENE: GUnicodeScript = 120;
pub const GUnicodeScript_G_UNICODE_SCRIPT_PAU_CIN_HAU: GUnicodeScript = 121;
pub const GUnicodeScript_G_UNICODE_SCRIPT_PSALTER_PAHLAVI: GUnicodeScript = 122;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SIDDHAM: GUnicodeScript = 123;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TIRHUTA: GUnicodeScript = 124;
pub const GUnicodeScript_G_UNICODE_SCRIPT_WARANG_CITI: GUnicodeScript = 125;
pub const GUnicodeScript_G_UNICODE_SCRIPT_AHOM: GUnicodeScript = 126;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ANATOLIAN_HIEROGLYPHS: GUnicodeScript = 127;
pub const GUnicodeScript_G_UNICODE_SCRIPT_HATRAN: GUnicodeScript = 128;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MULTANI: GUnicodeScript = 129;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_HUNGARIAN: GUnicodeScript = 130;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SIGNWRITING: GUnicodeScript = 131;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ADLAM: GUnicodeScript = 132;
pub const GUnicodeScript_G_UNICODE_SCRIPT_BHAIKSUKI: GUnicodeScript = 133;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MARCHEN: GUnicodeScript = 134;
pub const GUnicodeScript_G_UNICODE_SCRIPT_NEWA: GUnicodeScript = 135;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OSAGE: GUnicodeScript = 136;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TANGUT: GUnicodeScript = 137;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MASARAM_GONDI: GUnicodeScript = 138;
pub const GUnicodeScript_G_UNICODE_SCRIPT_NUSHU: GUnicodeScript = 139;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SOYOMBO: GUnicodeScript = 140;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ZANABAZAR_SQUARE: GUnicodeScript = 141;
pub const GUnicodeScript_G_UNICODE_SCRIPT_DOGRA: GUnicodeScript = 142;
pub const GUnicodeScript_G_UNICODE_SCRIPT_GUNJALA_GONDI: GUnicodeScript = 143;
pub const GUnicodeScript_G_UNICODE_SCRIPT_HANIFI_ROHINGYA: GUnicodeScript = 144;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MAKASAR: GUnicodeScript = 145;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MEDEFAIDRIN: GUnicodeScript = 146;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_SOGDIAN: GUnicodeScript = 147;
pub const GUnicodeScript_G_UNICODE_SCRIPT_SOGDIAN: GUnicodeScript = 148;
pub const GUnicodeScript_G_UNICODE_SCRIPT_ELYMAIC: GUnicodeScript = 149;
pub const GUnicodeScript_G_UNICODE_SCRIPT_NANDINAGARI: GUnicodeScript = 150;
pub const GUnicodeScript_G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG: GUnicodeScript = 151;
pub const GUnicodeScript_G_UNICODE_SCRIPT_WANCHO: GUnicodeScript = 152;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CHORASMIAN: GUnicodeScript = 153;
pub const GUnicodeScript_G_UNICODE_SCRIPT_DIVES_AKURU: GUnicodeScript = 154;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT: GUnicodeScript = 155;
pub const GUnicodeScript_G_UNICODE_SCRIPT_YEZIDI: GUnicodeScript = 156;
pub const GUnicodeScript_G_UNICODE_SCRIPT_CYPRO_MINOAN: GUnicodeScript = 157;
pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_UYGHUR: GUnicodeScript = 158;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TANGSA: GUnicodeScript = 159;
pub const GUnicodeScript_G_UNICODE_SCRIPT_TOTO: GUnicodeScript = 160;
pub const GUnicodeScript_G_UNICODE_SCRIPT_VITHKUQI: GUnicodeScript = 161;
pub const GUnicodeScript_G_UNICODE_SCRIPT_MATH: GUnicodeScript = 162;
pub const GUnicodeScript_G_UNICODE_SCRIPT_KAWI: GUnicodeScript = 163;
pub const GUnicodeScript_G_UNICODE_SCRIPT_NAG_MUNDARI: GUnicodeScript = 164;
pub type GUnicodeScript = ::std::os::raw::c_int;
extern "C" {
pub fn _frida_g_unicode_script_to_iso15924(script: GUnicodeScript) -> guint32;
}
extern "C" {
pub fn _frida_g_unicode_script_from_iso15924(iso15924: guint32) -> GUnicodeScript;
}
extern "C" {
pub fn _frida_g_unichar_isalnum(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_isalpha(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_iscntrl(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_isdigit(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_isgraph(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_islower(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_isprint(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_ispunct(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_isspace(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_isupper(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_isxdigit(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_istitle(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_isdefined(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_iswide(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_iswide_cjk(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_iszerowidth(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_ismark(c: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_toupper(c: gunichar) -> gunichar;
}
extern "C" {
pub fn _frida_g_unichar_tolower(c: gunichar) -> gunichar;
}
extern "C" {
pub fn _frida_g_unichar_totitle(c: gunichar) -> gunichar;
}
extern "C" {
pub fn _frida_g_unichar_digit_value(c: gunichar) -> gint;
}
extern "C" {
pub fn _frida_g_unichar_xdigit_value(c: gunichar) -> gint;
}
extern "C" {
pub fn _frida_g_unichar_type(c: gunichar) -> GUnicodeType;
}
extern "C" {
pub fn _frida_g_unichar_break_type(c: gunichar) -> GUnicodeBreakType;
}
extern "C" {
pub fn _frida_g_unichar_combining_class(uc: gunichar) -> gint;
}
extern "C" {
pub fn _frida_g_unichar_get_mirror_char(ch: gunichar, mirrored_ch: *mut gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_get_script(ch: gunichar) -> GUnicodeScript;
}
extern "C" {
pub fn _frida_g_unichar_validate(ch: gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_compose(a: gunichar, b: gunichar, ch: *mut gunichar) -> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_decompose(ch: gunichar, a: *mut gunichar, b: *mut gunichar)
-> gboolean;
}
extern "C" {
pub fn _frida_g_unichar_fully_decompose(
ch: gunichar,
compat: gboolean,
result: *mut gunichar,
result_len: gsize,
) -> gsize;
}
extern "C" {
pub fn _frida_g_unicode_canonical_ordering(string: *mut gunichar, len: gsize);
}
extern "C" {
pub fn _frida_g_unicode_canonical_decomposition(
ch: gunichar,
result_len: *mut gsize,
) -> *mut gunichar;
}
extern "C" {
pub static _frida_g_utf8_skip: *const gchar;
}
extern "C" {
pub fn _frida_g_utf8_get_char(p: *const gchar) -> gunichar;
}
extern "C" {
pub fn _frida_g_utf8_get_char_validated(p: *const gchar, max_len: gssize) -> gunichar;
}
extern "C" {
pub fn _frida_g_utf8_offset_to_pointer(str_: *const gchar, offset: glong) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_pointer_to_offset(str_: *const gchar, pos: *const gchar) -> glong;
}
extern "C" {
pub fn _frida_g_utf8_prev_char(p: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_find_next_char(p: *const gchar, end: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_find_prev_char(str_: *const gchar, p: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_strlen(p: *const gchar, max: gssize) -> glong;
}
extern "C" {
pub fn _frida_g_utf8_substring(
str_: *const gchar,
start_pos: glong,
end_pos: glong,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_strncpy(dest: *mut gchar, src: *const gchar, n: gsize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_strchr(p: *const gchar, len: gssize, c: gunichar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_strrchr(p: *const gchar, len: gssize, c: gunichar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_strreverse(str_: *const gchar, len: gssize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_to_utf16(
str_: *const gchar,
len: glong,
items_read: *mut glong,
items_written: *mut glong,
error: *mut *mut GError,
) -> *mut gunichar2;
}
extern "C" {
pub fn _frida_g_utf8_to_ucs4(
str_: *const gchar,
len: glong,
items_read: *mut glong,
items_written: *mut glong,
error: *mut *mut GError,
) -> *mut gunichar;
}
extern "C" {
pub fn _frida_g_utf8_to_ucs4_fast(
str_: *const gchar,
len: glong,
items_written: *mut glong,
) -> *mut gunichar;
}
extern "C" {
pub fn _frida_g_utf16_to_ucs4(
str_: *const gunichar2,
len: glong,
items_read: *mut glong,
items_written: *mut glong,
error: *mut *mut GError,
) -> *mut gunichar;
}
extern "C" {
pub fn _frida_g_utf16_to_utf8(
str_: *const gunichar2,
len: glong,
items_read: *mut glong,
items_written: *mut glong,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_ucs4_to_utf16(
str_: *const gunichar,
len: glong,
items_read: *mut glong,
items_written: *mut glong,
error: *mut *mut GError,
) -> *mut gunichar2;
}
extern "C" {
pub fn _frida_g_ucs4_to_utf8(
str_: *const gunichar,
len: glong,
items_read: *mut glong,
items_written: *mut glong,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_unichar_to_utf8(c: gunichar, outbuf: *mut gchar) -> gint;
}
extern "C" {
pub fn _frida_g_utf8_validate(
str_: *const gchar,
max_len: gssize,
end: *mut *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_utf8_validate_len(
str_: *const gchar,
max_len: gsize,
end: *mut *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_utf8_strup(str_: *const gchar, len: gssize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_strdown(str_: *const gchar, len: gssize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_casefold(str_: *const gchar, len: gssize) -> *mut gchar;
}
pub const GNormalizeMode_G_NORMALIZE_DEFAULT: GNormalizeMode = 0;
pub const GNormalizeMode_G_NORMALIZE_NFD: GNormalizeMode = 0;
pub const GNormalizeMode_G_NORMALIZE_DEFAULT_COMPOSE: GNormalizeMode = 1;
pub const GNormalizeMode_G_NORMALIZE_NFC: GNormalizeMode = 1;
pub const GNormalizeMode_G_NORMALIZE_ALL: GNormalizeMode = 2;
pub const GNormalizeMode_G_NORMALIZE_NFKD: GNormalizeMode = 2;
pub const GNormalizeMode_G_NORMALIZE_ALL_COMPOSE: GNormalizeMode = 3;
pub const GNormalizeMode_G_NORMALIZE_NFKC: GNormalizeMode = 3;
pub type GNormalizeMode = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_utf8_normalize(
str_: *const gchar,
len: gssize,
mode: GNormalizeMode,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_collate(str1: *const gchar, str2: *const gchar) -> gint;
}
extern "C" {
pub fn _frida_g_utf8_collate_key(str_: *const gchar, len: gssize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_collate_key_for_filename(str_: *const gchar, len: gssize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_utf8_make_valid(str_: *const gchar, len: gssize) -> *mut gchar;
}
pub type GString = _GString;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GString {
pub str_: *mut gchar,
pub len: gsize,
pub allocated_len: gsize,
}
extern "C" {
pub fn _frida_g_string_new(init: *const gchar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_new_len(init: *const gchar, len: gssize) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_sized_new(dfl_size: gsize) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_free(string: *mut GString, free_segment: gboolean) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_string_free_to_bytes(string: *mut GString) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_string_equal(v: *const GString, v2: *const GString) -> gboolean;
}
extern "C" {
pub fn _frida_g_string_hash(str_: *const GString) -> guint;
}
extern "C" {
pub fn _frida_g_string_assign(string: *mut GString, rval: *const gchar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_truncate(string: *mut GString, len: gsize) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_set_size(string: *mut GString, len: gsize) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_insert_len(
string: *mut GString,
pos: gssize,
val: *const gchar,
len: gssize,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_append(string: *mut GString, val: *const gchar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_append_len(
string: *mut GString,
val: *const gchar,
len: gssize,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_append_c(string: *mut GString, c: gchar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_append_unichar(string: *mut GString, wc: gunichar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_prepend(string: *mut GString, val: *const gchar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_prepend_c(string: *mut GString, c: gchar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_prepend_unichar(string: *mut GString, wc: gunichar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_prepend_len(
string: *mut GString,
val: *const gchar,
len: gssize,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_insert(
string: *mut GString,
pos: gssize,
val: *const gchar,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_insert_c(string: *mut GString, pos: gssize, c: gchar) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_insert_unichar(
string: *mut GString,
pos: gssize,
wc: gunichar,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_overwrite(
string: *mut GString,
pos: gsize,
val: *const gchar,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_overwrite_len(
string: *mut GString,
pos: gsize,
val: *const gchar,
len: gssize,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_erase(string: *mut GString, pos: gssize, len: gssize) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_replace(
string: *mut GString,
find: *const gchar,
replace: *const gchar,
limit: guint,
) -> guint;
}
extern "C" {
pub fn _frida_g_string_ascii_down(string: *mut GString) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_ascii_up(string: *mut GString) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_vprintf(string: *mut GString, format: *const gchar, args: va_list);
}
extern "C" {
pub fn _frida_g_string_printf(string: *mut GString, format: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_string_append_vprintf(
string: *mut GString,
format: *const gchar,
args: va_list,
);
}
extern "C" {
pub fn _frida_g_string_append_printf(string: *mut GString, format: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_string_append_uri_escaped(
string: *mut GString,
unescaped: *const gchar,
reserved_chars_allowed: *const gchar,
allow_utf8: gboolean,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_down(string: *mut GString) -> *mut GString;
}
extern "C" {
pub fn _frida_g_string_up(string: *mut GString) -> *mut GString;
}
pub type GIOChannel = _GIOChannel;
pub type GIOFuncs = _GIOFuncs;
pub const GIOError_G_IO_ERROR_NONE: GIOError = 0;
pub const GIOError_G_IO_ERROR_AGAIN: GIOError = 1;
pub const GIOError_G_IO_ERROR_INVAL: GIOError = 2;
pub const GIOError_G_IO_ERROR_UNKNOWN: GIOError = 3;
pub type GIOError = ::std::os::raw::c_uint;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_FBIG: GIOChannelError = 0;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_INVAL: GIOChannelError = 1;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_IO: GIOChannelError = 2;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_ISDIR: GIOChannelError = 3;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_NOSPC: GIOChannelError = 4;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_NXIO: GIOChannelError = 5;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_OVERFLOW: GIOChannelError = 6;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_PIPE: GIOChannelError = 7;
pub const GIOChannelError_G_IO_CHANNEL_ERROR_FAILED: GIOChannelError = 8;
pub type GIOChannelError = ::std::os::raw::c_uint;
pub const GIOStatus_G_IO_STATUS_ERROR: GIOStatus = 0;
pub const GIOStatus_G_IO_STATUS_NORMAL: GIOStatus = 1;
pub const GIOStatus_G_IO_STATUS_EOF: GIOStatus = 2;
pub const GIOStatus_G_IO_STATUS_AGAIN: GIOStatus = 3;
pub type GIOStatus = ::std::os::raw::c_uint;
pub const GSeekType_G_SEEK_CUR: GSeekType = 0;
pub const GSeekType_G_SEEK_SET: GSeekType = 1;
pub const GSeekType_G_SEEK_END: GSeekType = 2;
pub type GSeekType = ::std::os::raw::c_uint;
pub const GIOFlags_G_IO_FLAG_NONE: GIOFlags = 0;
pub const GIOFlags_G_IO_FLAG_APPEND: GIOFlags = 1;
pub const GIOFlags_G_IO_FLAG_NONBLOCK: GIOFlags = 2;
pub const GIOFlags_G_IO_FLAG_IS_READABLE: GIOFlags = 4;
pub const GIOFlags_G_IO_FLAG_IS_WRITABLE: GIOFlags = 8;
pub const GIOFlags_G_IO_FLAG_IS_WRITEABLE: GIOFlags = 8;
pub const GIOFlags_G_IO_FLAG_IS_SEEKABLE: GIOFlags = 16;
pub const GIOFlags_G_IO_FLAG_MASK: GIOFlags = 31;
pub const GIOFlags_G_IO_FLAG_GET_MASK: GIOFlags = 31;
pub const GIOFlags_G_IO_FLAG_SET_MASK: GIOFlags = 3;
pub type GIOFlags = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOChannel {
pub ref_count: gint,
pub funcs: *mut GIOFuncs,
pub encoding: *mut gchar,
pub read_cd: GIConv,
pub write_cd: GIConv,
pub line_term: *mut gchar,
pub line_term_len: guint,
pub buf_size: gsize,
pub read_buf: *mut GString,
pub encoded_read_buf: *mut GString,
pub write_buf: *mut GString,
pub partial_write_buf: [gchar; 6usize],
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
pub reserved1: gpointer,
pub reserved2: gpointer,
}
impl _GIOChannel {
#[inline]
pub fn use_buffer(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
}
#[inline]
pub fn set_use_buffer(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn do_encode(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
}
#[inline]
pub fn set_do_encode(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(1usize, 1u8, val as u64)
}
}
#[inline]
pub fn close_on_unref(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
}
#[inline]
pub fn set_close_on_unref(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(2usize, 1u8, val as u64)
}
}
#[inline]
pub fn is_readable(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
}
#[inline]
pub fn set_is_readable(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(3usize, 1u8, val as u64)
}
}
#[inline]
pub fn is_writeable(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
}
#[inline]
pub fn set_is_writeable(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(4usize, 1u8, val as u64)
}
}
#[inline]
pub fn is_seekable(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
}
#[inline]
pub fn set_is_seekable(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(5usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
use_buffer: guint,
do_encode: guint,
close_on_unref: guint,
is_readable: guint,
is_writeable: guint,
is_seekable: guint,
) -> __BindgenBitfieldUnit<[u8; 1usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let use_buffer: u32 = unsafe { ::std::mem::transmute(use_buffer) };
use_buffer as u64
});
__bindgen_bitfield_unit.set(1usize, 1u8, {
let do_encode: u32 = unsafe { ::std::mem::transmute(do_encode) };
do_encode as u64
});
__bindgen_bitfield_unit.set(2usize, 1u8, {
let close_on_unref: u32 = unsafe { ::std::mem::transmute(close_on_unref) };
close_on_unref as u64
});
__bindgen_bitfield_unit.set(3usize, 1u8, {
let is_readable: u32 = unsafe { ::std::mem::transmute(is_readable) };
is_readable as u64
});
__bindgen_bitfield_unit.set(4usize, 1u8, {
let is_writeable: u32 = unsafe { ::std::mem::transmute(is_writeable) };
is_writeable as u64
});
__bindgen_bitfield_unit.set(5usize, 1u8, {
let is_seekable: u32 = unsafe { ::std::mem::transmute(is_seekable) };
is_seekable as u64
});
__bindgen_bitfield_unit
}
}
pub type GIOFunc = ::std::option::Option<
unsafe extern "C" fn(
source: *mut GIOChannel,
condition: GIOCondition,
user_data: gpointer,
) -> gboolean,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOFuncs {
pub io_read: ::std::option::Option<
unsafe extern "C" fn(
channel: *mut GIOChannel,
buf: *mut gchar,
count: gsize,
bytes_read: *mut gsize,
err: *mut *mut GError,
) -> GIOStatus,
>,
pub io_write: ::std::option::Option<
unsafe extern "C" fn(
channel: *mut GIOChannel,
buf: *const gchar,
count: gsize,
bytes_written: *mut gsize,
err: *mut *mut GError,
) -> GIOStatus,
>,
pub io_seek: ::std::option::Option<
unsafe extern "C" fn(
channel: *mut GIOChannel,
offset: gint64,
type_: GSeekType,
err: *mut *mut GError,
) -> GIOStatus,
>,
pub io_close: ::std::option::Option<
unsafe extern "C" fn(channel: *mut GIOChannel, err: *mut *mut GError) -> GIOStatus,
>,
pub io_create_watch: ::std::option::Option<
unsafe extern "C" fn(channel: *mut GIOChannel, condition: GIOCondition) -> *mut GSource,
>,
pub io_free: ::std::option::Option<unsafe extern "C" fn(channel: *mut GIOChannel)>,
pub io_set_flags: ::std::option::Option<
unsafe extern "C" fn(
channel: *mut GIOChannel,
flags: GIOFlags,
err: *mut *mut GError,
) -> GIOStatus,
>,
pub io_get_flags:
::std::option::Option<unsafe extern "C" fn(channel: *mut GIOChannel) -> GIOFlags>,
}
extern "C" {
pub fn _frida_g_io_channel_init(channel: *mut GIOChannel);
}
extern "C" {
pub fn _frida_g_io_channel_ref(channel: *mut GIOChannel) -> *mut GIOChannel;
}
extern "C" {
pub fn _frida_g_io_channel_unref(channel: *mut GIOChannel);
}
extern "C" {
pub fn _frida_g_io_channel_read(
channel: *mut GIOChannel,
buf: *mut gchar,
count: gsize,
bytes_read: *mut gsize,
) -> GIOError;
}
extern "C" {
pub fn _frida_g_io_channel_write(
channel: *mut GIOChannel,
buf: *const gchar,
count: gsize,
bytes_written: *mut gsize,
) -> GIOError;
}
extern "C" {
pub fn _frida_g_io_channel_seek(
channel: *mut GIOChannel,
offset: gint64,
type_: GSeekType,
) -> GIOError;
}
extern "C" {
pub fn _frida_g_io_channel_close(channel: *mut GIOChannel);
}
extern "C" {
pub fn _frida_g_io_channel_shutdown(
channel: *mut GIOChannel,
flush: gboolean,
err: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_add_watch_full(
channel: *mut GIOChannel,
priority: gint,
condition: GIOCondition,
func: GIOFunc,
user_data: gpointer,
notify: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_io_create_watch(
channel: *mut GIOChannel,
condition: GIOCondition,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_io_add_watch(
channel: *mut GIOChannel,
condition: GIOCondition,
func: GIOFunc,
user_data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_io_channel_set_buffer_size(channel: *mut GIOChannel, size: gsize);
}
extern "C" {
pub fn _frida_g_io_channel_get_buffer_size(channel: *mut GIOChannel) -> gsize;
}
extern "C" {
pub fn _frida_g_io_channel_get_buffer_condition(channel: *mut GIOChannel) -> GIOCondition;
}
extern "C" {
pub fn _frida_g_io_channel_set_flags(
channel: *mut GIOChannel,
flags: GIOFlags,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_get_flags(channel: *mut GIOChannel) -> GIOFlags;
}
extern "C" {
pub fn _frida_g_io_channel_set_line_term(
channel: *mut GIOChannel,
line_term: *const gchar,
length: gint,
);
}
extern "C" {
pub fn _frida_g_io_channel_get_line_term(
channel: *mut GIOChannel,
length: *mut gint,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_io_channel_set_buffered(channel: *mut GIOChannel, buffered: gboolean);
}
extern "C" {
pub fn _frida_g_io_channel_get_buffered(channel: *mut GIOChannel) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_channel_set_encoding(
channel: *mut GIOChannel,
encoding: *const gchar,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_get_encoding(channel: *mut GIOChannel) -> *const gchar;
}
extern "C" {
pub fn _frida_g_io_channel_set_close_on_unref(channel: *mut GIOChannel, do_close: gboolean);
}
extern "C" {
pub fn _frida_g_io_channel_get_close_on_unref(channel: *mut GIOChannel) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_channel_flush(
channel: *mut GIOChannel,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_read_line(
channel: *mut GIOChannel,
str_return: *mut *mut gchar,
length: *mut gsize,
terminator_pos: *mut gsize,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_read_line_string(
channel: *mut GIOChannel,
buffer: *mut GString,
terminator_pos: *mut gsize,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_read_to_end(
channel: *mut GIOChannel,
str_return: *mut *mut gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_read_chars(
channel: *mut GIOChannel,
buf: *mut gchar,
count: gsize,
bytes_read: *mut gsize,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_read_unichar(
channel: *mut GIOChannel,
thechar: *mut gunichar,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_write_chars(
channel: *mut GIOChannel,
buf: *const gchar,
count: gssize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_write_unichar(
channel: *mut GIOChannel,
thechar: gunichar,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_seek_position(
channel: *mut GIOChannel,
offset: gint64,
type_: GSeekType,
error: *mut *mut GError,
) -> GIOStatus;
}
extern "C" {
pub fn _frida_g_io_channel_new_file(
filename: *const gchar,
mode: *const gchar,
error: *mut *mut GError,
) -> *mut GIOChannel;
}
extern "C" {
pub fn _frida_g_io_channel_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_io_channel_error_from_errno(en: gint) -> GIOChannelError;
}
extern "C" {
pub fn _frida_g_io_channel_unix_new(fd: ::std::os::raw::c_int) -> *mut GIOChannel;
}
extern "C" {
pub fn _frida_g_io_channel_unix_get_fd(channel: *mut GIOChannel) -> gint;
}
extern "C" {
pub static mut _frida_g_io_watch_funcs: GSourceFuncs;
}
pub const GKeyFileError_G_KEY_FILE_ERROR_UNKNOWN_ENCODING: GKeyFileError = 0;
pub const GKeyFileError_G_KEY_FILE_ERROR_PARSE: GKeyFileError = 1;
pub const GKeyFileError_G_KEY_FILE_ERROR_NOT_FOUND: GKeyFileError = 2;
pub const GKeyFileError_G_KEY_FILE_ERROR_KEY_NOT_FOUND: GKeyFileError = 3;
pub const GKeyFileError_G_KEY_FILE_ERROR_GROUP_NOT_FOUND: GKeyFileError = 4;
pub const GKeyFileError_G_KEY_FILE_ERROR_INVALID_VALUE: GKeyFileError = 5;
pub type GKeyFileError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_key_file_error_quark() -> GQuark;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GKeyFile {
_unused: [u8; 0],
}
pub type GKeyFile = _GKeyFile;
pub const GKeyFileFlags_G_KEY_FILE_NONE: GKeyFileFlags = 0;
pub const GKeyFileFlags_G_KEY_FILE_KEEP_COMMENTS: GKeyFileFlags = 1;
pub const GKeyFileFlags_G_KEY_FILE_KEEP_TRANSLATIONS: GKeyFileFlags = 2;
pub type GKeyFileFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_key_file_new() -> *mut GKeyFile;
}
extern "C" {
pub fn _frida_g_key_file_ref(key_file: *mut GKeyFile) -> *mut GKeyFile;
}
extern "C" {
pub fn _frida_g_key_file_unref(key_file: *mut GKeyFile);
}
extern "C" {
pub fn _frida_g_key_file_free(key_file: *mut GKeyFile);
}
extern "C" {
pub fn _frida_g_key_file_set_list_separator(key_file: *mut GKeyFile, separator: gchar);
}
extern "C" {
pub fn _frida_g_key_file_load_from_file(
key_file: *mut GKeyFile,
file: *const gchar,
flags: GKeyFileFlags,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_load_from_data(
key_file: *mut GKeyFile,
data: *const gchar,
length: gsize,
flags: GKeyFileFlags,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_load_from_bytes(
key_file: *mut GKeyFile,
bytes: *mut GBytes,
flags: GKeyFileFlags,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_load_from_dirs(
key_file: *mut GKeyFile,
file: *const gchar,
search_dirs: *mut *const gchar,
full_path: *mut *mut gchar,
flags: GKeyFileFlags,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_load_from_data_dirs(
key_file: *mut GKeyFile,
file: *const gchar,
full_path: *mut *mut gchar,
flags: GKeyFileFlags,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_to_data(
key_file: *mut GKeyFile,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_save_to_file(
key_file: *mut GKeyFile,
filename: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_get_start_group(key_file: *mut GKeyFile) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_get_groups(
key_file: *mut GKeyFile,
length: *mut gsize,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_get_keys(
key_file: *mut GKeyFile,
group_name: *const gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_has_group(
key_file: *mut GKeyFile,
group_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_has_key(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_get_value(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_set_value(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
value: *const gchar,
);
}
extern "C" {
pub fn _frida_g_key_file_get_string(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_set_string(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
string: *const gchar,
);
}
extern "C" {
pub fn _frida_g_key_file_get_locale_string(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
locale: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_get_locale_for_key(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
locale: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_set_locale_string(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
locale: *const gchar,
string: *const gchar,
);
}
extern "C" {
pub fn _frida_g_key_file_get_boolean(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_set_boolean(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
value: gboolean,
);
}
extern "C" {
pub fn _frida_g_key_file_get_integer(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_key_file_set_integer(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
value: gint,
);
}
extern "C" {
pub fn _frida_g_key_file_get_int64(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> gint64;
}
extern "C" {
pub fn _frida_g_key_file_set_int64(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
value: gint64,
);
}
extern "C" {
pub fn _frida_g_key_file_get_uint64(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> guint64;
}
extern "C" {
pub fn _frida_g_key_file_set_uint64(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
value: guint64,
);
}
extern "C" {
pub fn _frida_g_key_file_get_double(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> gdouble;
}
extern "C" {
pub fn _frida_g_key_file_set_double(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
value: gdouble,
);
}
extern "C" {
pub fn _frida_g_key_file_get_string_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_set_string_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
list: *const *const gchar,
length: gsize,
);
}
extern "C" {
pub fn _frida_g_key_file_get_locale_string_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
locale: *const gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_set_locale_string_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
locale: *const gchar,
list: *const *const gchar,
length: gsize,
);
}
extern "C" {
pub fn _frida_g_key_file_get_boolean_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut gboolean;
}
extern "C" {
pub fn _frida_g_key_file_set_boolean_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
list: *mut gboolean,
length: gsize,
);
}
extern "C" {
pub fn _frida_g_key_file_get_integer_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut gint;
}
extern "C" {
pub fn _frida_g_key_file_set_double_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
list: *mut gdouble,
length: gsize,
);
}
extern "C" {
pub fn _frida_g_key_file_get_double_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut gdouble;
}
extern "C" {
pub fn _frida_g_key_file_set_integer_list(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
list: *mut gint,
length: gsize,
);
}
extern "C" {
pub fn _frida_g_key_file_set_comment(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
comment: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_get_comment(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_key_file_remove_comment(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_remove_key(
key_file: *mut GKeyFile,
group_name: *const gchar,
key: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_key_file_remove_group(
key_file: *mut GKeyFile,
group_name: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMappedFile {
_unused: [u8; 0],
}
pub type GMappedFile = _GMappedFile;
extern "C" {
pub fn _frida_g_mapped_file_new(
filename: *const gchar,
writable: gboolean,
error: *mut *mut GError,
) -> *mut GMappedFile;
}
extern "C" {
pub fn _frida_g_mapped_file_new_from_fd(
fd: gint,
writable: gboolean,
error: *mut *mut GError,
) -> *mut GMappedFile;
}
extern "C" {
pub fn _frida_g_mapped_file_get_length(file: *mut GMappedFile) -> gsize;
}
extern "C" {
pub fn _frida_g_mapped_file_get_contents(file: *mut GMappedFile) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_mapped_file_get_bytes(file: *mut GMappedFile) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_mapped_file_ref(file: *mut GMappedFile) -> *mut GMappedFile;
}
extern "C" {
pub fn _frida_g_mapped_file_unref(file: *mut GMappedFile);
}
extern "C" {
pub fn _frida_g_mapped_file_free(file: *mut GMappedFile);
}
pub const GMarkupError_G_MARKUP_ERROR_BAD_UTF8: GMarkupError = 0;
pub const GMarkupError_G_MARKUP_ERROR_EMPTY: GMarkupError = 1;
pub const GMarkupError_G_MARKUP_ERROR_PARSE: GMarkupError = 2;
pub const GMarkupError_G_MARKUP_ERROR_UNKNOWN_ELEMENT: GMarkupError = 3;
pub const GMarkupError_G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE: GMarkupError = 4;
pub const GMarkupError_G_MARKUP_ERROR_INVALID_CONTENT: GMarkupError = 5;
pub const GMarkupError_G_MARKUP_ERROR_MISSING_ATTRIBUTE: GMarkupError = 6;
pub type GMarkupError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_markup_error_quark() -> GQuark;
}
pub const GMarkupParseFlags_G_MARKUP_DEFAULT_FLAGS: GMarkupParseFlags = 0;
pub const GMarkupParseFlags_G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG: GMarkupParseFlags = 1;
pub const GMarkupParseFlags_G_MARKUP_TREAT_CDATA_AS_TEXT: GMarkupParseFlags = 2;
pub const GMarkupParseFlags_G_MARKUP_PREFIX_ERROR_POSITION: GMarkupParseFlags = 4;
pub const GMarkupParseFlags_G_MARKUP_IGNORE_QUALIFIED: GMarkupParseFlags = 8;
pub type GMarkupParseFlags = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMarkupParseContext {
_unused: [u8; 0],
}
pub type GMarkupParseContext = _GMarkupParseContext;
pub type GMarkupParser = _GMarkupParser;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMarkupParser {
pub start_element: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GMarkupParseContext,
element_name: *const gchar,
attribute_names: *mut *const gchar,
attribute_values: *mut *const gchar,
user_data: gpointer,
error: *mut *mut GError,
),
>,
pub end_element: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GMarkupParseContext,
element_name: *const gchar,
user_data: gpointer,
error: *mut *mut GError,
),
>,
pub text: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GMarkupParseContext,
text: *const gchar,
text_len: gsize,
user_data: gpointer,
error: *mut *mut GError,
),
>,
pub passthrough: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GMarkupParseContext,
passthrough_text: *const gchar,
text_len: gsize,
user_data: gpointer,
error: *mut *mut GError,
),
>,
pub error: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GMarkupParseContext,
error: *mut GError,
user_data: gpointer,
),
>,
}
extern "C" {
pub fn _frida_g_markup_parse_context_new(
parser: *const GMarkupParser,
flags: GMarkupParseFlags,
user_data: gpointer,
user_data_dnotify: GDestroyNotify,
) -> *mut GMarkupParseContext;
}
extern "C" {
pub fn _frida_g_markup_parse_context_ref(
context: *mut GMarkupParseContext,
) -> *mut GMarkupParseContext;
}
extern "C" {
pub fn _frida_g_markup_parse_context_unref(context: *mut GMarkupParseContext);
}
extern "C" {
pub fn _frida_g_markup_parse_context_free(context: *mut GMarkupParseContext);
}
extern "C" {
pub fn _frida_g_markup_parse_context_parse(
context: *mut GMarkupParseContext,
text: *const gchar,
text_len: gssize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_markup_parse_context_push(
context: *mut GMarkupParseContext,
parser: *const GMarkupParser,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_markup_parse_context_pop(context: *mut GMarkupParseContext) -> gpointer;
}
extern "C" {
pub fn _frida_g_markup_parse_context_end_parse(
context: *mut GMarkupParseContext,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_markup_parse_context_get_element(
context: *mut GMarkupParseContext,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_markup_parse_context_get_element_stack(
context: *mut GMarkupParseContext,
) -> *const GSList;
}
extern "C" {
pub fn _frida_g_markup_parse_context_get_position(
context: *mut GMarkupParseContext,
line_number: *mut gint,
char_number: *mut gint,
);
}
extern "C" {
pub fn _frida_g_markup_parse_context_get_user_data(
context: *mut GMarkupParseContext,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_markup_escape_text(text: *const gchar, length: gssize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_markup_printf_escaped(format: *const ::std::os::raw::c_char, ...)
-> *mut gchar;
}
extern "C" {
pub fn _frida_g_markup_vprintf_escaped(
format: *const ::std::os::raw::c_char,
args: va_list,
) -> *mut gchar;
}
pub const GMarkupCollectType_G_MARKUP_COLLECT_INVALID: GMarkupCollectType = 0;
pub const GMarkupCollectType_G_MARKUP_COLLECT_STRING: GMarkupCollectType = 1;
pub const GMarkupCollectType_G_MARKUP_COLLECT_STRDUP: GMarkupCollectType = 2;
pub const GMarkupCollectType_G_MARKUP_COLLECT_BOOLEAN: GMarkupCollectType = 3;
pub const GMarkupCollectType_G_MARKUP_COLLECT_TRISTATE: GMarkupCollectType = 4;
pub const GMarkupCollectType_G_MARKUP_COLLECT_OPTIONAL: GMarkupCollectType = 65536;
pub type GMarkupCollectType = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_markup_collect_attributes(
element_name: *const gchar,
attribute_names: *mut *const gchar,
attribute_values: *mut *const gchar,
error: *mut *mut GError,
first_type: GMarkupCollectType,
first_attr: *const gchar,
...
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVariantType {
_unused: [u8; 0],
}
pub type GVariantType = _GVariantType;
extern "C" {
pub fn _frida_g_variant_type_string_is_valid(type_string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_string_scan(
string: *const gchar,
limit: *const gchar,
endptr: *mut *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_free(type_: *mut GVariantType);
}
extern "C" {
pub fn _frida_g_variant_type_copy(type_: *const GVariantType) -> *mut GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_new(type_string: *const gchar) -> *mut GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_get_string_length(type_: *const GVariantType) -> gsize;
}
extern "C" {
pub fn _frida_g_variant_type_peek_string(type_: *const GVariantType) -> *const gchar;
}
extern "C" {
pub fn _frida_g_variant_type_dup_string(type_: *const GVariantType) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_variant_type_is_definite(type_: *const GVariantType) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_is_container(type_: *const GVariantType) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_is_basic(type_: *const GVariantType) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_is_maybe(type_: *const GVariantType) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_is_array(type_: *const GVariantType) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_is_tuple(type_: *const GVariantType) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_is_dict_entry(type_: *const GVariantType) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_is_variant(type_: *const GVariantType) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_hash(type_: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_variant_type_equal(type1: gconstpointer, type2: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_is_subtype_of(
type_: *const GVariantType,
supertype: *const GVariantType,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_type_element(type_: *const GVariantType) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_first(type_: *const GVariantType) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_next(type_: *const GVariantType) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_n_items(type_: *const GVariantType) -> gsize;
}
extern "C" {
pub fn _frida_g_variant_type_key(type_: *const GVariantType) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_value(type_: *const GVariantType) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_new_array(element: *const GVariantType) -> *mut GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_new_maybe(element: *const GVariantType) -> *mut GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_new_tuple(
items: *const *const GVariantType,
length: gint,
) -> *mut GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_new_dict_entry(
key: *const GVariantType,
value: *const GVariantType,
) -> *mut GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_checked_(arg1: *const gchar) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_variant_type_string_get_depth_(type_string: *const gchar) -> gsize;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVariant {
_unused: [u8; 0],
}
pub type GVariant = _GVariant;
pub const GVariantClass_G_VARIANT_CLASS_BOOLEAN: GVariantClass = 98;
pub const GVariantClass_G_VARIANT_CLASS_BYTE: GVariantClass = 121;
pub const GVariantClass_G_VARIANT_CLASS_INT16: GVariantClass = 110;
pub const GVariantClass_G_VARIANT_CLASS_UINT16: GVariantClass = 113;
pub const GVariantClass_G_VARIANT_CLASS_INT32: GVariantClass = 105;
pub const GVariantClass_G_VARIANT_CLASS_UINT32: GVariantClass = 117;
pub const GVariantClass_G_VARIANT_CLASS_INT64: GVariantClass = 120;
pub const GVariantClass_G_VARIANT_CLASS_UINT64: GVariantClass = 116;
pub const GVariantClass_G_VARIANT_CLASS_HANDLE: GVariantClass = 104;
pub const GVariantClass_G_VARIANT_CLASS_DOUBLE: GVariantClass = 100;
pub const GVariantClass_G_VARIANT_CLASS_STRING: GVariantClass = 115;
pub const GVariantClass_G_VARIANT_CLASS_OBJECT_PATH: GVariantClass = 111;
pub const GVariantClass_G_VARIANT_CLASS_SIGNATURE: GVariantClass = 103;
pub const GVariantClass_G_VARIANT_CLASS_VARIANT: GVariantClass = 118;
pub const GVariantClass_G_VARIANT_CLASS_MAYBE: GVariantClass = 109;
pub const GVariantClass_G_VARIANT_CLASS_ARRAY: GVariantClass = 97;
pub const GVariantClass_G_VARIANT_CLASS_TUPLE: GVariantClass = 40;
pub const GVariantClass_G_VARIANT_CLASS_DICT_ENTRY: GVariantClass = 123;
pub type GVariantClass = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_variant_unref(value: *mut GVariant);
}
extern "C" {
pub fn _frida_g_variant_ref(value: *mut GVariant) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_ref_sink(value: *mut GVariant) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_is_floating(value: *mut GVariant) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_take_ref(value: *mut GVariant) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_get_type(value: *mut GVariant) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_variant_get_type_string(value: *mut GVariant) -> *const gchar;
}
extern "C" {
pub fn _frida_g_variant_is_of_type(
value: *mut GVariant,
type_: *const GVariantType,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_is_container(value: *mut GVariant) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_classify(value: *mut GVariant) -> GVariantClass;
}
extern "C" {
pub fn _frida_g_variant_new_boolean(value: gboolean) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_byte(value: guint8) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_int16(value: gint16) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_uint16(value: guint16) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_int32(value: gint32) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_uint32(value: guint32) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_int64(value: gint64) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_uint64(value: guint64) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_handle(value: gint32) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_double(value: gdouble) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_string(string: *const gchar) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_take_string(string: *mut gchar) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_printf(format_string: *const gchar, ...) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_object_path(object_path: *const gchar) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_is_object_path(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_new_signature(signature: *const gchar) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_is_signature(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_new_variant(value: *mut GVariant) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_strv(strv: *const *const gchar, length: gssize) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_objv(strv: *const *const gchar, length: gssize) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_bytestring(string: *const gchar) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_bytestring_array(
strv: *const *const gchar,
length: gssize,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_fixed_array(
element_type: *const GVariantType,
elements: gconstpointer,
n_elements: gsize,
element_size: gsize,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_get_boolean(value: *mut GVariant) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_get_byte(value: *mut GVariant) -> guint8;
}
extern "C" {
pub fn _frida_g_variant_get_int16(value: *mut GVariant) -> gint16;
}
extern "C" {
pub fn _frida_g_variant_get_uint16(value: *mut GVariant) -> guint16;
}
extern "C" {
pub fn _frida_g_variant_get_int32(value: *mut GVariant) -> gint32;
}
extern "C" {
pub fn _frida_g_variant_get_uint32(value: *mut GVariant) -> guint32;
}
extern "C" {
pub fn _frida_g_variant_get_int64(value: *mut GVariant) -> gint64;
}
extern "C" {
pub fn _frida_g_variant_get_uint64(value: *mut GVariant) -> guint64;
}
extern "C" {
pub fn _frida_g_variant_get_handle(value: *mut GVariant) -> gint32;
}
extern "C" {
pub fn _frida_g_variant_get_double(value: *mut GVariant) -> gdouble;
}
extern "C" {
pub fn _frida_g_variant_get_variant(value: *mut GVariant) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_get_string(value: *mut GVariant, length: *mut gsize) -> *const gchar;
}
extern "C" {
pub fn _frida_g_variant_dup_string(value: *mut GVariant, length: *mut gsize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_variant_get_strv(value: *mut GVariant, length: *mut gsize)
-> *mut *const gchar;
}
extern "C" {
pub fn _frida_g_variant_dup_strv(value: *mut GVariant, length: *mut gsize) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_variant_get_objv(value: *mut GVariant, length: *mut gsize)
-> *mut *const gchar;
}
extern "C" {
pub fn _frida_g_variant_dup_objv(value: *mut GVariant, length: *mut gsize) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_variant_get_bytestring(value: *mut GVariant) -> *const gchar;
}
extern "C" {
pub fn _frida_g_variant_dup_bytestring(value: *mut GVariant, length: *mut gsize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_variant_get_bytestring_array(
value: *mut GVariant,
length: *mut gsize,
) -> *mut *const gchar;
}
extern "C" {
pub fn _frida_g_variant_dup_bytestring_array(
value: *mut GVariant,
length: *mut gsize,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_variant_new_maybe(
child_type: *const GVariantType,
child: *mut GVariant,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_array(
child_type: *const GVariantType,
children: *const *mut GVariant,
n_children: gsize,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_tuple(
children: *const *mut GVariant,
n_children: gsize,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_dict_entry(
key: *mut GVariant,
value: *mut GVariant,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_get_maybe(value: *mut GVariant) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_n_children(value: *mut GVariant) -> gsize;
}
extern "C" {
pub fn _frida_g_variant_get_child(
value: *mut GVariant,
index_: gsize,
format_string: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_variant_get_child_value(value: *mut GVariant, index_: gsize) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_lookup(
dictionary: *mut GVariant,
key: *const gchar,
format_string: *const gchar,
...
) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_lookup_value(
dictionary: *mut GVariant,
key: *const gchar,
expected_type: *const GVariantType,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_get_fixed_array(
value: *mut GVariant,
n_elements: *mut gsize,
element_size: gsize,
) -> gconstpointer;
}
extern "C" {
pub fn _frida_g_variant_get_size(value: *mut GVariant) -> gsize;
}
extern "C" {
pub fn _frida_g_variant_get_data(value: *mut GVariant) -> gconstpointer;
}
extern "C" {
pub fn _frida_g_variant_get_data_as_bytes(value: *mut GVariant) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_variant_store(value: *mut GVariant, data: gpointer);
}
extern "C" {
pub fn _frida_g_variant_print(value: *mut GVariant, type_annotate: gboolean) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_variant_print_string(
value: *mut GVariant,
string: *mut GString,
type_annotate: gboolean,
) -> *mut GString;
}
extern "C" {
pub fn _frida_g_variant_hash(value: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_variant_equal(one: gconstpointer, two: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_get_normal_form(value: *mut GVariant) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_is_normal_form(value: *mut GVariant) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_byteswap(value: *mut GVariant) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_from_bytes(
type_: *const GVariantType,
bytes: *mut GBytes,
trusted: gboolean,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_from_data(
type_: *const GVariantType,
data: gconstpointer,
size: gsize,
trusted: gboolean,
notify: GDestroyNotify,
user_data: gpointer,
) -> *mut GVariant;
}
pub type GVariantIter = _GVariantIter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVariantIter {
pub x: [gsize; 16usize],
}
extern "C" {
pub fn _frida_g_variant_iter_new(value: *mut GVariant) -> *mut GVariantIter;
}
extern "C" {
pub fn _frida_g_variant_iter_init(iter: *mut GVariantIter, value: *mut GVariant) -> gsize;
}
extern "C" {
pub fn _frida_g_variant_iter_copy(iter: *mut GVariantIter) -> *mut GVariantIter;
}
extern "C" {
pub fn _frida_g_variant_iter_n_children(iter: *mut GVariantIter) -> gsize;
}
extern "C" {
pub fn _frida_g_variant_iter_free(iter: *mut GVariantIter);
}
extern "C" {
pub fn _frida_g_variant_iter_next_value(iter: *mut GVariantIter) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_iter_next(
iter: *mut GVariantIter,
format_string: *const gchar,
...
) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_iter_loop(
iter: *mut GVariantIter,
format_string: *const gchar,
...
) -> gboolean;
}
pub type GVariantBuilder = _GVariantBuilder;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _GVariantBuilder {
pub u: _GVariantBuilder__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _GVariantBuilder__bindgen_ty_1 {
pub s: _GVariantBuilder__bindgen_ty_1__bindgen_ty_1,
pub x: [gsize; 16usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVariantBuilder__bindgen_ty_1__bindgen_ty_1 {
pub partial_magic: gsize,
pub type_: *const GVariantType,
pub y: [gsize; 14usize],
}
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_FAILED: GVariantParseError = 0;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED: GVariantParseError = 1;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE: GVariantParseError = 2;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED: GVariantParseError = 3;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END: GVariantParseError = 4;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_CHARACTER: GVariantParseError = 5;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING: GVariantParseError = 6;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH: GVariantParseError = 7;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE: GVariantParseError = 8;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING: GVariantParseError = 9;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE: GVariantParseError = 10;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE: GVariantParseError = 11;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG: GVariantParseError = 12;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_TYPE_ERROR: GVariantParseError = 13;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN: GVariantParseError = 14;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD: GVariantParseError = 15;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT:
GVariantParseError = 16;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_VALUE_EXPECTED: GVariantParseError = 17;
pub const GVariantParseError_G_VARIANT_PARSE_ERROR_RECURSION: GVariantParseError = 18;
pub type GVariantParseError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_variant_parser_get_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_variant_parse_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_variant_builder_new(type_: *const GVariantType) -> *mut GVariantBuilder;
}
extern "C" {
pub fn _frida_g_variant_builder_unref(builder: *mut GVariantBuilder);
}
extern "C" {
pub fn _frida_g_variant_builder_ref(builder: *mut GVariantBuilder) -> *mut GVariantBuilder;
}
extern "C" {
pub fn _frida_g_variant_builder_init(builder: *mut GVariantBuilder, type_: *const GVariantType);
}
extern "C" {
pub fn _frida_g_variant_builder_end(builder: *mut GVariantBuilder) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_builder_clear(builder: *mut GVariantBuilder);
}
extern "C" {
pub fn _frida_g_variant_builder_open(builder: *mut GVariantBuilder, type_: *const GVariantType);
}
extern "C" {
pub fn _frida_g_variant_builder_close(builder: *mut GVariantBuilder);
}
extern "C" {
pub fn _frida_g_variant_builder_add_value(builder: *mut GVariantBuilder, value: *mut GVariant);
}
extern "C" {
pub fn _frida_g_variant_builder_add(
builder: *mut GVariantBuilder,
format_string: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_variant_builder_add_parsed(
builder: *mut GVariantBuilder,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_variant_new(format_string: *const gchar, ...) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_get(value: *mut GVariant, format_string: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_variant_new_va(
format_string: *const gchar,
endptr: *mut *const gchar,
app: *mut va_list,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_get_va(
value: *mut GVariant,
format_string: *const gchar,
endptr: *mut *const gchar,
app: *mut va_list,
);
}
extern "C" {
pub fn _frida_g_variant_check_format_string(
value: *mut GVariant,
format_string: *const gchar,
copy_only: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_parse(
type_: *const GVariantType,
text: *const gchar,
limit: *const gchar,
endptr: *mut *const gchar,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_parsed(format: *const gchar, ...) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_new_parsed_va(format: *const gchar, app: *mut va_list)
-> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_parse_error_print_context(
error: *mut GError,
source_str: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_variant_compare(one: gconstpointer, two: gconstpointer) -> gint;
}
pub type GVariantDict = _GVariantDict;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _GVariantDict {
pub u: _GVariantDict__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _GVariantDict__bindgen_ty_1 {
pub s: _GVariantDict__bindgen_ty_1__bindgen_ty_1,
pub x: [gsize; 16usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVariantDict__bindgen_ty_1__bindgen_ty_1 {
pub asv: *mut GVariant,
pub partial_magic: gsize,
pub y: [gsize; 14usize],
}
extern "C" {
pub fn _frida_g_variant_dict_new(from_asv: *mut GVariant) -> *mut GVariantDict;
}
extern "C" {
pub fn _frida_g_variant_dict_init(dict: *mut GVariantDict, from_asv: *mut GVariant);
}
extern "C" {
pub fn _frida_g_variant_dict_lookup(
dict: *mut GVariantDict,
key: *const gchar,
format_string: *const gchar,
...
) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_dict_lookup_value(
dict: *mut GVariantDict,
key: *const gchar,
expected_type: *const GVariantType,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_dict_contains(dict: *mut GVariantDict, key: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_dict_insert(
dict: *mut GVariantDict,
key: *const gchar,
format_string: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_variant_dict_insert_value(
dict: *mut GVariantDict,
key: *const gchar,
value: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_variant_dict_remove(dict: *mut GVariantDict, key: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_variant_dict_clear(dict: *mut GVariantDict);
}
extern "C" {
pub fn _frida_g_variant_dict_end(dict: *mut GVariantDict) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_variant_dict_ref(dict: *mut GVariantDict) -> *mut GVariantDict;
}
extern "C" {
pub fn _frida_g_variant_dict_unref(dict: *mut GVariantDict);
}
extern "C" {
pub fn _frida_g_printf_string_upper_bound(format: *const gchar, args: va_list) -> gsize;
}
pub const GLogLevelFlags_G_LOG_FLAG_RECURSION: GLogLevelFlags = 1;
pub const GLogLevelFlags_G_LOG_FLAG_FATAL: GLogLevelFlags = 2;
pub const GLogLevelFlags_G_LOG_LEVEL_ERROR: GLogLevelFlags = 4;
pub const GLogLevelFlags_G_LOG_LEVEL_CRITICAL: GLogLevelFlags = 8;
pub const GLogLevelFlags_G_LOG_LEVEL_WARNING: GLogLevelFlags = 16;
pub const GLogLevelFlags_G_LOG_LEVEL_MESSAGE: GLogLevelFlags = 32;
pub const GLogLevelFlags_G_LOG_LEVEL_INFO: GLogLevelFlags = 64;
pub const GLogLevelFlags_G_LOG_LEVEL_DEBUG: GLogLevelFlags = 128;
pub const GLogLevelFlags_G_LOG_LEVEL_MASK: GLogLevelFlags = -4;
pub type GLogLevelFlags = ::std::os::raw::c_int;
pub type GLogFunc = ::std::option::Option<
unsafe extern "C" fn(
log_domain: *const gchar,
log_level: GLogLevelFlags,
message: *const gchar,
user_data: gpointer,
),
>;
extern "C" {
pub fn _frida_g_log_set_handler(
log_domain: *const gchar,
log_levels: GLogLevelFlags,
log_func: GLogFunc,
user_data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_log_set_handler_full(
log_domain: *const gchar,
log_levels: GLogLevelFlags,
log_func: GLogFunc,
user_data: gpointer,
destroy: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_log_remove_handler(log_domain: *const gchar, handler_id: guint);
}
extern "C" {
pub fn _frida_g_log_default_handler(
log_domain: *const gchar,
log_level: GLogLevelFlags,
message: *const gchar,
unused_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_log_set_default_handler(log_func: GLogFunc, user_data: gpointer) -> GLogFunc;
}
extern "C" {
pub fn _frida_g_log(
log_domain: *const gchar,
log_level: GLogLevelFlags,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_logv(
log_domain: *const gchar,
log_level: GLogLevelFlags,
format: *const gchar,
args: va_list,
);
}
extern "C" {
pub fn _frida_g_log_set_fatal_mask(
log_domain: *const gchar,
fatal_mask: GLogLevelFlags,
) -> GLogLevelFlags;
}
extern "C" {
pub fn _frida_g_log_set_always_fatal(fatal_mask: GLogLevelFlags) -> GLogLevelFlags;
}
pub const GLogWriterOutput_G_LOG_WRITER_HANDLED: GLogWriterOutput = 1;
pub const GLogWriterOutput_G_LOG_WRITER_UNHANDLED: GLogWriterOutput = 0;
pub type GLogWriterOutput = ::std::os::raw::c_uint;
pub type GLogField = _GLogField;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GLogField {
pub key: *const gchar,
pub value: gconstpointer,
pub length: gssize,
}
pub type GLogWriterFunc = ::std::option::Option<
unsafe extern "C" fn(
log_level: GLogLevelFlags,
fields: *const GLogField,
n_fields: gsize,
user_data: gpointer,
) -> GLogWriterOutput,
>;
extern "C" {
pub fn _frida_g_log_structured(log_domain: *const gchar, log_level: GLogLevelFlags, ...);
}
extern "C" {
pub fn _frida_g_log_structured_array(
log_level: GLogLevelFlags,
fields: *const GLogField,
n_fields: gsize,
);
}
extern "C" {
pub fn _frida_g_log_variant(
log_domain: *const gchar,
log_level: GLogLevelFlags,
fields: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_log_set_writer_func(
func: GLogWriterFunc,
user_data: gpointer,
user_data_free: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_log_writer_supports_color(output_fd: gint) -> gboolean;
}
extern "C" {
pub fn _frida_g_log_writer_is_journald(output_fd: gint) -> gboolean;
}
extern "C" {
pub fn _frida_g_log_writer_format_fields(
log_level: GLogLevelFlags,
fields: *const GLogField,
n_fields: gsize,
use_color: gboolean,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_log_writer_journald(
log_level: GLogLevelFlags,
fields: *const GLogField,
n_fields: gsize,
user_data: gpointer,
) -> GLogWriterOutput;
}
extern "C" {
pub fn _frida_g_log_writer_standard_streams(
log_level: GLogLevelFlags,
fields: *const GLogField,
n_fields: gsize,
user_data: gpointer,
) -> GLogWriterOutput;
}
extern "C" {
pub fn _frida_g_log_writer_default(
log_level: GLogLevelFlags,
fields: *const GLogField,
n_fields: gsize,
user_data: gpointer,
) -> GLogWriterOutput;
}
extern "C" {
pub fn _frida_g_log_writer_default_set_use_stderr(use_stderr: gboolean);
}
extern "C" {
pub fn _frida_g_log_writer_default_would_drop(
log_level: GLogLevelFlags,
log_domain: *const ::std::os::raw::c_char,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_log_get_debug_enabled() -> gboolean;
}
extern "C" {
pub fn _frida_g_log_set_debug_enabled(enabled: gboolean);
}
extern "C" {
pub fn _g_log_fallback_handler(
log_domain: *const gchar,
log_level: GLogLevelFlags,
message: *const gchar,
unused_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_return_if_fail_warning(
log_domain: *const ::std::os::raw::c_char,
pretty_function: *const ::std::os::raw::c_char,
expression: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_warn_message(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
warnexpr: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_assert_warning(
log_domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
pretty_function: *const ::std::os::raw::c_char,
expression: *const ::std::os::raw::c_char,
) -> !;
}
extern "C" {
pub fn _frida_g_log_structured_standard(
log_domain: *const gchar,
log_level: GLogLevelFlags,
file: *const gchar,
line: *const gchar,
func: *const gchar,
message_format: *const gchar,
...
);
}
pub type GPrintFunc = ::std::option::Option<unsafe extern "C" fn(string: *const gchar)>;
extern "C" {
pub fn _frida_g_print(format: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_set_print_handler(func: GPrintFunc) -> GPrintFunc;
}
extern "C" {
pub fn _frida_g_printerr(format: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_set_printerr_handler(func: GPrintFunc) -> GPrintFunc;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOptionContext {
_unused: [u8; 0],
}
pub type GOptionContext = _GOptionContext;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOptionGroup {
_unused: [u8; 0],
}
pub type GOptionGroup = _GOptionGroup;
pub type GOptionEntry = _GOptionEntry;
pub const GOptionFlags_G_OPTION_FLAG_NONE: GOptionFlags = 0;
pub const GOptionFlags_G_OPTION_FLAG_HIDDEN: GOptionFlags = 1;
pub const GOptionFlags_G_OPTION_FLAG_IN_MAIN: GOptionFlags = 2;
pub const GOptionFlags_G_OPTION_FLAG_REVERSE: GOptionFlags = 4;
pub const GOptionFlags_G_OPTION_FLAG_NO_ARG: GOptionFlags = 8;
pub const GOptionFlags_G_OPTION_FLAG_FILENAME: GOptionFlags = 16;
pub const GOptionFlags_G_OPTION_FLAG_OPTIONAL_ARG: GOptionFlags = 32;
pub const GOptionFlags_G_OPTION_FLAG_NOALIAS: GOptionFlags = 64;
pub type GOptionFlags = ::std::os::raw::c_uint;
pub const GOptionArg_G_OPTION_ARG_NONE: GOptionArg = 0;
pub const GOptionArg_G_OPTION_ARG_STRING: GOptionArg = 1;
pub const GOptionArg_G_OPTION_ARG_INT: GOptionArg = 2;
pub const GOptionArg_G_OPTION_ARG_CALLBACK: GOptionArg = 3;
pub const GOptionArg_G_OPTION_ARG_FILENAME: GOptionArg = 4;
pub const GOptionArg_G_OPTION_ARG_STRING_ARRAY: GOptionArg = 5;
pub const GOptionArg_G_OPTION_ARG_FILENAME_ARRAY: GOptionArg = 6;
pub const GOptionArg_G_OPTION_ARG_DOUBLE: GOptionArg = 7;
pub const GOptionArg_G_OPTION_ARG_INT64: GOptionArg = 8;
pub type GOptionArg = ::std::os::raw::c_uint;
pub type GOptionArgFunc = ::std::option::Option<
unsafe extern "C" fn(
option_name: *const gchar,
value: *const gchar,
user_data: gpointer,
error: *mut *mut GError,
) -> gboolean,
>;
pub type GOptionParseFunc = ::std::option::Option<
unsafe extern "C" fn(
context: *mut GOptionContext,
group: *mut GOptionGroup,
user_data: gpointer,
error: *mut *mut GError,
) -> gboolean,
>;
pub type GOptionErrorFunc = ::std::option::Option<
unsafe extern "C" fn(
context: *mut GOptionContext,
group: *mut GOptionGroup,
user_data: gpointer,
error: *mut *mut GError,
),
>;
pub const GOptionError_G_OPTION_ERROR_UNKNOWN_OPTION: GOptionError = 0;
pub const GOptionError_G_OPTION_ERROR_BAD_VALUE: GOptionError = 1;
pub const GOptionError_G_OPTION_ERROR_FAILED: GOptionError = 2;
pub type GOptionError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_option_error_quark() -> GQuark;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOptionEntry {
pub long_name: *const gchar,
pub short_name: gchar,
pub flags: gint,
pub arg: GOptionArg,
pub arg_data: gpointer,
pub description: *const gchar,
pub arg_description: *const gchar,
}
extern "C" {
pub fn _frida_g_option_context_new(parameter_string: *const gchar) -> *mut GOptionContext;
}
extern "C" {
pub fn _frida_g_option_context_set_summary(context: *mut GOptionContext, summary: *const gchar);
}
extern "C" {
pub fn _frida_g_option_context_get_summary(context: *mut GOptionContext) -> *const gchar;
}
extern "C" {
pub fn _frida_g_option_context_set_description(
context: *mut GOptionContext,
description: *const gchar,
);
}
extern "C" {
pub fn _frida_g_option_context_get_description(context: *mut GOptionContext) -> *const gchar;
}
extern "C" {
pub fn _frida_g_option_context_free(context: *mut GOptionContext);
}
extern "C" {
pub fn _frida_g_option_context_set_help_enabled(
context: *mut GOptionContext,
help_enabled: gboolean,
);
}
extern "C" {
pub fn _frida_g_option_context_get_help_enabled(context: *mut GOptionContext) -> gboolean;
}
extern "C" {
pub fn _frida_g_option_context_set_ignore_unknown_options(
context: *mut GOptionContext,
ignore_unknown: gboolean,
);
}
extern "C" {
pub fn _frida_g_option_context_get_ignore_unknown_options(
context: *mut GOptionContext,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_option_context_set_strict_posix(
context: *mut GOptionContext,
strict_posix: gboolean,
);
}
extern "C" {
pub fn _frida_g_option_context_get_strict_posix(context: *mut GOptionContext) -> gboolean;
}
extern "C" {
pub fn _frida_g_option_context_add_main_entries(
context: *mut GOptionContext,
entries: *const GOptionEntry,
translation_domain: *const gchar,
);
}
extern "C" {
pub fn _frida_g_option_context_parse(
context: *mut GOptionContext,
argc: *mut gint,
argv: *mut *mut *mut gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_option_context_parse_strv(
context: *mut GOptionContext,
arguments: *mut *mut *mut gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_option_context_set_translate_func(
context: *mut GOptionContext,
func: GTranslateFunc,
data: gpointer,
destroy_notify: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_option_context_set_translation_domain(
context: *mut GOptionContext,
domain: *const gchar,
);
}
extern "C" {
pub fn _frida_g_option_context_add_group(
context: *mut GOptionContext,
group: *mut GOptionGroup,
);
}
extern "C" {
pub fn _frida_g_option_context_set_main_group(
context: *mut GOptionContext,
group: *mut GOptionGroup,
);
}
extern "C" {
pub fn _frida_g_option_context_get_main_group(
context: *mut GOptionContext,
) -> *mut GOptionGroup;
}
extern "C" {
pub fn _frida_g_option_context_get_help(
context: *mut GOptionContext,
main_help: gboolean,
group: *mut GOptionGroup,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_option_group_new(
name: *const gchar,
description: *const gchar,
help_description: *const gchar,
user_data: gpointer,
destroy: GDestroyNotify,
) -> *mut GOptionGroup;
}
extern "C" {
pub fn _frida_g_option_group_set_parse_hooks(
group: *mut GOptionGroup,
pre_parse_func: GOptionParseFunc,
post_parse_func: GOptionParseFunc,
);
}
extern "C" {
pub fn _frida_g_option_group_set_error_hook(
group: *mut GOptionGroup,
error_func: GOptionErrorFunc,
);
}
extern "C" {
pub fn _frida_g_option_group_free(group: *mut GOptionGroup);
}
extern "C" {
pub fn _frida_g_option_group_ref(group: *mut GOptionGroup) -> *mut GOptionGroup;
}
extern "C" {
pub fn _frida_g_option_group_unref(group: *mut GOptionGroup);
}
extern "C" {
pub fn _frida_g_option_group_add_entries(
group: *mut GOptionGroup,
entries: *const GOptionEntry,
);
}
extern "C" {
pub fn _frida_g_option_group_set_translate_func(
group: *mut GOptionGroup,
func: GTranslateFunc,
data: gpointer,
destroy_notify: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_option_group_set_translation_domain(
group: *mut GOptionGroup,
domain: *const gchar,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPatternSpec {
_unused: [u8; 0],
}
pub type GPatternSpec = _GPatternSpec;
extern "C" {
pub fn _frida_g_pattern_spec_new(pattern: *const gchar) -> *mut GPatternSpec;
}
extern "C" {
pub fn _frida_g_pattern_spec_free(pspec: *mut GPatternSpec);
}
extern "C" {
pub fn _frida_g_pattern_spec_copy(pspec: *mut GPatternSpec) -> *mut GPatternSpec;
}
extern "C" {
pub fn _frida_g_pattern_spec_equal(
pspec1: *mut GPatternSpec,
pspec2: *mut GPatternSpec,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_pattern_spec_match(
pspec: *mut GPatternSpec,
string_length: gsize,
string: *const gchar,
string_reversed: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_pattern_spec_match_string(
pspec: *mut GPatternSpec,
string: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_pattern_match(
pspec: *mut GPatternSpec,
string_length: guint,
string: *const gchar,
string_reversed: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_pattern_match_string(
pspec: *mut GPatternSpec,
string: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_pattern_match_simple(pattern: *const gchar, string: *const gchar) -> gboolean;
}
pub type GFDCallbacks = _GFDCallbacks;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFDCallbacks {
pub on_fd_opened:
::std::option::Option<unsafe extern "C" fn(fd: gint, description: *const gchar)>,
pub on_fd_closed:
::std::option::Option<unsafe extern "C" fn(fd: gint, description: *const gchar)>,
}
extern "C" {
pub static mut _frida_glib_fd_callbacks: *mut GFDCallbacks;
}
extern "C" {
pub fn _frida_g_platform_audit_set_fd_callbacks(callbacks: *mut GFDCallbacks);
}
extern "C" {
pub fn _frida_g_spaced_primes_closest(num: guint) -> guint;
}
extern "C" {
pub fn _frida_g_qsort_with_data(
pbase: gconstpointer,
total_elems: gint,
size: gsize,
compare_func: GCompareDataFunc,
user_data: gpointer,
);
}
pub type GQueue = _GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GQueue {
pub head: *mut GList,
pub tail: *mut GList,
pub length: guint,
}
extern "C" {
pub fn _frida_g_queue_new() -> *mut GQueue;
}
extern "C" {
pub fn _frida_g_queue_free(queue: *mut GQueue);
}
extern "C" {
pub fn _frida_g_queue_free_full(queue: *mut GQueue, free_func: GDestroyNotify);
}
extern "C" {
pub fn _frida_g_queue_init(queue: *mut GQueue);
}
extern "C" {
pub fn _frida_g_queue_clear(queue: *mut GQueue);
}
extern "C" {
pub fn _frida_g_queue_is_empty(queue: *mut GQueue) -> gboolean;
}
extern "C" {
pub fn _frida_g_queue_clear_full(queue: *mut GQueue, free_func: GDestroyNotify);
}
extern "C" {
pub fn _frida_g_queue_get_length(queue: *mut GQueue) -> guint;
}
extern "C" {
pub fn _frida_g_queue_reverse(queue: *mut GQueue);
}
extern "C" {
pub fn _frida_g_queue_copy(queue: *mut GQueue) -> *mut GQueue;
}
extern "C" {
pub fn _frida_g_queue_foreach(queue: *mut GQueue, func: GFunc, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_queue_find(queue: *mut GQueue, data: gconstpointer) -> *mut GList;
}
extern "C" {
pub fn _frida_g_queue_find_custom(
queue: *mut GQueue,
data: gconstpointer,
func: GCompareFunc,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_queue_sort(
queue: *mut GQueue,
compare_func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_queue_push_head(queue: *mut GQueue, data: gpointer);
}
extern "C" {
pub fn _frida_g_queue_push_tail(queue: *mut GQueue, data: gpointer);
}
extern "C" {
pub fn _frida_g_queue_push_nth(queue: *mut GQueue, data: gpointer, n: gint);
}
extern "C" {
pub fn _frida_g_queue_pop_head(queue: *mut GQueue) -> gpointer;
}
extern "C" {
pub fn _frida_g_queue_pop_tail(queue: *mut GQueue) -> gpointer;
}
extern "C" {
pub fn _frida_g_queue_pop_nth(queue: *mut GQueue, n: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_queue_peek_head(queue: *mut GQueue) -> gpointer;
}
extern "C" {
pub fn _frida_g_queue_peek_tail(queue: *mut GQueue) -> gpointer;
}
extern "C" {
pub fn _frida_g_queue_peek_nth(queue: *mut GQueue, n: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_queue_index(queue: *mut GQueue, data: gconstpointer) -> gint;
}
extern "C" {
pub fn _frida_g_queue_remove(queue: *mut GQueue, data: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_queue_remove_all(queue: *mut GQueue, data: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_queue_insert_before(queue: *mut GQueue, sibling: *mut GList, data: gpointer);
}
extern "C" {
pub fn _frida_g_queue_insert_before_link(
queue: *mut GQueue,
sibling: *mut GList,
link_: *mut GList,
);
}
extern "C" {
pub fn _frida_g_queue_insert_after(queue: *mut GQueue, sibling: *mut GList, data: gpointer);
}
extern "C" {
pub fn _frida_g_queue_insert_after_link(
queue: *mut GQueue,
sibling: *mut GList,
link_: *mut GList,
);
}
extern "C" {
pub fn _frida_g_queue_insert_sorted(
queue: *mut GQueue,
data: gpointer,
func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_queue_push_head_link(queue: *mut GQueue, link_: *mut GList);
}
extern "C" {
pub fn _frida_g_queue_push_tail_link(queue: *mut GQueue, link_: *mut GList);
}
extern "C" {
pub fn _frida_g_queue_push_nth_link(queue: *mut GQueue, n: gint, link_: *mut GList);
}
extern "C" {
pub fn _frida_g_queue_pop_head_link(queue: *mut GQueue) -> *mut GList;
}
extern "C" {
pub fn _frida_g_queue_pop_tail_link(queue: *mut GQueue) -> *mut GList;
}
extern "C" {
pub fn _frida_g_queue_pop_nth_link(queue: *mut GQueue, n: guint) -> *mut GList;
}
extern "C" {
pub fn _frida_g_queue_peek_head_link(queue: *mut GQueue) -> *mut GList;
}
extern "C" {
pub fn _frida_g_queue_peek_tail_link(queue: *mut GQueue) -> *mut GList;
}
extern "C" {
pub fn _frida_g_queue_peek_nth_link(queue: *mut GQueue, n: guint) -> *mut GList;
}
extern "C" {
pub fn _frida_g_queue_link_index(queue: *mut GQueue, link_: *mut GList) -> gint;
}
extern "C" {
pub fn _frida_g_queue_unlink(queue: *mut GQueue, link_: *mut GList);
}
extern "C" {
pub fn _frida_g_queue_delete_link(queue: *mut GQueue, link_: *mut GList);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GRand {
_unused: [u8; 0],
}
pub type GRand = _GRand;
extern "C" {
pub fn _frida_g_rand_new_with_seed(seed: guint32) -> *mut GRand;
}
extern "C" {
pub fn _frida_g_rand_new_with_seed_array(
seed: *const guint32,
seed_length: guint,
) -> *mut GRand;
}
extern "C" {
pub fn _frida_g_rand_new() -> *mut GRand;
}
extern "C" {
pub fn _frida_g_rand_free(rand_: *mut GRand);
}
extern "C" {
pub fn _frida_g_rand_copy(rand_: *mut GRand) -> *mut GRand;
}
extern "C" {
pub fn _frida_g_rand_set_seed(rand_: *mut GRand, seed: guint32);
}
extern "C" {
pub fn _frida_g_rand_set_seed_array(
rand_: *mut GRand,
seed: *const guint32,
seed_length: guint,
);
}
extern "C" {
pub fn _frida_g_rand_int(rand_: *mut GRand) -> guint32;
}
extern "C" {
pub fn _frida_g_rand_int_range(rand_: *mut GRand, begin: gint32, end: gint32) -> gint32;
}
extern "C" {
pub fn _frida_g_rand_double(rand_: *mut GRand) -> gdouble;
}
extern "C" {
pub fn _frida_g_rand_double_range(rand_: *mut GRand, begin: gdouble, end: gdouble) -> gdouble;
}
extern "C" {
pub fn _frida_g_random_set_seed(seed: guint32);
}
extern "C" {
pub fn _frida_g_random_int() -> guint32;
}
extern "C" {
pub fn _frida_g_random_int_range(begin: gint32, end: gint32) -> gint32;
}
extern "C" {
pub fn _frida_g_random_double() -> gdouble;
}
extern "C" {
pub fn _frida_g_random_double_range(begin: gdouble, end: gdouble) -> gdouble;
}
extern "C" {
pub fn _frida_g_rc_box_alloc(block_size: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_rc_box_alloc0(block_size: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_rc_box_dup(block_size: gsize, mem_block: gconstpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_rc_box_acquire(mem_block: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_rc_box_release(mem_block: gpointer);
}
extern "C" {
pub fn _frida_g_rc_box_release_full(mem_block: gpointer, clear_func: GDestroyNotify);
}
extern "C" {
pub fn _frida_g_rc_box_get_size(mem_block: gpointer) -> gsize;
}
extern "C" {
pub fn _frida_g_atomic_rc_box_alloc(block_size: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_atomic_rc_box_alloc0(block_size: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_atomic_rc_box_dup(block_size: gsize, mem_block: gconstpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_atomic_rc_box_acquire(mem_block: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_atomic_rc_box_release(mem_block: gpointer);
}
extern "C" {
pub fn _frida_g_atomic_rc_box_release_full(mem_block: gpointer, clear_func: GDestroyNotify);
}
extern "C" {
pub fn _frida_g_atomic_rc_box_get_size(mem_block: gpointer) -> gsize;
}
extern "C" {
pub fn _frida_g_ref_count_init(rc: *mut grefcount);
}
extern "C" {
pub fn _frida_g_ref_count_inc(rc: *mut grefcount);
}
extern "C" {
pub fn _frida_g_ref_count_dec(rc: *mut grefcount) -> gboolean;
}
extern "C" {
pub fn _frida_g_ref_count_compare(rc: *mut grefcount, val: gint) -> gboolean;
}
extern "C" {
pub fn _frida_g_atomic_ref_count_init(arc: *mut gatomicrefcount);
}
extern "C" {
pub fn _frida_g_atomic_ref_count_inc(arc: *mut gatomicrefcount);
}
extern "C" {
pub fn _frida_g_atomic_ref_count_dec(arc: *mut gatomicrefcount) -> gboolean;
}
extern "C" {
pub fn _frida_g_atomic_ref_count_compare(arc: *mut gatomicrefcount, val: gint) -> gboolean;
}
extern "C" {
pub fn _frida_g_ref_string_new(
str_: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_ref_string_new_len(
str_: *const ::std::os::raw::c_char,
len: gssize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_ref_string_new_intern(
str_: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_ref_string_acquire(
str_: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_ref_string_release(str_: *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_ref_string_length(str_: *mut ::std::os::raw::c_char) -> gsize;
}
pub type GRefString = ::std::os::raw::c_char;
pub const GRegexError_G_REGEX_ERROR_COMPILE: GRegexError = 0;
pub const GRegexError_G_REGEX_ERROR_OPTIMIZE: GRegexError = 1;
pub const GRegexError_G_REGEX_ERROR_REPLACE: GRegexError = 2;
pub const GRegexError_G_REGEX_ERROR_MATCH: GRegexError = 3;
pub const GRegexError_G_REGEX_ERROR_INTERNAL: GRegexError = 4;
pub const GRegexError_G_REGEX_ERROR_STRAY_BACKSLASH: GRegexError = 101;
pub const GRegexError_G_REGEX_ERROR_MISSING_CONTROL_CHAR: GRegexError = 102;
pub const GRegexError_G_REGEX_ERROR_UNRECOGNIZED_ESCAPE: GRegexError = 103;
pub const GRegexError_G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER: GRegexError = 104;
pub const GRegexError_G_REGEX_ERROR_QUANTIFIER_TOO_BIG: GRegexError = 105;
pub const GRegexError_G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS: GRegexError = 106;
pub const GRegexError_G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS: GRegexError = 107;
pub const GRegexError_G_REGEX_ERROR_RANGE_OUT_OF_ORDER: GRegexError = 108;
pub const GRegexError_G_REGEX_ERROR_NOTHING_TO_REPEAT: GRegexError = 109;
pub const GRegexError_G_REGEX_ERROR_UNRECOGNIZED_CHARACTER: GRegexError = 112;
pub const GRegexError_G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS: GRegexError = 113;
pub const GRegexError_G_REGEX_ERROR_UNMATCHED_PARENTHESIS: GRegexError = 114;
pub const GRegexError_G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE: GRegexError = 115;
pub const GRegexError_G_REGEX_ERROR_UNTERMINATED_COMMENT: GRegexError = 118;
pub const GRegexError_G_REGEX_ERROR_EXPRESSION_TOO_LARGE: GRegexError = 120;
pub const GRegexError_G_REGEX_ERROR_MEMORY_ERROR: GRegexError = 121;
pub const GRegexError_G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND: GRegexError = 125;
pub const GRegexError_G_REGEX_ERROR_MALFORMED_CONDITION: GRegexError = 126;
pub const GRegexError_G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES: GRegexError = 127;
pub const GRegexError_G_REGEX_ERROR_ASSERTION_EXPECTED: GRegexError = 128;
pub const GRegexError_G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME: GRegexError = 130;
pub const GRegexError_G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED: GRegexError = 131;
pub const GRegexError_G_REGEX_ERROR_HEX_CODE_TOO_LARGE: GRegexError = 134;
pub const GRegexError_G_REGEX_ERROR_INVALID_CONDITION: GRegexError = 135;
pub const GRegexError_G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND: GRegexError = 136;
pub const GRegexError_G_REGEX_ERROR_INFINITE_LOOP: GRegexError = 140;
pub const GRegexError_G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR: GRegexError = 142;
pub const GRegexError_G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME: GRegexError = 143;
pub const GRegexError_G_REGEX_ERROR_MALFORMED_PROPERTY: GRegexError = 146;
pub const GRegexError_G_REGEX_ERROR_UNKNOWN_PROPERTY: GRegexError = 147;
pub const GRegexError_G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG: GRegexError = 148;
pub const GRegexError_G_REGEX_ERROR_TOO_MANY_SUBPATTERNS: GRegexError = 149;
pub const GRegexError_G_REGEX_ERROR_INVALID_OCTAL_VALUE: GRegexError = 151;
pub const GRegexError_G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE: GRegexError = 154;
pub const GRegexError_G_REGEX_ERROR_DEFINE_REPETION: GRegexError = 155;
pub const GRegexError_G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS: GRegexError = 156;
pub const GRegexError_G_REGEX_ERROR_MISSING_BACK_REFERENCE: GRegexError = 157;
pub const GRegexError_G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE: GRegexError = 158;
pub const GRegexError_G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN: GRegexError = 159;
pub const GRegexError_G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB: GRegexError = 160;
pub const GRegexError_G_REGEX_ERROR_NUMBER_TOO_BIG: GRegexError = 161;
pub const GRegexError_G_REGEX_ERROR_MISSING_SUBPATTERN_NAME: GRegexError = 162;
pub const GRegexError_G_REGEX_ERROR_MISSING_DIGIT: GRegexError = 163;
pub const GRegexError_G_REGEX_ERROR_INVALID_DATA_CHARACTER: GRegexError = 164;
pub const GRegexError_G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME: GRegexError = 165;
pub const GRegexError_G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED: GRegexError = 166;
pub const GRegexError_G_REGEX_ERROR_INVALID_CONTROL_CHAR: GRegexError = 168;
pub const GRegexError_G_REGEX_ERROR_MISSING_NAME: GRegexError = 169;
pub const GRegexError_G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS: GRegexError = 171;
pub const GRegexError_G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES: GRegexError = 172;
pub const GRegexError_G_REGEX_ERROR_NAME_TOO_LONG: GRegexError = 175;
pub const GRegexError_G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE: GRegexError = 176;
pub type GRegexError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_regex_error_quark() -> GQuark;
}
pub const GRegexCompileFlags_G_REGEX_DEFAULT: GRegexCompileFlags = 0;
pub const GRegexCompileFlags_G_REGEX_CASELESS: GRegexCompileFlags = 1;
pub const GRegexCompileFlags_G_REGEX_MULTILINE: GRegexCompileFlags = 2;
pub const GRegexCompileFlags_G_REGEX_DOTALL: GRegexCompileFlags = 4;
pub const GRegexCompileFlags_G_REGEX_EXTENDED: GRegexCompileFlags = 8;
pub const GRegexCompileFlags_G_REGEX_ANCHORED: GRegexCompileFlags = 16;
pub const GRegexCompileFlags_G_REGEX_DOLLAR_ENDONLY: GRegexCompileFlags = 32;
pub const GRegexCompileFlags_G_REGEX_UNGREEDY: GRegexCompileFlags = 512;
pub const GRegexCompileFlags_G_REGEX_RAW: GRegexCompileFlags = 2048;
pub const GRegexCompileFlags_G_REGEX_NO_AUTO_CAPTURE: GRegexCompileFlags = 4096;
pub const GRegexCompileFlags_G_REGEX_OPTIMIZE: GRegexCompileFlags = 8192;
pub const GRegexCompileFlags_G_REGEX_FIRSTLINE: GRegexCompileFlags = 262144;
pub const GRegexCompileFlags_G_REGEX_DUPNAMES: GRegexCompileFlags = 524288;
pub const GRegexCompileFlags_G_REGEX_NEWLINE_CR: GRegexCompileFlags = 1048576;
pub const GRegexCompileFlags_G_REGEX_NEWLINE_LF: GRegexCompileFlags = 2097152;
pub const GRegexCompileFlags_G_REGEX_NEWLINE_CRLF: GRegexCompileFlags = 3145728;
pub const GRegexCompileFlags_G_REGEX_NEWLINE_ANYCRLF: GRegexCompileFlags = 5242880;
pub const GRegexCompileFlags_G_REGEX_BSR_ANYCRLF: GRegexCompileFlags = 8388608;
pub const GRegexCompileFlags_G_REGEX_JAVASCRIPT_COMPAT: GRegexCompileFlags = 33554432;
pub type GRegexCompileFlags = ::std::os::raw::c_uint;
pub const GRegexMatchFlags_G_REGEX_MATCH_DEFAULT: GRegexMatchFlags = 0;
pub const GRegexMatchFlags_G_REGEX_MATCH_ANCHORED: GRegexMatchFlags = 16;
pub const GRegexMatchFlags_G_REGEX_MATCH_NOTBOL: GRegexMatchFlags = 128;
pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEOL: GRegexMatchFlags = 256;
pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEMPTY: GRegexMatchFlags = 1024;
pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL: GRegexMatchFlags = 32768;
pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_CR: GRegexMatchFlags = 1048576;
pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_LF: GRegexMatchFlags = 2097152;
pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_CRLF: GRegexMatchFlags = 3145728;
pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_ANY: GRegexMatchFlags = 4194304;
pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_ANYCRLF: GRegexMatchFlags = 5242880;
pub const GRegexMatchFlags_G_REGEX_MATCH_BSR_ANYCRLF: GRegexMatchFlags = 8388608;
pub const GRegexMatchFlags_G_REGEX_MATCH_BSR_ANY: GRegexMatchFlags = 16777216;
pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL_SOFT: GRegexMatchFlags = 32768;
pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL_HARD: GRegexMatchFlags = 134217728;
pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEMPTY_ATSTART: GRegexMatchFlags = 268435456;
pub type GRegexMatchFlags = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GRegex {
_unused: [u8; 0],
}
pub type GRegex = _GRegex;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMatchInfo {
_unused: [u8; 0],
}
pub type GMatchInfo = _GMatchInfo;
pub type GRegexEvalCallback = ::std::option::Option<
unsafe extern "C" fn(
match_info: *const GMatchInfo,
result: *mut GString,
user_data: gpointer,
) -> gboolean,
>;
extern "C" {
pub fn _frida_g_regex_new(
pattern: *const gchar,
compile_options: GRegexCompileFlags,
match_options: GRegexMatchFlags,
error: *mut *mut GError,
) -> *mut GRegex;
}
extern "C" {
pub fn _frida_g_regex_ref(regex: *mut GRegex) -> *mut GRegex;
}
extern "C" {
pub fn _frida_g_regex_unref(regex: *mut GRegex);
}
extern "C" {
pub fn _frida_g_regex_get_pattern(regex: *const GRegex) -> *const gchar;
}
extern "C" {
pub fn _frida_g_regex_get_max_backref(regex: *const GRegex) -> gint;
}
extern "C" {
pub fn _frida_g_regex_get_capture_count(regex: *const GRegex) -> gint;
}
extern "C" {
pub fn _frida_g_regex_get_has_cr_or_lf(regex: *const GRegex) -> gboolean;
}
extern "C" {
pub fn _frida_g_regex_get_max_lookbehind(regex: *const GRegex) -> gint;
}
extern "C" {
pub fn _frida_g_regex_get_string_number(regex: *const GRegex, name: *const gchar) -> gint;
}
extern "C" {
pub fn _frida_g_regex_escape_string(string: *const gchar, length: gint) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_regex_escape_nul(string: *const gchar, length: gint) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_regex_get_compile_flags(regex: *const GRegex) -> GRegexCompileFlags;
}
extern "C" {
pub fn _frida_g_regex_get_match_flags(regex: *const GRegex) -> GRegexMatchFlags;
}
extern "C" {
pub fn _frida_g_regex_match_simple(
pattern: *const gchar,
string: *const gchar,
compile_options: GRegexCompileFlags,
match_options: GRegexMatchFlags,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_regex_match(
regex: *const GRegex,
string: *const gchar,
match_options: GRegexMatchFlags,
match_info: *mut *mut GMatchInfo,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_regex_match_full(
regex: *const GRegex,
string: *const gchar,
string_len: gssize,
start_position: gint,
match_options: GRegexMatchFlags,
match_info: *mut *mut GMatchInfo,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_regex_match_all(
regex: *const GRegex,
string: *const gchar,
match_options: GRegexMatchFlags,
match_info: *mut *mut GMatchInfo,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_regex_match_all_full(
regex: *const GRegex,
string: *const gchar,
string_len: gssize,
start_position: gint,
match_options: GRegexMatchFlags,
match_info: *mut *mut GMatchInfo,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_regex_split_simple(
pattern: *const gchar,
string: *const gchar,
compile_options: GRegexCompileFlags,
match_options: GRegexMatchFlags,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_regex_split(
regex: *const GRegex,
string: *const gchar,
match_options: GRegexMatchFlags,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_regex_split_full(
regex: *const GRegex,
string: *const gchar,
string_len: gssize,
start_position: gint,
match_options: GRegexMatchFlags,
max_tokens: gint,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_regex_replace(
regex: *const GRegex,
string: *const gchar,
string_len: gssize,
start_position: gint,
replacement: *const gchar,
match_options: GRegexMatchFlags,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_regex_replace_literal(
regex: *const GRegex,
string: *const gchar,
string_len: gssize,
start_position: gint,
replacement: *const gchar,
match_options: GRegexMatchFlags,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_regex_replace_eval(
regex: *const GRegex,
string: *const gchar,
string_len: gssize,
start_position: gint,
match_options: GRegexMatchFlags,
eval: GRegexEvalCallback,
user_data: gpointer,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_regex_check_replacement(
replacement: *const gchar,
has_references: *mut gboolean,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_match_info_get_regex(match_info: *const GMatchInfo) -> *mut GRegex;
}
extern "C" {
pub fn _frida_g_match_info_get_string(match_info: *const GMatchInfo) -> *const gchar;
}
extern "C" {
pub fn _frida_g_match_info_ref(match_info: *mut GMatchInfo) -> *mut GMatchInfo;
}
extern "C" {
pub fn _frida_g_match_info_unref(match_info: *mut GMatchInfo);
}
extern "C" {
pub fn _frida_g_match_info_free(match_info: *mut GMatchInfo);
}
extern "C" {
pub fn _frida_g_match_info_next(
match_info: *mut GMatchInfo,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_match_info_matches(match_info: *const GMatchInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_match_info_get_match_count(match_info: *const GMatchInfo) -> gint;
}
extern "C" {
pub fn _frida_g_match_info_is_partial_match(match_info: *const GMatchInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_match_info_expand_references(
match_info: *const GMatchInfo,
string_to_expand: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_match_info_fetch(match_info: *const GMatchInfo, match_num: gint) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_match_info_fetch_pos(
match_info: *const GMatchInfo,
match_num: gint,
start_pos: *mut gint,
end_pos: *mut gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_match_info_fetch_named(
match_info: *const GMatchInfo,
name: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_match_info_fetch_named_pos(
match_info: *const GMatchInfo,
name: *const gchar,
start_pos: *mut gint,
end_pos: *mut gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_match_info_fetch_all(match_info: *const GMatchInfo) -> *mut *mut gchar;
}
pub type GScanner = _GScanner;
pub type GScannerConfig = _GScannerConfig;
pub type GTokenValue = _GTokenValue;
pub type GScannerMsgFunc = ::std::option::Option<
unsafe extern "C" fn(scanner: *mut GScanner, message: *mut gchar, error: gboolean),
>;
pub const GErrorType_G_ERR_UNKNOWN: GErrorType = 0;
pub const GErrorType_G_ERR_UNEXP_EOF: GErrorType = 1;
pub const GErrorType_G_ERR_UNEXP_EOF_IN_STRING: GErrorType = 2;
pub const GErrorType_G_ERR_UNEXP_EOF_IN_COMMENT: GErrorType = 3;
pub const GErrorType_G_ERR_NON_DIGIT_IN_CONST: GErrorType = 4;
pub const GErrorType_G_ERR_DIGIT_RADIX: GErrorType = 5;
pub const GErrorType_G_ERR_FLOAT_RADIX: GErrorType = 6;
pub const GErrorType_G_ERR_FLOAT_MALFORMED: GErrorType = 7;
pub type GErrorType = ::std::os::raw::c_uint;
pub const GTokenType_G_TOKEN_EOF: GTokenType = 0;
pub const GTokenType_G_TOKEN_LEFT_PAREN: GTokenType = 40;
pub const GTokenType_G_TOKEN_RIGHT_PAREN: GTokenType = 41;
pub const GTokenType_G_TOKEN_LEFT_CURLY: GTokenType = 123;
pub const GTokenType_G_TOKEN_RIGHT_CURLY: GTokenType = 125;
pub const GTokenType_G_TOKEN_LEFT_BRACE: GTokenType = 91;
pub const GTokenType_G_TOKEN_RIGHT_BRACE: GTokenType = 93;
pub const GTokenType_G_TOKEN_EQUAL_SIGN: GTokenType = 61;
pub const GTokenType_G_TOKEN_COMMA: GTokenType = 44;
pub const GTokenType_G_TOKEN_NONE: GTokenType = 256;
pub const GTokenType_G_TOKEN_ERROR: GTokenType = 257;
pub const GTokenType_G_TOKEN_CHAR: GTokenType = 258;
pub const GTokenType_G_TOKEN_BINARY: GTokenType = 259;
pub const GTokenType_G_TOKEN_OCTAL: GTokenType = 260;
pub const GTokenType_G_TOKEN_INT: GTokenType = 261;
pub const GTokenType_G_TOKEN_HEX: GTokenType = 262;
pub const GTokenType_G_TOKEN_FLOAT: GTokenType = 263;
pub const GTokenType_G_TOKEN_STRING: GTokenType = 264;
pub const GTokenType_G_TOKEN_SYMBOL: GTokenType = 265;
pub const GTokenType_G_TOKEN_IDENTIFIER: GTokenType = 266;
pub const GTokenType_G_TOKEN_IDENTIFIER_NULL: GTokenType = 267;
pub const GTokenType_G_TOKEN_COMMENT_SINGLE: GTokenType = 268;
pub const GTokenType_G_TOKEN_COMMENT_MULTI: GTokenType = 269;
pub const GTokenType_G_TOKEN_LAST: GTokenType = 270;
pub type GTokenType = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _GTokenValue {
pub v_symbol: gpointer,
pub v_identifier: *mut gchar,
pub v_binary: gulong,
pub v_octal: gulong,
pub v_int: gulong,
pub v_int64: guint64,
pub v_float: gdouble,
pub v_hex: gulong,
pub v_string: *mut gchar,
pub v_comment: *mut gchar,
pub v_char: guchar,
pub v_error: guint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GScannerConfig {
pub cset_skip_characters: *mut gchar,
pub cset_identifier_first: *mut gchar,
pub cset_identifier_nth: *mut gchar,
pub cpair_comment_single: *mut gchar,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3usize]>,
pub padding_dummy: guint,
}
impl _GScannerConfig {
#[inline]
pub fn case_sensitive(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
}
#[inline]
pub fn set_case_sensitive(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn skip_comment_multi(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
}
#[inline]
pub fn set_skip_comment_multi(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(1usize, 1u8, val as u64)
}
}
#[inline]
pub fn skip_comment_single(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
}
#[inline]
pub fn set_skip_comment_single(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(2usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_comment_multi(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_comment_multi(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(3usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_identifier(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_identifier(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(4usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_identifier_1char(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_identifier_1char(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(5usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_identifier_NULL(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_identifier_NULL(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(6usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_symbols(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_symbols(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(7usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_binary(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_binary(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(8usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_octal(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_octal(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(9usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_float(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_float(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(10usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_hex(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_hex(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(11usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_hex_dollar(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_hex_dollar(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(12usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_string_sq(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_string_sq(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(13usize, 1u8, val as u64)
}
}
#[inline]
pub fn scan_string_dq(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u32) }
}
#[inline]
pub fn set_scan_string_dq(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(14usize, 1u8, val as u64)
}
}
#[inline]
pub fn numbers_2_int(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u32) }
}
#[inline]
pub fn set_numbers_2_int(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(15usize, 1u8, val as u64)
}
}
#[inline]
pub fn int_2_float(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 1u8) as u32) }
}
#[inline]
pub fn set_int_2_float(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(16usize, 1u8, val as u64)
}
}
#[inline]
pub fn identifier_2_string(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(17usize, 1u8) as u32) }
}
#[inline]
pub fn set_identifier_2_string(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(17usize, 1u8, val as u64)
}
}
#[inline]
pub fn char_2_token(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(18usize, 1u8) as u32) }
}
#[inline]
pub fn set_char_2_token(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(18usize, 1u8, val as u64)
}
}
#[inline]
pub fn symbol_2_token(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(19usize, 1u8) as u32) }
}
#[inline]
pub fn set_symbol_2_token(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(19usize, 1u8, val as u64)
}
}
#[inline]
pub fn scope_0_fallback(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(20usize, 1u8) as u32) }
}
#[inline]
pub fn set_scope_0_fallback(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(20usize, 1u8, val as u64)
}
}
#[inline]
pub fn store_int64(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(21usize, 1u8) as u32) }
}
#[inline]
pub fn set_store_int64(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(21usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
case_sensitive: guint,
skip_comment_multi: guint,
skip_comment_single: guint,
scan_comment_multi: guint,
scan_identifier: guint,
scan_identifier_1char: guint,
scan_identifier_NULL: guint,
scan_symbols: guint,
scan_binary: guint,
scan_octal: guint,
scan_float: guint,
scan_hex: guint,
scan_hex_dollar: guint,
scan_string_sq: guint,
scan_string_dq: guint,
numbers_2_int: guint,
int_2_float: guint,
identifier_2_string: guint,
char_2_token: guint,
symbol_2_token: guint,
scope_0_fallback: guint,
store_int64: guint,
) -> __BindgenBitfieldUnit<[u8; 3usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 3usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let case_sensitive: u32 = unsafe { ::std::mem::transmute(case_sensitive) };
case_sensitive as u64
});
__bindgen_bitfield_unit.set(1usize, 1u8, {
let skip_comment_multi: u32 = unsafe { ::std::mem::transmute(skip_comment_multi) };
skip_comment_multi as u64
});
__bindgen_bitfield_unit.set(2usize, 1u8, {
let skip_comment_single: u32 = unsafe { ::std::mem::transmute(skip_comment_single) };
skip_comment_single as u64
});
__bindgen_bitfield_unit.set(3usize, 1u8, {
let scan_comment_multi: u32 = unsafe { ::std::mem::transmute(scan_comment_multi) };
scan_comment_multi as u64
});
__bindgen_bitfield_unit.set(4usize, 1u8, {
let scan_identifier: u32 = unsafe { ::std::mem::transmute(scan_identifier) };
scan_identifier as u64
});
__bindgen_bitfield_unit.set(5usize, 1u8, {
let scan_identifier_1char: u32 =
unsafe { ::std::mem::transmute(scan_identifier_1char) };
scan_identifier_1char as u64
});
__bindgen_bitfield_unit.set(6usize, 1u8, {
let scan_identifier_NULL: u32 = unsafe { ::std::mem::transmute(scan_identifier_NULL) };
scan_identifier_NULL as u64
});
__bindgen_bitfield_unit.set(7usize, 1u8, {
let scan_symbols: u32 = unsafe { ::std::mem::transmute(scan_symbols) };
scan_symbols as u64
});
__bindgen_bitfield_unit.set(8usize, 1u8, {
let scan_binary: u32 = unsafe { ::std::mem::transmute(scan_binary) };
scan_binary as u64
});
__bindgen_bitfield_unit.set(9usize, 1u8, {
let scan_octal: u32 = unsafe { ::std::mem::transmute(scan_octal) };
scan_octal as u64
});
__bindgen_bitfield_unit.set(10usize, 1u8, {
let scan_float: u32 = unsafe { ::std::mem::transmute(scan_float) };
scan_float as u64
});
__bindgen_bitfield_unit.set(11usize, 1u8, {
let scan_hex: u32 = unsafe { ::std::mem::transmute(scan_hex) };
scan_hex as u64
});
__bindgen_bitfield_unit.set(12usize, 1u8, {
let scan_hex_dollar: u32 = unsafe { ::std::mem::transmute(scan_hex_dollar) };
scan_hex_dollar as u64
});
__bindgen_bitfield_unit.set(13usize, 1u8, {
let scan_string_sq: u32 = unsafe { ::std::mem::transmute(scan_string_sq) };
scan_string_sq as u64
});
__bindgen_bitfield_unit.set(14usize, 1u8, {
let scan_string_dq: u32 = unsafe { ::std::mem::transmute(scan_string_dq) };
scan_string_dq as u64
});
__bindgen_bitfield_unit.set(15usize, 1u8, {
let numbers_2_int: u32 = unsafe { ::std::mem::transmute(numbers_2_int) };
numbers_2_int as u64
});
__bindgen_bitfield_unit.set(16usize, 1u8, {
let int_2_float: u32 = unsafe { ::std::mem::transmute(int_2_float) };
int_2_float as u64
});
__bindgen_bitfield_unit.set(17usize, 1u8, {
let identifier_2_string: u32 = unsafe { ::std::mem::transmute(identifier_2_string) };
identifier_2_string as u64
});
__bindgen_bitfield_unit.set(18usize, 1u8, {
let char_2_token: u32 = unsafe { ::std::mem::transmute(char_2_token) };
char_2_token as u64
});
__bindgen_bitfield_unit.set(19usize, 1u8, {
let symbol_2_token: u32 = unsafe { ::std::mem::transmute(symbol_2_token) };
symbol_2_token as u64
});
__bindgen_bitfield_unit.set(20usize, 1u8, {
let scope_0_fallback: u32 = unsafe { ::std::mem::transmute(scope_0_fallback) };
scope_0_fallback as u64
});
__bindgen_bitfield_unit.set(21usize, 1u8, {
let store_int64: u32 = unsafe { ::std::mem::transmute(store_int64) };
store_int64 as u64
});
__bindgen_bitfield_unit
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _GScanner {
pub user_data: gpointer,
pub max_parse_errors: guint,
pub parse_errors: guint,
pub input_name: *const gchar,
pub qdata: *mut GData,
pub config: *mut GScannerConfig,
pub token: GTokenType,
pub value: GTokenValue,
pub line: guint,
pub position: guint,
pub next_token: GTokenType,
pub next_value: GTokenValue,
pub next_line: guint,
pub next_position: guint,
pub symbol_table: *mut GHashTable,
pub input_fd: gint,
pub text: *const gchar,
pub text_end: *const gchar,
pub buffer: *mut gchar,
pub scope_id: guint,
pub msg_handler: GScannerMsgFunc,
}
extern "C" {
pub fn _frida_g_scanner_new(config_templ: *const GScannerConfig) -> *mut GScanner;
}
extern "C" {
pub fn _frida_g_scanner_destroy(scanner: *mut GScanner);
}
extern "C" {
pub fn _frida_g_scanner_input_file(scanner: *mut GScanner, input_fd: gint);
}
extern "C" {
pub fn _frida_g_scanner_sync_file_offset(scanner: *mut GScanner);
}
extern "C" {
pub fn _frida_g_scanner_input_text(scanner: *mut GScanner, text: *const gchar, text_len: guint);
}
extern "C" {
pub fn _frida_g_scanner_get_next_token(scanner: *mut GScanner) -> GTokenType;
}
extern "C" {
pub fn _frida_g_scanner_peek_next_token(scanner: *mut GScanner) -> GTokenType;
}
extern "C" {
pub fn _frida_g_scanner_cur_token(scanner: *mut GScanner) -> GTokenType;
}
extern "C" {
pub fn _frida_g_scanner_cur_value(scanner: *mut GScanner) -> GTokenValue;
}
extern "C" {
pub fn _frida_g_scanner_cur_line(scanner: *mut GScanner) -> guint;
}
extern "C" {
pub fn _frida_g_scanner_cur_position(scanner: *mut GScanner) -> guint;
}
extern "C" {
pub fn _frida_g_scanner_eof(scanner: *mut GScanner) -> gboolean;
}
extern "C" {
pub fn _frida_g_scanner_set_scope(scanner: *mut GScanner, scope_id: guint) -> guint;
}
extern "C" {
pub fn _frida_g_scanner_scope_add_symbol(
scanner: *mut GScanner,
scope_id: guint,
symbol: *const gchar,
value: gpointer,
);
}
extern "C" {
pub fn _frida_g_scanner_scope_remove_symbol(
scanner: *mut GScanner,
scope_id: guint,
symbol: *const gchar,
);
}
extern "C" {
pub fn _frida_g_scanner_scope_lookup_symbol(
scanner: *mut GScanner,
scope_id: guint,
symbol: *const gchar,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_scanner_scope_foreach_symbol(
scanner: *mut GScanner,
scope_id: guint,
func: GHFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_scanner_lookup_symbol(scanner: *mut GScanner, symbol: *const gchar)
-> gpointer;
}
extern "C" {
pub fn _frida_g_scanner_unexp_token(
scanner: *mut GScanner,
expected_token: GTokenType,
identifier_spec: *const gchar,
symbol_spec: *const gchar,
symbol_name: *const gchar,
message: *const gchar,
is_error: gint,
);
}
extern "C" {
pub fn _frida_g_scanner_error(scanner: *mut GScanner, format: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_scanner_warn(scanner: *mut GScanner, format: *const gchar, ...);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSequence {
_unused: [u8; 0],
}
pub type GSequence = _GSequence;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSequenceNode {
_unused: [u8; 0],
}
pub type GSequenceIter = _GSequenceNode;
pub type GSequenceIterCompareFunc = ::std::option::Option<
unsafe extern "C" fn(a: *mut GSequenceIter, b: *mut GSequenceIter, user_data: gpointer) -> gint,
>;
extern "C" {
pub fn _frida_g_sequence_new(data_destroy: GDestroyNotify) -> *mut GSequence;
}
extern "C" {
pub fn _frida_g_sequence_free(seq: *mut GSequence);
}
extern "C" {
pub fn _frida_g_sequence_get_length(seq: *mut GSequence) -> gint;
}
extern "C" {
pub fn _frida_g_sequence_foreach(seq: *mut GSequence, func: GFunc, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_sequence_foreach_range(
begin: *mut GSequenceIter,
end: *mut GSequenceIter,
func: GFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_sequence_sort(
seq: *mut GSequence,
cmp_func: GCompareDataFunc,
cmp_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_sequence_sort_iter(
seq: *mut GSequence,
cmp_func: GSequenceIterCompareFunc,
cmp_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_sequence_is_empty(seq: *mut GSequence) -> gboolean;
}
extern "C" {
pub fn _frida_g_sequence_get_begin_iter(seq: *mut GSequence) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_get_end_iter(seq: *mut GSequence) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_get_iter_at_pos(seq: *mut GSequence, pos: gint) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_append(seq: *mut GSequence, data: gpointer) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_prepend(seq: *mut GSequence, data: gpointer) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_insert_before(
iter: *mut GSequenceIter,
data: gpointer,
) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_move(src: *mut GSequenceIter, dest: *mut GSequenceIter);
}
extern "C" {
pub fn _frida_g_sequence_swap(a: *mut GSequenceIter, b: *mut GSequenceIter);
}
extern "C" {
pub fn _frida_g_sequence_insert_sorted(
seq: *mut GSequence,
data: gpointer,
cmp_func: GCompareDataFunc,
cmp_data: gpointer,
) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_insert_sorted_iter(
seq: *mut GSequence,
data: gpointer,
iter_cmp: GSequenceIterCompareFunc,
cmp_data: gpointer,
) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_sort_changed(
iter: *mut GSequenceIter,
cmp_func: GCompareDataFunc,
cmp_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_sequence_sort_changed_iter(
iter: *mut GSequenceIter,
iter_cmp: GSequenceIterCompareFunc,
cmp_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_sequence_remove(iter: *mut GSequenceIter);
}
extern "C" {
pub fn _frida_g_sequence_remove_range(begin: *mut GSequenceIter, end: *mut GSequenceIter);
}
extern "C" {
pub fn _frida_g_sequence_move_range(
dest: *mut GSequenceIter,
begin: *mut GSequenceIter,
end: *mut GSequenceIter,
);
}
extern "C" {
pub fn _frida_g_sequence_search(
seq: *mut GSequence,
data: gpointer,
cmp_func: GCompareDataFunc,
cmp_data: gpointer,
) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_search_iter(
seq: *mut GSequence,
data: gpointer,
iter_cmp: GSequenceIterCompareFunc,
cmp_data: gpointer,
) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_lookup(
seq: *mut GSequence,
data: gpointer,
cmp_func: GCompareDataFunc,
cmp_data: gpointer,
) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_lookup_iter(
seq: *mut GSequence,
data: gpointer,
iter_cmp: GSequenceIterCompareFunc,
cmp_data: gpointer,
) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_get(iter: *mut GSequenceIter) -> gpointer;
}
extern "C" {
pub fn _frida_g_sequence_set(iter: *mut GSequenceIter, data: gpointer);
}
extern "C" {
pub fn _frida_g_sequence_iter_is_begin(iter: *mut GSequenceIter) -> gboolean;
}
extern "C" {
pub fn _frida_g_sequence_iter_is_end(iter: *mut GSequenceIter) -> gboolean;
}
extern "C" {
pub fn _frida_g_sequence_iter_next(iter: *mut GSequenceIter) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_iter_prev(iter: *mut GSequenceIter) -> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_iter_get_position(iter: *mut GSequenceIter) -> gint;
}
extern "C" {
pub fn _frida_g_sequence_iter_move(iter: *mut GSequenceIter, delta: gint)
-> *mut GSequenceIter;
}
extern "C" {
pub fn _frida_g_sequence_iter_get_sequence(iter: *mut GSequenceIter) -> *mut GSequence;
}
extern "C" {
pub fn _frida_g_sequence_iter_compare(a: *mut GSequenceIter, b: *mut GSequenceIter) -> gint;
}
extern "C" {
pub fn _frida_g_sequence_range_get_midpoint(
begin: *mut GSequenceIter,
end: *mut GSequenceIter,
) -> *mut GSequenceIter;
}
pub const GShellError_G_SHELL_ERROR_BAD_QUOTING: GShellError = 0;
pub const GShellError_G_SHELL_ERROR_EMPTY_STRING: GShellError = 1;
pub const GShellError_G_SHELL_ERROR_FAILED: GShellError = 2;
pub type GShellError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_shell_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_shell_quote(unquoted_string: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_shell_unquote(
quoted_string: *const gchar,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_shell_parse_argv(
command_line: *const gchar,
argcp: *mut gint,
argvp: *mut *mut *mut gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_slice_alloc(block_size: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_slice_alloc0(block_size: gsize) -> gpointer;
}
extern "C" {
pub fn _frida_g_slice_copy(block_size: gsize, mem_block: gconstpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_slice_free1(block_size: gsize, mem_block: gpointer);
}
extern "C" {
pub fn _frida_g_slice_free_chain_with_offset(
block_size: gsize,
mem_chain: gpointer,
next_offset: gsize,
);
}
pub const GSliceConfig_G_SLICE_CONFIG_ALWAYS_MALLOC: GSliceConfig = 1;
pub const GSliceConfig_G_SLICE_CONFIG_BYPASS_MAGAZINES: GSliceConfig = 2;
pub const GSliceConfig_G_SLICE_CONFIG_WORKING_SET_MSECS: GSliceConfig = 3;
pub const GSliceConfig_G_SLICE_CONFIG_COLOR_INCREMENT: GSliceConfig = 4;
pub const GSliceConfig_G_SLICE_CONFIG_CHUNK_SIZES: GSliceConfig = 5;
pub const GSliceConfig_G_SLICE_CONFIG_CONTENTION_COUNTER: GSliceConfig = 6;
pub type GSliceConfig = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_slice_set_config(ckey: GSliceConfig, value: gint64);
}
extern "C" {
pub fn _frida_g_slice_get_config(ckey: GSliceConfig) -> gint64;
}
extern "C" {
pub fn _frida_g_slice_get_config_state(
ckey: GSliceConfig,
address: gint64,
n_values: *mut guint,
) -> *mut gint64;
}
pub const GSpawnError_G_SPAWN_ERROR_FORK: GSpawnError = 0;
pub const GSpawnError_G_SPAWN_ERROR_READ: GSpawnError = 1;
pub const GSpawnError_G_SPAWN_ERROR_CHDIR: GSpawnError = 2;
pub const GSpawnError_G_SPAWN_ERROR_ACCES: GSpawnError = 3;
pub const GSpawnError_G_SPAWN_ERROR_PERM: GSpawnError = 4;
pub const GSpawnError_G_SPAWN_ERROR_TOO_BIG: GSpawnError = 5;
pub const GSpawnError_G_SPAWN_ERROR_2BIG: GSpawnError = 5;
pub const GSpawnError_G_SPAWN_ERROR_NOEXEC: GSpawnError = 6;
pub const GSpawnError_G_SPAWN_ERROR_NAMETOOLONG: GSpawnError = 7;
pub const GSpawnError_G_SPAWN_ERROR_NOENT: GSpawnError = 8;
pub const GSpawnError_G_SPAWN_ERROR_NOMEM: GSpawnError = 9;
pub const GSpawnError_G_SPAWN_ERROR_NOTDIR: GSpawnError = 10;
pub const GSpawnError_G_SPAWN_ERROR_LOOP: GSpawnError = 11;
pub const GSpawnError_G_SPAWN_ERROR_TXTBUSY: GSpawnError = 12;
pub const GSpawnError_G_SPAWN_ERROR_IO: GSpawnError = 13;
pub const GSpawnError_G_SPAWN_ERROR_NFILE: GSpawnError = 14;
pub const GSpawnError_G_SPAWN_ERROR_MFILE: GSpawnError = 15;
pub const GSpawnError_G_SPAWN_ERROR_INVAL: GSpawnError = 16;
pub const GSpawnError_G_SPAWN_ERROR_ISDIR: GSpawnError = 17;
pub const GSpawnError_G_SPAWN_ERROR_LIBBAD: GSpawnError = 18;
pub const GSpawnError_G_SPAWN_ERROR_FAILED: GSpawnError = 19;
pub type GSpawnError = ::std::os::raw::c_uint;
pub type GSpawnChildSetupFunc = ::std::option::Option<unsafe extern "C" fn(user_data: gpointer)>;
pub const GSpawnFlags_G_SPAWN_DEFAULT: GSpawnFlags = 0;
pub const GSpawnFlags_G_SPAWN_LEAVE_DESCRIPTORS_OPEN: GSpawnFlags = 1;
pub const GSpawnFlags_G_SPAWN_DO_NOT_REAP_CHILD: GSpawnFlags = 2;
pub const GSpawnFlags_G_SPAWN_SEARCH_PATH: GSpawnFlags = 4;
pub const GSpawnFlags_G_SPAWN_STDOUT_TO_DEV_NULL: GSpawnFlags = 8;
pub const GSpawnFlags_G_SPAWN_STDERR_TO_DEV_NULL: GSpawnFlags = 16;
pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDIN: GSpawnFlags = 32;
pub const GSpawnFlags_G_SPAWN_FILE_AND_ARGV_ZERO: GSpawnFlags = 64;
pub const GSpawnFlags_G_SPAWN_SEARCH_PATH_FROM_ENVP: GSpawnFlags = 128;
pub const GSpawnFlags_G_SPAWN_CLOEXEC_PIPES: GSpawnFlags = 256;
pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDOUT: GSpawnFlags = 512;
pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDERR: GSpawnFlags = 1024;
pub const GSpawnFlags_G_SPAWN_STDIN_FROM_DEV_NULL: GSpawnFlags = 2048;
pub type GSpawnFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_spawn_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_spawn_exit_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_spawn_async(
working_directory: *const gchar,
argv: *mut *mut gchar,
envp: *mut *mut gchar,
flags: GSpawnFlags,
child_setup: GSpawnChildSetupFunc,
user_data: gpointer,
child_pid: *mut GPid,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_async_with_pipes(
working_directory: *const gchar,
argv: *mut *mut gchar,
envp: *mut *mut gchar,
flags: GSpawnFlags,
child_setup: GSpawnChildSetupFunc,
user_data: gpointer,
child_pid: *mut GPid,
standard_input: *mut gint,
standard_output: *mut gint,
standard_error: *mut gint,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_async_with_pipes_and_fds(
working_directory: *const gchar,
argv: *const *const gchar,
envp: *const *const gchar,
flags: GSpawnFlags,
child_setup: GSpawnChildSetupFunc,
user_data: gpointer,
stdin_fd: gint,
stdout_fd: gint,
stderr_fd: gint,
source_fds: *const gint,
target_fds: *const gint,
n_fds: gsize,
child_pid_out: *mut GPid,
stdin_pipe_out: *mut gint,
stdout_pipe_out: *mut gint,
stderr_pipe_out: *mut gint,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_async_with_fds(
working_directory: *const gchar,
argv: *mut *mut gchar,
envp: *mut *mut gchar,
flags: GSpawnFlags,
child_setup: GSpawnChildSetupFunc,
user_data: gpointer,
child_pid: *mut GPid,
stdin_fd: gint,
stdout_fd: gint,
stderr_fd: gint,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_sync(
working_directory: *const gchar,
argv: *mut *mut gchar,
envp: *mut *mut gchar,
flags: GSpawnFlags,
child_setup: GSpawnChildSetupFunc,
user_data: gpointer,
standard_output: *mut *mut gchar,
standard_error: *mut *mut gchar,
wait_status: *mut gint,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_command_line_sync(
command_line: *const gchar,
standard_output: *mut *mut gchar,
standard_error: *mut *mut gchar,
wait_status: *mut gint,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_command_line_async(
command_line: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_check_wait_status(wait_status: gint, error: *mut *mut GError)
-> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_check_exit_status(wait_status: gint, error: *mut *mut GError)
-> gboolean;
}
extern "C" {
pub fn _frida_g_spawn_close_pid(pid: GPid);
}
pub const GAsciiType_G_ASCII_ALNUM: GAsciiType = 1;
pub const GAsciiType_G_ASCII_ALPHA: GAsciiType = 2;
pub const GAsciiType_G_ASCII_CNTRL: GAsciiType = 4;
pub const GAsciiType_G_ASCII_DIGIT: GAsciiType = 8;
pub const GAsciiType_G_ASCII_GRAPH: GAsciiType = 16;
pub const GAsciiType_G_ASCII_LOWER: GAsciiType = 32;
pub const GAsciiType_G_ASCII_PRINT: GAsciiType = 64;
pub const GAsciiType_G_ASCII_PUNCT: GAsciiType = 128;
pub const GAsciiType_G_ASCII_SPACE: GAsciiType = 256;
pub const GAsciiType_G_ASCII_UPPER: GAsciiType = 512;
pub const GAsciiType_G_ASCII_XDIGIT: GAsciiType = 1024;
pub type GAsciiType = ::std::os::raw::c_uint;
extern "C" {
pub static _frida_g_ascii_table: *const guint16;
}
extern "C" {
pub fn _frida_g_ascii_tolower(c: gchar) -> gchar;
}
extern "C" {
pub fn _frida_g_ascii_toupper(c: gchar) -> gchar;
}
extern "C" {
pub fn _frida_g_ascii_digit_value(c: gchar) -> gint;
}
extern "C" {
pub fn _frida_g_ascii_xdigit_value(c: gchar) -> gint;
}
extern "C" {
pub fn _frida_g_strdelimit(
string: *mut gchar,
delimiters: *const gchar,
new_delimiter: gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strcanon(
string: *mut gchar,
valid_chars: *const gchar,
substitutor: gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strerror(errnum: gint) -> *const gchar;
}
extern "C" {
pub fn _frida_g_strsignal(signum: gint) -> *const gchar;
}
extern "C" {
pub fn _frida_g_strreverse(string: *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strlcpy(dest: *mut gchar, src: *const gchar, dest_size: gsize) -> gsize;
}
extern "C" {
pub fn _frida_g_strlcat(dest: *mut gchar, src: *const gchar, dest_size: gsize) -> gsize;
}
extern "C" {
pub fn _frida_g_strstr_len(
haystack: *const gchar,
haystack_len: gssize,
needle: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strrstr(haystack: *const gchar, needle: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strrstr_len(
haystack: *const gchar,
haystack_len: gssize,
needle: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_str_has_suffix(str_: *const gchar, suffix: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_str_has_prefix(str_: *const gchar, prefix: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_strtod(nptr: *const gchar, endptr: *mut *mut gchar) -> gdouble;
}
extern "C" {
pub fn _frida_g_ascii_strtod(nptr: *const gchar, endptr: *mut *mut gchar) -> gdouble;
}
extern "C" {
pub fn _frida_g_ascii_strtoull(
nptr: *const gchar,
endptr: *mut *mut gchar,
base: guint,
) -> guint64;
}
extern "C" {
pub fn _frida_g_ascii_strtoll(
nptr: *const gchar,
endptr: *mut *mut gchar,
base: guint,
) -> gint64;
}
extern "C" {
pub fn _frida_g_ascii_dtostr(buffer: *mut gchar, buf_len: gint, d: gdouble) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_ascii_formatd(
buffer: *mut gchar,
buf_len: gint,
format: *const gchar,
d: gdouble,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strchug(string: *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strchomp(string: *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_ascii_strcasecmp(s1: *const gchar, s2: *const gchar) -> gint;
}
extern "C" {
pub fn _frida_g_ascii_strncasecmp(s1: *const gchar, s2: *const gchar, n: gsize) -> gint;
}
extern "C" {
pub fn _frida_g_ascii_strdown(str_: *const gchar, len: gssize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_ascii_strup(str_: *const gchar, len: gssize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_str_is_ascii(str_: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_strcasecmp(s1: *const gchar, s2: *const gchar) -> gint;
}
extern "C" {
pub fn _frida_g_strncasecmp(s1: *const gchar, s2: *const gchar, n: guint) -> gint;
}
extern "C" {
pub fn _frida_g_strdown(string: *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strup(string: *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strdup(str_: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strdup_printf(format: *const gchar, ...) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strdup_vprintf(format: *const gchar, args: va_list) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strndup(str_: *const gchar, n: gsize) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strnfill(length: gsize, fill_char: gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strconcat(string1: *const gchar, ...) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strjoin(separator: *const gchar, ...) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strcompress(source: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strescape(source: *const gchar, exceptions: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_memdup(mem: gconstpointer, byte_size: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_memdup2(mem: gconstpointer, byte_size: gsize) -> gpointer;
}
pub type GStrv = *mut *mut gchar;
extern "C" {
pub fn _frida_g_strsplit(
string: *const gchar,
delimiter: *const gchar,
max_tokens: gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_strsplit_set(
string: *const gchar,
delimiters: *const gchar,
max_tokens: gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_strjoinv(separator: *const gchar, str_array: *mut *mut gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_strfreev(str_array: *mut *mut gchar);
}
extern "C" {
pub fn _frida_g_strdupv(str_array: *mut *mut gchar) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_strv_length(str_array: *mut *mut gchar) -> guint;
}
extern "C" {
pub fn _frida_g_stpcpy(dest: *mut gchar, src: *const ::std::os::raw::c_char) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_str_to_ascii(str_: *const gchar, from_locale: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_str_tokenize_and_fold(
string: *const gchar,
translit_locale: *const gchar,
ascii_alternates: *mut *mut *mut gchar,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_str_match_string(
search_term: *const gchar,
potential_hit: *const gchar,
accept_alternates: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_strv_contains(strv: *const *const gchar, str_: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_strv_equal(strv1: *const *const gchar, strv2: *const *const gchar) -> gboolean;
}
pub const GNumberParserError_G_NUMBER_PARSER_ERROR_INVALID: GNumberParserError = 0;
pub const GNumberParserError_G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS: GNumberParserError = 1;
pub type GNumberParserError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_number_parser_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_ascii_string_to_signed(
str_: *const gchar,
base: guint,
min: gint64,
max: gint64,
out_num: *mut gint64,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_ascii_string_to_unsigned(
str_: *const gchar,
base: guint,
min: guint64,
max: guint64,
out_num: *mut guint64,
error: *mut *mut GError,
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GStringChunk {
_unused: [u8; 0],
}
pub type GStringChunk = _GStringChunk;
extern "C" {
pub fn _frida_g_string_chunk_new(size: gsize) -> *mut GStringChunk;
}
extern "C" {
pub fn _frida_g_string_chunk_free(chunk: *mut GStringChunk);
}
extern "C" {
pub fn _frida_g_string_chunk_clear(chunk: *mut GStringChunk);
}
extern "C" {
pub fn _frida_g_string_chunk_insert(
chunk: *mut GStringChunk,
string: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_string_chunk_insert_len(
chunk: *mut GStringChunk,
string: *const gchar,
len: gssize,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_string_chunk_insert_const(
chunk: *mut GStringChunk,
string: *const gchar,
) -> *mut gchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GStrvBuilder {
_unused: [u8; 0],
}
pub type GStrvBuilder = _GStrvBuilder;
extern "C" {
pub fn _frida_g_strv_builder_new() -> *mut GStrvBuilder;
}
extern "C" {
pub fn _frida_g_strv_builder_unref(builder: *mut GStrvBuilder);
}
extern "C" {
pub fn _frida_g_strv_builder_ref(builder: *mut GStrvBuilder) -> *mut GStrvBuilder;
}
extern "C" {
pub fn _frida_g_strv_builder_add(
builder: *mut GStrvBuilder,
value: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_strv_builder_addv(
builder: *mut GStrvBuilder,
value: *mut *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_strv_builder_add_many(builder: *mut GStrvBuilder, ...);
}
extern "C" {
pub fn _frida_g_strv_builder_end(builder: *mut GStrvBuilder) -> GStrv;
}
extern "C" {
pub fn __errno_location() -> *mut ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct GTestCase {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct GTestSuite {
_unused: [u8; 0],
}
pub type GTestFunc = ::std::option::Option<unsafe extern "C" fn()>;
pub type GTestDataFunc = ::std::option::Option<unsafe extern "C" fn(user_data: gconstpointer)>;
pub type GTestFixtureFunc =
::std::option::Option<unsafe extern "C" fn(fixture: gpointer, user_data: gconstpointer)>;
extern "C" {
pub fn _frida_g_strcmp0(
str1: *const ::std::os::raw::c_char,
str2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_test_minimized_result(
minimized_quantity: f64,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn _frida_g_test_maximized_result(
maximized_quantity: f64,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn _frida_g_test_init(
argc: *mut ::std::os::raw::c_int,
argv: *mut *mut *mut ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn _frida_g_test_subprocess() -> gboolean;
}
extern "C" {
pub fn _frida_g_test_run() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_test_add_func(testpath: *const ::std::os::raw::c_char, test_func: GTestFunc);
}
extern "C" {
pub fn _frida_g_test_add_data_func(
testpath: *const ::std::os::raw::c_char,
test_data: gconstpointer,
test_func: GTestDataFunc,
);
}
extern "C" {
pub fn _frida_g_test_add_data_func_full(
testpath: *const ::std::os::raw::c_char,
test_data: gpointer,
test_func: GTestDataFunc,
data_free_func: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_test_get_path() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_test_fail();
}
extern "C" {
pub fn _frida_g_test_fail_printf(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn _frida_g_test_incomplete(msg: *const gchar);
}
extern "C" {
pub fn _frida_g_test_incomplete_printf(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn _frida_g_test_skip(msg: *const gchar);
}
extern "C" {
pub fn _frida_g_test_skip_printf(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn _frida_g_test_failed() -> gboolean;
}
extern "C" {
pub fn _frida_g_test_set_nonfatal_assertions();
}
extern "C" {
pub fn _frida_g_test_message(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn _frida_g_test_bug_base(uri_pattern: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_test_bug(bug_uri_snippet: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_test_summary(summary: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_test_timer_start();
}
extern "C" {
pub fn _frida_g_test_timer_elapsed() -> f64;
}
extern "C" {
pub fn _frida_g_test_timer_last() -> f64;
}
extern "C" {
pub fn _frida_g_test_queue_free(gfree_pointer: gpointer);
}
extern "C" {
pub fn _frida_g_test_queue_destroy(destroy_func: GDestroyNotify, destroy_data: gpointer);
}
pub const GTestTrapFlags_G_TEST_TRAP_DEFAULT: GTestTrapFlags = 0;
pub const GTestTrapFlags_G_TEST_TRAP_SILENCE_STDOUT: GTestTrapFlags = 128;
pub const GTestTrapFlags_G_TEST_TRAP_SILENCE_STDERR: GTestTrapFlags = 256;
pub const GTestTrapFlags_G_TEST_TRAP_INHERIT_STDIN: GTestTrapFlags = 512;
pub type GTestTrapFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_test_trap_fork(
usec_timeout: guint64,
test_trap_flags: GTestTrapFlags,
) -> gboolean;
}
pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_DEFAULT: GTestSubprocessFlags = 0;
pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDIN: GTestSubprocessFlags = 1;
pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDOUT: GTestSubprocessFlags = 2;
pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDERR: GTestSubprocessFlags = 4;
pub type GTestSubprocessFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_test_trap_subprocess(
test_path: *const ::std::os::raw::c_char,
usec_timeout: guint64,
test_flags: GTestSubprocessFlags,
);
}
extern "C" {
pub fn _frida_g_test_trap_has_passed() -> gboolean;
}
extern "C" {
pub fn _frida_g_test_trap_reached_timeout() -> gboolean;
}
extern "C" {
pub fn _frida_g_test_rand_int() -> gint32;
}
extern "C" {
pub fn _frida_g_test_rand_int_range(begin: gint32, end: gint32) -> gint32;
}
extern "C" {
pub fn _frida_g_test_rand_double() -> f64;
}
extern "C" {
pub fn _frida_g_test_rand_double_range(range_start: f64, range_end: f64) -> f64;
}
extern "C" {
pub fn _frida_g_test_create_case(
test_name: *const ::std::os::raw::c_char,
data_size: gsize,
test_data: gconstpointer,
data_setup: GTestFixtureFunc,
data_test: GTestFixtureFunc,
data_teardown: GTestFixtureFunc,
) -> *mut GTestCase;
}
extern "C" {
pub fn _frida_g_test_create_suite(suite_name: *const ::std::os::raw::c_char)
-> *mut GTestSuite;
}
extern "C" {
pub fn _frida_g_test_get_root() -> *mut GTestSuite;
}
extern "C" {
pub fn _frida_g_test_suite_add(suite: *mut GTestSuite, test_case: *mut GTestCase);
}
extern "C" {
pub fn _frida_g_test_suite_add_suite(suite: *mut GTestSuite, nestedsuite: *mut GTestSuite);
}
extern "C" {
pub fn _frida_g_test_run_suite(suite: *mut GTestSuite) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_test_case_free(test_case: *mut GTestCase);
}
extern "C" {
pub fn _frida_g_test_suite_free(suite: *mut GTestSuite);
}
extern "C" {
pub fn _frida_g_test_trap_assertions(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
assertion_flags: guint64,
pattern: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_assertion_message(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
message: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_assertion_message_expr(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
expr: *const ::std::os::raw::c_char,
) -> !;
}
extern "C" {
pub fn _frida_g_assertion_message_cmpstr(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
expr: *const ::std::os::raw::c_char,
arg1: *const ::std::os::raw::c_char,
cmp: *const ::std::os::raw::c_char,
arg2: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_assertion_message_cmpstrv(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
expr: *const ::std::os::raw::c_char,
arg1: *const *const ::std::os::raw::c_char,
arg2: *const *const ::std::os::raw::c_char,
first_wrong_idx: gsize,
);
}
extern "C" {
pub fn _frida_g_assertion_message_cmpnum(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
expr: *const ::std::os::raw::c_char,
arg1: f64,
cmp: *const ::std::os::raw::c_char,
arg2: f64,
numtype: ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_assertion_message_error(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
expr: *const ::std::os::raw::c_char,
error: *const GError,
error_domain: GQuark,
error_code: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn _frida_g_test_add_vtable(
testpath: *const ::std::os::raw::c_char,
data_size: gsize,
test_data: gconstpointer,
data_setup: GTestFixtureFunc,
data_test: GTestFixtureFunc,
data_teardown: GTestFixtureFunc,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct GTestConfig {
pub test_initialized: gboolean,
pub test_quick: gboolean,
pub test_perf: gboolean,
pub test_verbose: gboolean,
pub test_quiet: gboolean,
pub test_undefined: gboolean,
}
extern "C" {
pub static _frida_g_test_config_vars: *const GTestConfig;
}
pub const GTestResult_G_TEST_RUN_SUCCESS: GTestResult = 0;
pub const GTestResult_G_TEST_RUN_SKIPPED: GTestResult = 1;
pub const GTestResult_G_TEST_RUN_FAILURE: GTestResult = 2;
pub const GTestResult_G_TEST_RUN_INCOMPLETE: GTestResult = 3;
pub type GTestResult = ::std::os::raw::c_uint;
pub const GTestLogType_G_TEST_LOG_NONE: GTestLogType = 0;
pub const GTestLogType_G_TEST_LOG_ERROR: GTestLogType = 1;
pub const GTestLogType_G_TEST_LOG_START_BINARY: GTestLogType = 2;
pub const GTestLogType_G_TEST_LOG_LIST_CASE: GTestLogType = 3;
pub const GTestLogType_G_TEST_LOG_SKIP_CASE: GTestLogType = 4;
pub const GTestLogType_G_TEST_LOG_START_CASE: GTestLogType = 5;
pub const GTestLogType_G_TEST_LOG_STOP_CASE: GTestLogType = 6;
pub const GTestLogType_G_TEST_LOG_MIN_RESULT: GTestLogType = 7;
pub const GTestLogType_G_TEST_LOG_MAX_RESULT: GTestLogType = 8;
pub const GTestLogType_G_TEST_LOG_MESSAGE: GTestLogType = 9;
pub const GTestLogType_G_TEST_LOG_START_SUITE: GTestLogType = 10;
pub const GTestLogType_G_TEST_LOG_STOP_SUITE: GTestLogType = 11;
pub type GTestLogType = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct GTestLogMsg {
pub log_type: GTestLogType,
pub n_strings: guint,
pub strings: *mut *mut gchar,
pub n_nums: guint,
pub nums: *mut f64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct GTestLogBuffer {
pub data: *mut GString,
pub msgs: *mut GSList,
}
extern "C" {
pub fn _frida_g_test_log_type_name(log_type: GTestLogType) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_test_log_buffer_new() -> *mut GTestLogBuffer;
}
extern "C" {
pub fn _frida_g_test_log_buffer_free(tbuffer: *mut GTestLogBuffer);
}
extern "C" {
pub fn _frida_g_test_log_buffer_push(
tbuffer: *mut GTestLogBuffer,
n_bytes: guint,
bytes: *const guint8,
);
}
extern "C" {
pub fn _frida_g_test_log_buffer_pop(tbuffer: *mut GTestLogBuffer) -> *mut GTestLogMsg;
}
extern "C" {
pub fn _frida_g_test_log_msg_free(tmsg: *mut GTestLogMsg);
}
pub type GTestLogFatalFunc = ::std::option::Option<
unsafe extern "C" fn(
log_domain: *const gchar,
log_level: GLogLevelFlags,
message: *const gchar,
user_data: gpointer,
) -> gboolean,
>;
extern "C" {
pub fn _frida_g_test_log_set_fatal_handler(log_func: GTestLogFatalFunc, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_test_expect_message(
log_domain: *const gchar,
log_level: GLogLevelFlags,
pattern: *const gchar,
);
}
extern "C" {
pub fn _frida_g_test_assert_expected_messages_internal(
domain: *const ::std::os::raw::c_char,
file: *const ::std::os::raw::c_char,
line: ::std::os::raw::c_int,
func: *const ::std::os::raw::c_char,
);
}
pub const GTestFileType_G_TEST_DIST: GTestFileType = 0;
pub const GTestFileType_G_TEST_BUILT: GTestFileType = 1;
pub type GTestFileType = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_test_build_filename(
file_type: GTestFileType,
first_path: *const gchar,
...
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_test_get_dir(file_type: GTestFileType) -> *const gchar;
}
extern "C" {
pub fn _frida_g_test_get_filename(
file_type: GTestFileType,
first_path: *const gchar,
...
) -> *const gchar;
}
pub type GThreadPool = _GThreadPool;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThreadPool {
pub func: GFunc,
pub user_data: gpointer,
pub exclusive: gboolean,
}
extern "C" {
pub fn _frida_g_thread_pool_new(
func: GFunc,
user_data: gpointer,
max_threads: gint,
exclusive: gboolean,
error: *mut *mut GError,
) -> *mut GThreadPool;
}
extern "C" {
pub fn _frida_g_thread_pool_new_full(
func: GFunc,
user_data: gpointer,
item_free_func: GDestroyNotify,
max_threads: gint,
exclusive: gboolean,
error: *mut *mut GError,
) -> *mut GThreadPool;
}
extern "C" {
pub fn _frida_g_thread_pool_free(pool: *mut GThreadPool, immediate: gboolean, wait_: gboolean);
}
extern "C" {
pub fn _frida_g_thread_pool_push(
pool: *mut GThreadPool,
data: gpointer,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_thread_pool_unprocessed(pool: *mut GThreadPool) -> guint;
}
extern "C" {
pub fn _frida_g_thread_pool_set_sort_function(
pool: *mut GThreadPool,
func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_thread_pool_move_to_front(pool: *mut GThreadPool, data: gpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_thread_pool_set_max_threads(
pool: *mut GThreadPool,
max_threads: gint,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_thread_pool_get_max_threads(pool: *mut GThreadPool) -> gint;
}
extern "C" {
pub fn _frida_g_thread_pool_get_num_threads(pool: *mut GThreadPool) -> guint;
}
extern "C" {
pub fn _frida_g_thread_pool_set_max_unused_threads(max_threads: gint);
}
extern "C" {
pub fn _frida_g_thread_pool_get_max_unused_threads() -> gint;
}
extern "C" {
pub fn _frida_g_thread_pool_get_num_unused_threads() -> guint;
}
extern "C" {
pub fn _frida_g_thread_pool_stop_unused_threads();
}
extern "C" {
pub fn _frida_g_thread_pool_set_max_idle_time(interval: guint);
}
extern "C" {
pub fn _frida_g_thread_pool_get_max_idle_time() -> guint;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTimer {
_unused: [u8; 0],
}
pub type GTimer = _GTimer;
extern "C" {
pub fn _frida_g_timer_new() -> *mut GTimer;
}
extern "C" {
pub fn _frida_g_timer_destroy(timer: *mut GTimer);
}
extern "C" {
pub fn _frida_g_timer_start(timer: *mut GTimer);
}
extern "C" {
pub fn _frida_g_timer_stop(timer: *mut GTimer);
}
extern "C" {
pub fn _frida_g_timer_reset(timer: *mut GTimer);
}
extern "C" {
pub fn _frida_g_timer_continue(timer: *mut GTimer);
}
extern "C" {
pub fn _frida_g_timer_elapsed(timer: *mut GTimer, microseconds: *mut gulong) -> gdouble;
}
extern "C" {
pub fn _frida_g_timer_is_active(timer: *mut GTimer) -> gboolean;
}
extern "C" {
pub fn _frida_g_usleep(microseconds: gulong);
}
extern "C" {
pub fn _frida_g_time_val_add(time_: *mut GTimeVal, microseconds: glong);
}
extern "C" {
pub fn _frida_g_time_val_from_iso8601(iso_date: *const gchar, time_: *mut GTimeVal)
-> gboolean;
}
extern "C" {
pub fn _frida_g_time_val_to_iso8601(time_: *mut GTimeVal) -> *mut gchar;
}
pub type GTrashStack = _GTrashStack;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTrashStack {
pub next: *mut GTrashStack,
}
extern "C" {
pub fn _frida_g_trash_stack_push(stack_p: *mut *mut GTrashStack, data_p: gpointer);
}
extern "C" {
pub fn _frida_g_trash_stack_pop(stack_p: *mut *mut GTrashStack) -> gpointer;
}
extern "C" {
pub fn _frida_g_trash_stack_peek(stack_p: *mut *mut GTrashStack) -> gpointer;
}
extern "C" {
pub fn _frida_g_trash_stack_height(stack_p: *mut *mut GTrashStack) -> guint;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTree {
_unused: [u8; 0],
}
pub type GTree = _GTree;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTreeNode {
_unused: [u8; 0],
}
pub type GTreeNode = _GTreeNode;
pub type GTraverseFunc = ::std::option::Option<
unsafe extern "C" fn(key: gpointer, value: gpointer, user_data: gpointer) -> gboolean,
>;
pub type GTraverseNodeFunc = ::std::option::Option<
unsafe extern "C" fn(node: *mut GTreeNode, user_data: gpointer) -> gboolean,
>;
extern "C" {
pub fn _frida_g_tree_new(key_compare_func: GCompareFunc) -> *mut GTree;
}
extern "C" {
pub fn _frida_g_tree_new_with_data(
key_compare_func: GCompareDataFunc,
key_compare_data: gpointer,
) -> *mut GTree;
}
extern "C" {
pub fn _frida_g_tree_new_full(
key_compare_func: GCompareDataFunc,
key_compare_data: gpointer,
key_destroy_func: GDestroyNotify,
value_destroy_func: GDestroyNotify,
) -> *mut GTree;
}
extern "C" {
pub fn _frida_g_tree_node_first(tree: *mut GTree) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_node_last(tree: *mut GTree) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_node_previous(node: *mut GTreeNode) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_node_next(node: *mut GTreeNode) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_ref(tree: *mut GTree) -> *mut GTree;
}
extern "C" {
pub fn _frida_g_tree_unref(tree: *mut GTree);
}
extern "C" {
pub fn _frida_g_tree_destroy(tree: *mut GTree);
}
extern "C" {
pub fn _frida_g_tree_insert_node(
tree: *mut GTree,
key: gpointer,
value: gpointer,
) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_insert(tree: *mut GTree, key: gpointer, value: gpointer);
}
extern "C" {
pub fn _frida_g_tree_replace_node(
tree: *mut GTree,
key: gpointer,
value: gpointer,
) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_replace(tree: *mut GTree, key: gpointer, value: gpointer);
}
extern "C" {
pub fn _frida_g_tree_remove(tree: *mut GTree, key: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_tree_remove_all(tree: *mut GTree);
}
extern "C" {
pub fn _frida_g_tree_steal(tree: *mut GTree, key: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_tree_node_key(node: *mut GTreeNode) -> gpointer;
}
extern "C" {
pub fn _frida_g_tree_node_value(node: *mut GTreeNode) -> gpointer;
}
extern "C" {
pub fn _frida_g_tree_lookup_node(tree: *mut GTree, key: gconstpointer) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_lookup(tree: *mut GTree, key: gconstpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_tree_lookup_extended(
tree: *mut GTree,
lookup_key: gconstpointer,
orig_key: *mut gpointer,
value: *mut gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_tree_foreach(tree: *mut GTree, func: GTraverseFunc, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_tree_foreach_node(
tree: *mut GTree,
func: GTraverseNodeFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tree_traverse(
tree: *mut GTree,
traverse_func: GTraverseFunc,
traverse_type: GTraverseType,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tree_search_node(
tree: *mut GTree,
search_func: GCompareFunc,
user_data: gconstpointer,
) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_search(
tree: *mut GTree,
search_func: GCompareFunc,
user_data: gconstpointer,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_tree_lower_bound(tree: *mut GTree, key: gconstpointer) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_upper_bound(tree: *mut GTree, key: gconstpointer) -> *mut GTreeNode;
}
extern "C" {
pub fn _frida_g_tree_height(tree: *mut GTree) -> gint;
}
extern "C" {
pub fn _frida_g_tree_nnodes(tree: *mut GTree) -> gint;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUri {
_unused: [u8; 0],
}
pub type GUri = _GUri;
extern "C" {
pub fn _frida_g_uri_ref(uri: *mut GUri) -> *mut GUri;
}
extern "C" {
pub fn _frida_g_uri_unref(uri: *mut GUri);
}
pub const GUriFlags_G_URI_FLAGS_NONE: GUriFlags = 0;
pub const GUriFlags_G_URI_FLAGS_PARSE_RELAXED: GUriFlags = 1;
pub const GUriFlags_G_URI_FLAGS_HAS_PASSWORD: GUriFlags = 2;
pub const GUriFlags_G_URI_FLAGS_HAS_AUTH_PARAMS: GUriFlags = 4;
pub const GUriFlags_G_URI_FLAGS_ENCODED: GUriFlags = 8;
pub const GUriFlags_G_URI_FLAGS_NON_DNS: GUriFlags = 16;
pub const GUriFlags_G_URI_FLAGS_ENCODED_QUERY: GUriFlags = 32;
pub const GUriFlags_G_URI_FLAGS_ENCODED_PATH: GUriFlags = 64;
pub const GUriFlags_G_URI_FLAGS_ENCODED_FRAGMENT: GUriFlags = 128;
pub const GUriFlags_G_URI_FLAGS_SCHEME_NORMALIZE: GUriFlags = 256;
pub type GUriFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_uri_split(
uri_ref: *const gchar,
flags: GUriFlags,
scheme: *mut *mut gchar,
userinfo: *mut *mut gchar,
host: *mut *mut gchar,
port: *mut gint,
path: *mut *mut gchar,
query: *mut *mut gchar,
fragment: *mut *mut gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_uri_split_with_user(
uri_ref: *const gchar,
flags: GUriFlags,
scheme: *mut *mut gchar,
user: *mut *mut gchar,
password: *mut *mut gchar,
auth_params: *mut *mut gchar,
host: *mut *mut gchar,
port: *mut gint,
path: *mut *mut gchar,
query: *mut *mut gchar,
fragment: *mut *mut gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_uri_split_network(
uri_string: *const gchar,
flags: GUriFlags,
scheme: *mut *mut gchar,
host: *mut *mut gchar,
port: *mut gint,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_uri_is_valid(
uri_string: *const gchar,
flags: GUriFlags,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_uri_join(
flags: GUriFlags,
scheme: *const gchar,
userinfo: *const gchar,
host: *const gchar,
port: gint,
path: *const gchar,
query: *const gchar,
fragment: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_uri_join_with_user(
flags: GUriFlags,
scheme: *const gchar,
user: *const gchar,
password: *const gchar,
auth_params: *const gchar,
host: *const gchar,
port: gint,
path: *const gchar,
query: *const gchar,
fragment: *const gchar,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_uri_parse(
uri_string: *const gchar,
flags: GUriFlags,
error: *mut *mut GError,
) -> *mut GUri;
}
extern "C" {
pub fn _frida_g_uri_parse_relative(
base_uri: *mut GUri,
uri_ref: *const gchar,
flags: GUriFlags,
error: *mut *mut GError,
) -> *mut GUri;
}
extern "C" {
pub fn _frida_g_uri_resolve_relative(
base_uri_string: *const gchar,
uri_ref: *const gchar,
flags: GUriFlags,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_uri_build(
flags: GUriFlags,
scheme: *const gchar,
userinfo: *const gchar,
host: *const gchar,
port: gint,
path: *const gchar,
query: *const gchar,
fragment: *const gchar,
) -> *mut GUri;
}
extern "C" {
pub fn _frida_g_uri_build_with_user(
flags: GUriFlags,
scheme: *const gchar,
user: *const gchar,
password: *const gchar,
auth_params: *const gchar,
host: *const gchar,
port: gint,
path: *const gchar,
query: *const gchar,
fragment: *const gchar,
) -> *mut GUri;
}
pub const GUriHideFlags_G_URI_HIDE_NONE: GUriHideFlags = 0;
pub const GUriHideFlags_G_URI_HIDE_USERINFO: GUriHideFlags = 1;
pub const GUriHideFlags_G_URI_HIDE_PASSWORD: GUriHideFlags = 2;
pub const GUriHideFlags_G_URI_HIDE_AUTH_PARAMS: GUriHideFlags = 4;
pub const GUriHideFlags_G_URI_HIDE_QUERY: GUriHideFlags = 8;
pub const GUriHideFlags_G_URI_HIDE_FRAGMENT: GUriHideFlags = 16;
pub type GUriHideFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_uri_to_string(uri: *mut GUri) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_uri_to_string_partial(
uri: *mut GUri,
flags: GUriHideFlags,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_uri_get_scheme(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_userinfo(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_user(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_password(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_auth_params(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_host(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_port(uri: *mut GUri) -> gint;
}
extern "C" {
pub fn _frida_g_uri_get_path(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_query(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_fragment(uri: *mut GUri) -> *const gchar;
}
extern "C" {
pub fn _frida_g_uri_get_flags(uri: *mut GUri) -> GUriFlags;
}
pub const GUriParamsFlags_G_URI_PARAMS_NONE: GUriParamsFlags = 0;
pub const GUriParamsFlags_G_URI_PARAMS_CASE_INSENSITIVE: GUriParamsFlags = 1;
pub const GUriParamsFlags_G_URI_PARAMS_WWW_FORM: GUriParamsFlags = 2;
pub const GUriParamsFlags_G_URI_PARAMS_PARSE_RELAXED: GUriParamsFlags = 4;
pub type GUriParamsFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_uri_parse_params(
params: *const gchar,
length: gssize,
separators: *const gchar,
flags: GUriParamsFlags,
error: *mut *mut GError,
) -> *mut GHashTable;
}
pub type GUriParamsIter = _GUriParamsIter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUriParamsIter {
pub dummy0: gint,
pub dummy1: gpointer,
pub dummy2: gpointer,
pub dummy3: [guint8; 256usize],
}
extern "C" {
pub fn _frida_g_uri_params_iter_init(
iter: *mut GUriParamsIter,
params: *const gchar,
length: gssize,
separators: *const gchar,
flags: GUriParamsFlags,
);
}
extern "C" {
pub fn _frida_g_uri_params_iter_next(
iter: *mut GUriParamsIter,
attribute: *mut *mut gchar,
value: *mut *mut gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_uri_error_quark() -> GQuark;
}
pub const GUriError_G_URI_ERROR_FAILED: GUriError = 0;
pub const GUriError_G_URI_ERROR_BAD_SCHEME: GUriError = 1;
pub const GUriError_G_URI_ERROR_BAD_USER: GUriError = 2;
pub const GUriError_G_URI_ERROR_BAD_PASSWORD: GUriError = 3;
pub const GUriError_G_URI_ERROR_BAD_AUTH_PARAMS: GUriError = 4;
pub const GUriError_G_URI_ERROR_BAD_HOST: GUriError = 5;
pub const GUriError_G_URI_ERROR_BAD_PORT: GUriError = 6;
pub const GUriError_G_URI_ERROR_BAD_PATH: GUriError = 7;
pub const GUriError_G_URI_ERROR_BAD_QUERY: GUriError = 8;
pub const GUriError_G_URI_ERROR_BAD_FRAGMENT: GUriError = 9;
pub type GUriError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_uri_unescape_string(
escaped_string: *const ::std::os::raw::c_char,
illegal_characters: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_uri_unescape_segment(
escaped_string: *const ::std::os::raw::c_char,
escaped_string_end: *const ::std::os::raw::c_char,
illegal_characters: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_uri_parse_scheme(
uri: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_uri_peek_scheme(
uri: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_uri_escape_string(
unescaped: *const ::std::os::raw::c_char,
reserved_chars_allowed: *const ::std::os::raw::c_char,
allow_utf8: gboolean,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_uri_unescape_bytes(
escaped_string: *const ::std::os::raw::c_char,
length: gssize,
illegal_characters: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_uri_escape_bytes(
unescaped: *const guint8,
length: gsize,
reserved_chars_allowed: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_uuid_string_is_valid(str_: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_uuid_string_random() -> *mut gchar;
}
extern "C" {
pub static _frida_glib_major_version: guint;
}
extern "C" {
pub static _frida_glib_minor_version: guint;
}
extern "C" {
pub static _frida_glib_micro_version: guint;
}
extern "C" {
pub static _frida_glib_interface_age: guint;
}
extern "C" {
pub static _frida_glib_binary_age: guint;
}
extern "C" {
pub fn _frida_glib_check_version(
required_major: guint,
required_minor: guint,
required_micro: guint,
) -> *const gchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAllocator {
_unused: [u8; 0],
}
pub type GAllocator = _GAllocator;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemChunk {
_unused: [u8; 0],
}
pub type GMemChunk = _GMemChunk;
extern "C" {
pub fn _frida_g_mem_chunk_new(
name: *const gchar,
atom_size: gint,
area_size: gsize,
type_: gint,
) -> *mut GMemChunk;
}
extern "C" {
pub fn _frida_g_mem_chunk_destroy(mem_chunk: *mut GMemChunk);
}
extern "C" {
pub fn _frida_g_mem_chunk_alloc(mem_chunk: *mut GMemChunk) -> gpointer;
}
extern "C" {
pub fn _frida_g_mem_chunk_alloc0(mem_chunk: *mut GMemChunk) -> gpointer;
}
extern "C" {
pub fn _frida_g_mem_chunk_free(mem_chunk: *mut GMemChunk, mem: gpointer);
}
extern "C" {
pub fn _frida_g_mem_chunk_clean(mem_chunk: *mut GMemChunk);
}
extern "C" {
pub fn _frida_g_mem_chunk_reset(mem_chunk: *mut GMemChunk);
}
extern "C" {
pub fn _frida_g_mem_chunk_print(mem_chunk: *mut GMemChunk);
}
extern "C" {
pub fn _frida_g_mem_chunk_info();
}
extern "C" {
pub fn _frida_g_blow_chunks();
}
extern "C" {
pub fn _frida_g_allocator_new(name: *const gchar, n_preallocs: guint) -> *mut GAllocator;
}
extern "C" {
pub fn _frida_g_allocator_free(allocator: *mut GAllocator);
}
extern "C" {
pub fn _frida_g_list_push_allocator(allocator: *mut GAllocator);
}
extern "C" {
pub fn _frida_g_list_pop_allocator();
}
extern "C" {
pub fn _frida_g_slist_push_allocator(allocator: *mut GAllocator);
}
extern "C" {
pub fn _frida_g_slist_pop_allocator();
}
extern "C" {
pub fn _frida_g_node_push_allocator(allocator: *mut GAllocator);
}
extern "C" {
pub fn _frida_g_node_pop_allocator();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCache {
_unused: [u8; 0],
}
pub type GCache = _GCache;
pub type GCacheNewFunc = ::std::option::Option<unsafe extern "C" fn(key: gpointer) -> gpointer>;
pub type GCacheDupFunc = ::std::option::Option<unsafe extern "C" fn(value: gpointer) -> gpointer>;
pub type GCacheDestroyFunc = ::std::option::Option<unsafe extern "C" fn(value: gpointer)>;
extern "C" {
pub fn _frida_g_cache_new(
value_new_func: GCacheNewFunc,
value_destroy_func: GCacheDestroyFunc,
key_dup_func: GCacheDupFunc,
key_destroy_func: GCacheDestroyFunc,
hash_key_func: GHashFunc,
hash_value_func: GHashFunc,
key_equal_func: GEqualFunc,
) -> *mut GCache;
}
extern "C" {
pub fn _frida_g_cache_destroy(cache: *mut GCache);
}
extern "C" {
pub fn _frida_g_cache_insert(cache: *mut GCache, key: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_cache_remove(cache: *mut GCache, value: gconstpointer);
}
extern "C" {
pub fn _frida_g_cache_key_foreach(cache: *mut GCache, func: GHFunc, user_data: gpointer);
}
extern "C" {
pub fn _frida_g_cache_value_foreach(cache: *mut GCache, func: GHFunc, user_data: gpointer);
}
pub type GCompletion = _GCompletion;
pub type GCompletionFunc =
::std::option::Option<unsafe extern "C" fn(arg1: gpointer) -> *mut gchar>;
pub type GCompletionStrncmpFunc = ::std::option::Option<
unsafe extern "C" fn(s1: *const gchar, s2: *const gchar, n: gsize) -> gint,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCompletion {
pub items: *mut GList,
pub func: GCompletionFunc,
pub prefix: *mut gchar,
pub cache: *mut GList,
pub strncmp_func: GCompletionStrncmpFunc,
}
extern "C" {
pub fn _frida_g_completion_new(func: GCompletionFunc) -> *mut GCompletion;
}
extern "C" {
pub fn _frida_g_completion_add_items(cmp: *mut GCompletion, items: *mut GList);
}
extern "C" {
pub fn _frida_g_completion_remove_items(cmp: *mut GCompletion, items: *mut GList);
}
extern "C" {
pub fn _frida_g_completion_clear_items(cmp: *mut GCompletion);
}
extern "C" {
pub fn _frida_g_completion_complete(
cmp: *mut GCompletion,
prefix: *const gchar,
new_prefix: *mut *mut gchar,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_completion_complete_utf8(
cmp: *mut GCompletion,
prefix: *const gchar,
new_prefix: *mut *mut gchar,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_completion_set_compare(
cmp: *mut GCompletion,
strncmp_func: GCompletionStrncmpFunc,
);
}
extern "C" {
pub fn _frida_g_completion_free(cmp: *mut GCompletion);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GRelation {
_unused: [u8; 0],
}
pub type GRelation = _GRelation;
pub type GTuples = _GTuples;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTuples {
pub len: guint,
}
extern "C" {
pub fn _frida_g_relation_new(fields: gint) -> *mut GRelation;
}
extern "C" {
pub fn _frida_g_relation_destroy(relation: *mut GRelation);
}
extern "C" {
pub fn _frida_g_relation_index(
relation: *mut GRelation,
field: gint,
hash_func: GHashFunc,
key_equal_func: GEqualFunc,
);
}
extern "C" {
pub fn _frida_g_relation_insert(relation: *mut GRelation, ...);
}
extern "C" {
pub fn _frida_g_relation_delete(
relation: *mut GRelation,
key: gconstpointer,
field: gint,
) -> gint;
}
extern "C" {
pub fn _frida_g_relation_select(
relation: *mut GRelation,
key: gconstpointer,
field: gint,
) -> *mut GTuples;
}
extern "C" {
pub fn _frida_g_relation_count(
relation: *mut GRelation,
key: gconstpointer,
field: gint,
) -> gint;
}
extern "C" {
pub fn _frida_g_relation_exists(relation: *mut GRelation, ...) -> gboolean;
}
extern "C" {
pub fn _frida_g_relation_print(relation: *mut GRelation);
}
extern "C" {
pub fn _frida_g_tuples_destroy(tuples: *mut GTuples);
}
extern "C" {
pub fn _frida_g_tuples_index(tuples: *mut GTuples, index_: gint, field: gint) -> gpointer;
}
pub const GThreadPriority_G_THREAD_PRIORITY_LOW: GThreadPriority = 0;
pub const GThreadPriority_G_THREAD_PRIORITY_NORMAL: GThreadPriority = 1;
pub const GThreadPriority_G_THREAD_PRIORITY_HIGH: GThreadPriority = 2;
pub const GThreadPriority_G_THREAD_PRIORITY_URGENT: GThreadPriority = 3;
pub type GThreadPriority = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThread {
pub func: GThreadFunc,
pub data: gpointer,
pub joinable: gboolean,
pub priority: GThreadPriority,
}
pub type GThreadFunctions = _GThreadFunctions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThreadFunctions {
pub mutex_new: ::std::option::Option<unsafe extern "C" fn() -> *mut GMutex>,
pub mutex_lock: ::std::option::Option<unsafe extern "C" fn(mutex: *mut GMutex)>,
pub mutex_trylock: ::std::option::Option<unsafe extern "C" fn(mutex: *mut GMutex) -> gboolean>,
pub mutex_unlock: ::std::option::Option<unsafe extern "C" fn(mutex: *mut GMutex)>,
pub mutex_free: ::std::option::Option<unsafe extern "C" fn(mutex: *mut GMutex)>,
pub cond_new: ::std::option::Option<unsafe extern "C" fn() -> *mut GCond>,
pub cond_signal: ::std::option::Option<unsafe extern "C" fn(cond: *mut GCond)>,
pub cond_broadcast: ::std::option::Option<unsafe extern "C" fn(cond: *mut GCond)>,
pub cond_wait:
::std::option::Option<unsafe extern "C" fn(cond: *mut GCond, mutex: *mut GMutex)>,
pub cond_timed_wait: ::std::option::Option<
unsafe extern "C" fn(
cond: *mut GCond,
mutex: *mut GMutex,
end_time: *mut GTimeVal,
) -> gboolean,
>,
pub cond_free: ::std::option::Option<unsafe extern "C" fn(cond: *mut GCond)>,
pub private_new:
::std::option::Option<unsafe extern "C" fn(destructor: GDestroyNotify) -> *mut GPrivate>,
pub private_get:
::std::option::Option<unsafe extern "C" fn(private_key: *mut GPrivate) -> gpointer>,
pub private_set:
::std::option::Option<unsafe extern "C" fn(private_key: *mut GPrivate, data: gpointer)>,
pub thread_create: ::std::option::Option<
unsafe extern "C" fn(
func: GThreadFunc,
data: gpointer,
stack_size: gulong,
joinable: gboolean,
bound: gboolean,
priority: GThreadPriority,
thread: gpointer,
error: *mut *mut GError,
),
>,
pub thread_yield: ::std::option::Option<unsafe extern "C" fn()>,
pub thread_join: ::std::option::Option<unsafe extern "C" fn(thread: gpointer)>,
pub thread_exit: ::std::option::Option<unsafe extern "C" fn()>,
pub thread_set_priority:
::std::option::Option<unsafe extern "C" fn(thread: gpointer, priority: GThreadPriority)>,
pub thread_self: ::std::option::Option<unsafe extern "C" fn(thread: gpointer)>,
pub thread_equal: ::std::option::Option<
unsafe extern "C" fn(thread1: gpointer, thread2: gpointer) -> gboolean,
>,
}
extern "C" {
pub static mut _frida_g_thread_functions_for_glib_use: GThreadFunctions;
}
extern "C" {
pub static mut _frida_g_thread_use_default_impl: gboolean;
}
extern "C" {
pub static mut _frida_g_thread_gettime:
::std::option::Option<unsafe extern "C" fn() -> guint64>;
}
extern "C" {
pub fn _frida_g_thread_create(
func: GThreadFunc,
data: gpointer,
joinable: gboolean,
error: *mut *mut GError,
) -> *mut GThread;
}
extern "C" {
pub fn _frida_g_thread_create_full(
func: GThreadFunc,
data: gpointer,
stack_size: gulong,
joinable: gboolean,
bound: gboolean,
priority: GThreadPriority,
error: *mut *mut GError,
) -> *mut GThread;
}
extern "C" {
pub fn _frida_g_thread_set_priority(thread: *mut GThread, priority: GThreadPriority);
}
extern "C" {
pub fn _frida_g_thread_foreach(thread_func: GFunc, user_data: gpointer);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sched_param {
pub sched_priority: ::std::os::raw::c_int,
}
pub type __cpu_mask = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct cpu_set_t {
pub __bits: [__cpu_mask; 32usize],
}
extern "C" {
pub fn __sched_cpucount(__setsize: usize, __setp: *const cpu_set_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __sched_cpualloc(__count: usize) -> *mut cpu_set_t;
}
extern "C" {
pub fn __sched_cpufree(__set: *mut cpu_set_t);
}
extern "C" {
pub fn sched_setparam(__pid: __pid_t, __param: *const sched_param) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_getparam(__pid: __pid_t, __param: *mut sched_param) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_setscheduler(
__pid: __pid_t,
__policy: ::std::os::raw::c_int,
__param: *const sched_param,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_getscheduler(__pid: __pid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_yield() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_get_priority_max(__algorithm: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_get_priority_min(__algorithm: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_rr_get_interval(__pid: __pid_t, __t: *mut timespec) -> ::std::os::raw::c_int;
}
pub type __jmp_buf = [::std::os::raw::c_int; 6usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __jmp_buf_tag {
pub __jmpbuf: __jmp_buf,
pub __mask_was_saved: ::std::os::raw::c_int,
pub __saved_mask: __sigset_t,
}
pub const PTHREAD_CREATE_JOINABLE: _bindgen_ty_11 = 0;
pub const PTHREAD_CREATE_DETACHED: _bindgen_ty_11 = 1;
pub type _bindgen_ty_11 = ::std::os::raw::c_uint;
pub const PTHREAD_MUTEX_TIMED_NP: _bindgen_ty_12 = 0;
pub const PTHREAD_MUTEX_RECURSIVE_NP: _bindgen_ty_12 = 1;
pub const PTHREAD_MUTEX_ERRORCHECK_NP: _bindgen_ty_12 = 2;
pub const PTHREAD_MUTEX_ADAPTIVE_NP: _bindgen_ty_12 = 3;
pub const PTHREAD_MUTEX_NORMAL: _bindgen_ty_12 = 0;
pub const PTHREAD_MUTEX_RECURSIVE: _bindgen_ty_12 = 1;
pub const PTHREAD_MUTEX_ERRORCHECK: _bindgen_ty_12 = 2;
pub const PTHREAD_MUTEX_DEFAULT: _bindgen_ty_12 = 0;
pub type _bindgen_ty_12 = ::std::os::raw::c_uint;
pub const PTHREAD_MUTEX_STALLED: _bindgen_ty_13 = 0;
pub const PTHREAD_MUTEX_STALLED_NP: _bindgen_ty_13 = 0;
pub const PTHREAD_MUTEX_ROBUST: _bindgen_ty_13 = 1;
pub const PTHREAD_MUTEX_ROBUST_NP: _bindgen_ty_13 = 1;
pub type _bindgen_ty_13 = ::std::os::raw::c_uint;
pub const PTHREAD_PRIO_NONE: _bindgen_ty_14 = 0;
pub const PTHREAD_PRIO_INHERIT: _bindgen_ty_14 = 1;
pub const PTHREAD_PRIO_PROTECT: _bindgen_ty_14 = 2;
pub type _bindgen_ty_14 = ::std::os::raw::c_uint;
pub const PTHREAD_RWLOCK_PREFER_READER_NP: _bindgen_ty_15 = 0;
pub const PTHREAD_RWLOCK_PREFER_WRITER_NP: _bindgen_ty_15 = 1;
pub const PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP: _bindgen_ty_15 = 2;
pub const PTHREAD_RWLOCK_DEFAULT_NP: _bindgen_ty_15 = 0;
pub type _bindgen_ty_15 = ::std::os::raw::c_uint;
pub const PTHREAD_INHERIT_SCHED: _bindgen_ty_16 = 0;
pub const PTHREAD_EXPLICIT_SCHED: _bindgen_ty_16 = 1;
pub type _bindgen_ty_16 = ::std::os::raw::c_uint;
pub const PTHREAD_SCOPE_SYSTEM: _bindgen_ty_17 = 0;
pub const PTHREAD_SCOPE_PROCESS: _bindgen_ty_17 = 1;
pub type _bindgen_ty_17 = ::std::os::raw::c_uint;
pub const PTHREAD_PROCESS_PRIVATE: _bindgen_ty_18 = 0;
pub const PTHREAD_PROCESS_SHARED: _bindgen_ty_18 = 1;
pub type _bindgen_ty_18 = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _pthread_cleanup_buffer {
pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
pub __arg: *mut ::std::os::raw::c_void,
pub __canceltype: ::std::os::raw::c_int,
pub __prev: *mut _pthread_cleanup_buffer,
}
pub const PTHREAD_CANCEL_ENABLE: _bindgen_ty_19 = 0;
pub const PTHREAD_CANCEL_DISABLE: _bindgen_ty_19 = 1;
pub type _bindgen_ty_19 = ::std::os::raw::c_uint;
pub const PTHREAD_CANCEL_DEFERRED: _bindgen_ty_20 = 0;
pub const PTHREAD_CANCEL_ASYNCHRONOUS: _bindgen_ty_20 = 1;
pub type _bindgen_ty_20 = ::std::os::raw::c_uint;
extern "C" {
pub fn pthread_create(
__newthread: *mut pthread_t,
__attr: *const pthread_attr_t,
__start_routine: ::std::option::Option<
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void,
>,
__arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_exit(__retval: *mut ::std::os::raw::c_void) -> !;
}
extern "C" {
pub fn pthread_join(
__th: pthread_t,
__thread_return: *mut *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_detach(__th: pthread_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_self() -> pthread_t;
}
extern "C" {
pub fn pthread_equal(__thread1: pthread_t, __thread2: pthread_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_init(__attr: *mut pthread_attr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_destroy(__attr: *mut pthread_attr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getdetachstate(
__attr: *const pthread_attr_t,
__detachstate: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setdetachstate(
__attr: *mut pthread_attr_t,
__detachstate: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getguardsize(
__attr: *const pthread_attr_t,
__guardsize: *mut usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setguardsize(
__attr: *mut pthread_attr_t,
__guardsize: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getschedparam(
__attr: *const pthread_attr_t,
__param: *mut sched_param,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setschedparam(
__attr: *mut pthread_attr_t,
__param: *const sched_param,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getschedpolicy(
__attr: *const pthread_attr_t,
__policy: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setschedpolicy(
__attr: *mut pthread_attr_t,
__policy: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getinheritsched(
__attr: *const pthread_attr_t,
__inherit: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setinheritsched(
__attr: *mut pthread_attr_t,
__inherit: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getscope(
__attr: *const pthread_attr_t,
__scope: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setscope(
__attr: *mut pthread_attr_t,
__scope: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getstackaddr(
__attr: *const pthread_attr_t,
__stackaddr: *mut *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setstackaddr(
__attr: *mut pthread_attr_t,
__stackaddr: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getstacksize(
__attr: *const pthread_attr_t,
__stacksize: *mut usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setstacksize(
__attr: *mut pthread_attr_t,
__stacksize: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getstack(
__attr: *const pthread_attr_t,
__stackaddr: *mut *mut ::std::os::raw::c_void,
__stacksize: *mut usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setstack(
__attr: *mut pthread_attr_t,
__stackaddr: *mut ::std::os::raw::c_void,
__stacksize: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_setschedparam(
__target_thread: pthread_t,
__policy: ::std::os::raw::c_int,
__param: *const sched_param,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_getschedparam(
__target_thread: pthread_t,
__policy: *mut ::std::os::raw::c_int,
__param: *mut sched_param,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_setschedprio(
__target_thread: pthread_t,
__prio: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_once(
__once_control: *mut pthread_once_t,
__init_routine: ::std::option::Option<unsafe extern "C" fn()>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_setcancelstate(
__state: ::std::os::raw::c_int,
__oldstate: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_setcanceltype(
__type: ::std::os::raw::c_int,
__oldtype: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cancel(__th: pthread_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_testcancel();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __cancel_jmp_buf_tag {
pub __cancel_jmp_buf: __jmp_buf,
pub __mask_was_saved: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_unwind_buf_t {
pub __cancel_jmp_buf: [__cancel_jmp_buf_tag; 1usize],
pub __pad: [*mut ::std::os::raw::c_void; 4usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_cleanup_frame {
pub __cancel_routine:
::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
pub __cancel_arg: *mut ::std::os::raw::c_void,
pub __do_it: ::std::os::raw::c_int,
pub __cancel_type: ::std::os::raw::c_int,
}
extern "C" {
pub fn __pthread_register_cancel(__buf: *mut __pthread_unwind_buf_t);
}
extern "C" {
pub fn __pthread_unregister_cancel(__buf: *mut __pthread_unwind_buf_t);
}
extern "C" {
pub fn __pthread_unwind_next(__buf: *mut __pthread_unwind_buf_t) -> !;
}
extern "C" {
pub fn __sigsetjmp(
__env: *mut __jmp_buf_tag,
__savemask: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_init(
__mutex: *mut pthread_mutex_t,
__mutexattr: *const pthread_mutexattr_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_destroy(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_trylock(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_lock(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_timedlock(
__mutex: *mut pthread_mutex_t,
__abstime: *const timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_unlock(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_getprioceiling(
__mutex: *const pthread_mutex_t,
__prioceiling: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_setprioceiling(
__mutex: *mut pthread_mutex_t,
__prioceiling: ::std::os::raw::c_int,
__old_ceiling: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_consistent(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_init(__attr: *mut pthread_mutexattr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_destroy(__attr: *mut pthread_mutexattr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_getpshared(
__attr: *const pthread_mutexattr_t,
__pshared: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_setpshared(
__attr: *mut pthread_mutexattr_t,
__pshared: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_gettype(
__attr: *const pthread_mutexattr_t,
__kind: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_settype(
__attr: *mut pthread_mutexattr_t,
__kind: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_getprotocol(
__attr: *const pthread_mutexattr_t,
__protocol: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_setprotocol(
__attr: *mut pthread_mutexattr_t,
__protocol: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_getprioceiling(
__attr: *const pthread_mutexattr_t,
__prioceiling: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_setprioceiling(
__attr: *mut pthread_mutexattr_t,
__prioceiling: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_getrobust(
__attr: *const pthread_mutexattr_t,
__robustness: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_setrobust(
__attr: *mut pthread_mutexattr_t,
__robustness: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_init(
__rwlock: *mut pthread_rwlock_t,
__attr: *const pthread_rwlockattr_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_destroy(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_rdlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_tryrdlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_timedrdlock(
__rwlock: *mut pthread_rwlock_t,
__abstime: *const timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_wrlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_trywrlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_timedwrlock(
__rwlock: *mut pthread_rwlock_t,
__abstime: *const timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_unlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_init(__attr: *mut pthread_rwlockattr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_destroy(__attr: *mut pthread_rwlockattr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_getpshared(
__attr: *const pthread_rwlockattr_t,
__pshared: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_setpshared(
__attr: *mut pthread_rwlockattr_t,
__pshared: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_getkind_np(
__attr: *const pthread_rwlockattr_t,
__pref: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_setkind_np(
__attr: *mut pthread_rwlockattr_t,
__pref: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_init(
__cond: *mut pthread_cond_t,
__cond_attr: *const pthread_condattr_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_destroy(__cond: *mut pthread_cond_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_signal(__cond: *mut pthread_cond_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_broadcast(__cond: *mut pthread_cond_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_wait(
__cond: *mut pthread_cond_t,
__mutex: *mut pthread_mutex_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_timedwait(
__cond: *mut pthread_cond_t,
__mutex: *mut pthread_mutex_t,
__abstime: *const timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_init(__attr: *mut pthread_condattr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_destroy(__attr: *mut pthread_condattr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_getpshared(
__attr: *const pthread_condattr_t,
__pshared: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_setpshared(
__attr: *mut pthread_condattr_t,
__pshared: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_getclock(
__attr: *const pthread_condattr_t,
__clock_id: *mut __clockid_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_setclock(
__attr: *mut pthread_condattr_t,
__clock_id: __clockid_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_init(
__lock: *mut pthread_spinlock_t,
__pshared: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_destroy(__lock: *mut pthread_spinlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_lock(__lock: *mut pthread_spinlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_trylock(__lock: *mut pthread_spinlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_unlock(__lock: *mut pthread_spinlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrier_init(
__barrier: *mut pthread_barrier_t,
__attr: *const pthread_barrierattr_t,
__count: ::std::os::raw::c_uint,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrier_destroy(__barrier: *mut pthread_barrier_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrier_wait(__barrier: *mut pthread_barrier_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrierattr_init(__attr: *mut pthread_barrierattr_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrierattr_destroy(__attr: *mut pthread_barrierattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrierattr_getpshared(
__attr: *const pthread_barrierattr_t,
__pshared: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrierattr_setpshared(
__attr: *mut pthread_barrierattr_t,
__pshared: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_key_create(
__key: *mut pthread_key_t,
__destr_function: ::std::option::Option<
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_key_delete(__key: pthread_key_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_getspecific(__key: pthread_key_t) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn pthread_setspecific(
__key: pthread_key_t,
__pointer: *const ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_getcpuclockid(
__thread_id: pthread_t,
__clock_id: *mut __clockid_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_atfork(
__prepare: ::std::option::Option<unsafe extern "C" fn()>,
__parent: ::std::option::Option<unsafe extern "C" fn()>,
__child: ::std::option::Option<unsafe extern "C" fn()>,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GStaticMutex {
pub mutex: *mut GMutex,
pub unused: pthread_mutex_t,
}
extern "C" {
pub fn _frida_g_static_mutex_init(mutex: *mut GStaticMutex);
}
extern "C" {
pub fn _frida_g_static_mutex_free(mutex: *mut GStaticMutex);
}
extern "C" {
pub fn _frida_g_static_mutex_get_mutex_impl(mutex: *mut GStaticMutex) -> *mut GMutex;
}
pub type GStaticRecMutex = _GStaticRecMutex;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _GStaticRecMutex {
pub mutex: GStaticMutex,
pub depth: guint,
pub unused: _GStaticRecMutex__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _GStaticRecMutex__bindgen_ty_1 {
pub owner: pthread_t,
pub dummy: gdouble,
}
extern "C" {
pub fn _frida_g_static_rec_mutex_init(mutex: *mut GStaticRecMutex);
}
extern "C" {
pub fn _frida_g_static_rec_mutex_lock(mutex: *mut GStaticRecMutex);
}
extern "C" {
pub fn _frida_g_static_rec_mutex_trylock(mutex: *mut GStaticRecMutex) -> gboolean;
}
extern "C" {
pub fn _frida_g_static_rec_mutex_unlock(mutex: *mut GStaticRecMutex);
}
extern "C" {
pub fn _frida_g_static_rec_mutex_lock_full(mutex: *mut GStaticRecMutex, depth: guint);
}
extern "C" {
pub fn _frida_g_static_rec_mutex_unlock_full(mutex: *mut GStaticRecMutex) -> guint;
}
extern "C" {
pub fn _frida_g_static_rec_mutex_free(mutex: *mut GStaticRecMutex);
}
pub type GStaticRWLock = _GStaticRWLock;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _GStaticRWLock {
pub mutex: GStaticMutex,
pub read_cond: *mut GCond,
pub write_cond: *mut GCond,
pub read_counter: guint,
pub have_writer: gboolean,
pub want_to_read: guint,
pub want_to_write: guint,
}
extern "C" {
pub fn _frida_g_static_rw_lock_init(lock: *mut GStaticRWLock);
}
extern "C" {
pub fn _frida_g_static_rw_lock_reader_lock(lock: *mut GStaticRWLock);
}
extern "C" {
pub fn _frida_g_static_rw_lock_reader_trylock(lock: *mut GStaticRWLock) -> gboolean;
}
extern "C" {
pub fn _frida_g_static_rw_lock_reader_unlock(lock: *mut GStaticRWLock);
}
extern "C" {
pub fn _frida_g_static_rw_lock_writer_lock(lock: *mut GStaticRWLock);
}
extern "C" {
pub fn _frida_g_static_rw_lock_writer_trylock(lock: *mut GStaticRWLock) -> gboolean;
}
extern "C" {
pub fn _frida_g_static_rw_lock_writer_unlock(lock: *mut GStaticRWLock);
}
extern "C" {
pub fn _frida_g_static_rw_lock_free(lock: *mut GStaticRWLock);
}
extern "C" {
pub fn _frida_g_private_new(notify: GDestroyNotify) -> *mut GPrivate;
}
pub type GStaticPrivate = _GStaticPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GStaticPrivate {
pub index: guint,
}
extern "C" {
pub fn _frida_g_static_private_init(private_key: *mut GStaticPrivate);
}
extern "C" {
pub fn _frida_g_static_private_get(private_key: *mut GStaticPrivate) -> gpointer;
}
extern "C" {
pub fn _frida_g_static_private_set(
private_key: *mut GStaticPrivate,
data: gpointer,
notify: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_static_private_free(private_key: *mut GStaticPrivate);
}
extern "C" {
pub fn _frida_g_once_init_enter_impl(location: *mut gsize) -> gboolean;
}
extern "C" {
pub fn _frida_g_thread_init(vtable: gpointer);
}
extern "C" {
pub fn _frida_g_thread_init_with_errorcheck_mutexes(vtable: gpointer);
}
extern "C" {
pub fn _frida_g_thread_get_initialized() -> gboolean;
}
extern "C" {
pub static mut _frida_g_threads_got_initialized: gboolean;
}
extern "C" {
pub fn _frida_g_mutex_new() -> *mut GMutex;
}
extern "C" {
pub fn _frida_g_mutex_free(mutex: *mut GMutex);
}
extern "C" {
pub fn _frida_g_cond_new() -> *mut GCond;
}
extern "C" {
pub fn _frida_g_cond_free(cond: *mut GCond);
}
extern "C" {
pub fn _frida_g_cond_timed_wait(
cond: *mut GCond,
mutex: *mut GMutex,
timeval: *mut GTimeVal,
) -> gboolean;
}
pub type GAsyncQueue_autoptr = *mut GAsyncQueue;
pub type GAsyncQueue_listautoptr = *mut GList;
pub type GAsyncQueue_slistautoptr = *mut GSList;
pub type GAsyncQueue_queueautoptr = *mut GQueue;
pub type GBookmarkFile_autoptr = *mut GBookmarkFile;
pub type GBookmarkFile_listautoptr = *mut GList;
pub type GBookmarkFile_slistautoptr = *mut GSList;
pub type GBookmarkFile_queueautoptr = *mut GQueue;
pub type GBytes_autoptr = *mut GBytes;
pub type GBytes_listautoptr = *mut GList;
pub type GBytes_slistautoptr = *mut GSList;
pub type GBytes_queueautoptr = *mut GQueue;
pub type GChecksum_autoptr = *mut GChecksum;
pub type GChecksum_listautoptr = *mut GList;
pub type GChecksum_slistautoptr = *mut GSList;
pub type GChecksum_queueautoptr = *mut GQueue;
pub type GDateTime_autoptr = *mut GDateTime;
pub type GDateTime_listautoptr = *mut GList;
pub type GDateTime_slistautoptr = *mut GSList;
pub type GDateTime_queueautoptr = *mut GQueue;
pub type GDate_autoptr = *mut GDate;
pub type GDate_listautoptr = *mut GList;
pub type GDate_slistautoptr = *mut GSList;
pub type GDate_queueautoptr = *mut GQueue;
pub type GDir_autoptr = *mut GDir;
pub type GDir_listautoptr = *mut GList;
pub type GDir_slistautoptr = *mut GSList;
pub type GDir_queueautoptr = *mut GQueue;
pub type GError_autoptr = *mut GError;
pub type GError_listautoptr = *mut GList;
pub type GError_slistautoptr = *mut GSList;
pub type GError_queueautoptr = *mut GQueue;
pub type GHashTable_autoptr = *mut GHashTable;
pub type GHashTable_listautoptr = *mut GList;
pub type GHashTable_slistautoptr = *mut GSList;
pub type GHashTable_queueautoptr = *mut GQueue;
pub type GHmac_autoptr = *mut GHmac;
pub type GHmac_listautoptr = *mut GList;
pub type GHmac_slistautoptr = *mut GSList;
pub type GHmac_queueautoptr = *mut GQueue;
pub type GIOChannel_autoptr = *mut GIOChannel;
pub type GIOChannel_listautoptr = *mut GList;
pub type GIOChannel_slistautoptr = *mut GSList;
pub type GIOChannel_queueautoptr = *mut GQueue;
pub type GKeyFile_autoptr = *mut GKeyFile;
pub type GKeyFile_listautoptr = *mut GList;
pub type GKeyFile_slistautoptr = *mut GSList;
pub type GKeyFile_queueautoptr = *mut GQueue;
pub type GList_autoptr = *mut GList;
pub type GList_listautoptr = *mut GList;
pub type GList_slistautoptr = *mut GSList;
pub type GList_queueautoptr = *mut GQueue;
pub type GArray_autoptr = *mut GArray;
pub type GArray_listautoptr = *mut GList;
pub type GArray_slistautoptr = *mut GSList;
pub type GArray_queueautoptr = *mut GQueue;
pub type GPtrArray_autoptr = *mut GPtrArray;
pub type GPtrArray_listautoptr = *mut GList;
pub type GPtrArray_slistautoptr = *mut GSList;
pub type GPtrArray_queueautoptr = *mut GQueue;
pub type GByteArray_autoptr = *mut GByteArray;
pub type GByteArray_listautoptr = *mut GList;
pub type GByteArray_slistautoptr = *mut GSList;
pub type GByteArray_queueautoptr = *mut GQueue;
pub type GMainContext_autoptr = *mut GMainContext;
pub type GMainContext_listautoptr = *mut GList;
pub type GMainContext_slistautoptr = *mut GSList;
pub type GMainContext_queueautoptr = *mut GQueue;
pub type GMainContextPusher_autoptr = *mut GMainContextPusher;
pub type GMainContextPusher_listautoptr = *mut GList;
pub type GMainContextPusher_slistautoptr = *mut GSList;
pub type GMainContextPusher_queueautoptr = *mut GQueue;
pub type GMainLoop_autoptr = *mut GMainLoop;
pub type GMainLoop_listautoptr = *mut GList;
pub type GMainLoop_slistautoptr = *mut GSList;
pub type GMainLoop_queueautoptr = *mut GQueue;
pub type GSource_autoptr = *mut GSource;
pub type GSource_listautoptr = *mut GList;
pub type GSource_slistautoptr = *mut GSList;
pub type GSource_queueautoptr = *mut GQueue;
pub type GMappedFile_autoptr = *mut GMappedFile;
pub type GMappedFile_listautoptr = *mut GList;
pub type GMappedFile_slistautoptr = *mut GSList;
pub type GMappedFile_queueautoptr = *mut GQueue;
pub type GMarkupParseContext_autoptr = *mut GMarkupParseContext;
pub type GMarkupParseContext_listautoptr = *mut GList;
pub type GMarkupParseContext_slistautoptr = *mut GSList;
pub type GMarkupParseContext_queueautoptr = *mut GQueue;
pub type GNode_autoptr = *mut GNode;
pub type GNode_listautoptr = *mut GList;
pub type GNode_slistautoptr = *mut GSList;
pub type GNode_queueautoptr = *mut GQueue;
pub type GOptionContext_autoptr = *mut GOptionContext;
pub type GOptionContext_listautoptr = *mut GList;
pub type GOptionContext_slistautoptr = *mut GSList;
pub type GOptionContext_queueautoptr = *mut GQueue;
pub type GOptionGroup_autoptr = *mut GOptionGroup;
pub type GOptionGroup_listautoptr = *mut GList;
pub type GOptionGroup_slistautoptr = *mut GSList;
pub type GOptionGroup_queueautoptr = *mut GQueue;
pub type GPatternSpec_autoptr = *mut GPatternSpec;
pub type GPatternSpec_listautoptr = *mut GList;
pub type GPatternSpec_slistautoptr = *mut GSList;
pub type GPatternSpec_queueautoptr = *mut GQueue;
pub type GQueue_autoptr = *mut GQueue;
pub type GQueue_listautoptr = *mut GList;
pub type GQueue_slistautoptr = *mut GSList;
pub type GQueue_queueautoptr = *mut GQueue;
pub type GRand_autoptr = *mut GRand;
pub type GRand_listautoptr = *mut GList;
pub type GRand_slistautoptr = *mut GSList;
pub type GRand_queueautoptr = *mut GQueue;
pub type GRegex_autoptr = *mut GRegex;
pub type GRegex_listautoptr = *mut GList;
pub type GRegex_slistautoptr = *mut GSList;
pub type GRegex_queueautoptr = *mut GQueue;
pub type GMatchInfo_autoptr = *mut GMatchInfo;
pub type GMatchInfo_listautoptr = *mut GList;
pub type GMatchInfo_slistautoptr = *mut GSList;
pub type GMatchInfo_queueautoptr = *mut GQueue;
pub type GScanner_autoptr = *mut GScanner;
pub type GScanner_listautoptr = *mut GList;
pub type GScanner_slistautoptr = *mut GSList;
pub type GScanner_queueautoptr = *mut GQueue;
pub type GSequence_autoptr = *mut GSequence;
pub type GSequence_listautoptr = *mut GList;
pub type GSequence_slistautoptr = *mut GSList;
pub type GSequence_queueautoptr = *mut GQueue;
pub type GSList_autoptr = *mut GSList;
pub type GSList_listautoptr = *mut GList;
pub type GSList_slistautoptr = *mut GSList;
pub type GSList_queueautoptr = *mut GQueue;
pub type GString_autoptr = *mut GString;
pub type GString_listautoptr = *mut GList;
pub type GString_slistautoptr = *mut GSList;
pub type GString_queueautoptr = *mut GQueue;
pub type GStringChunk_autoptr = *mut GStringChunk;
pub type GStringChunk_listautoptr = *mut GList;
pub type GStringChunk_slistautoptr = *mut GSList;
pub type GStringChunk_queueautoptr = *mut GQueue;
pub type GStrvBuilder_autoptr = *mut GStrvBuilder;
pub type GStrvBuilder_listautoptr = *mut GList;
pub type GStrvBuilder_slistautoptr = *mut GSList;
pub type GStrvBuilder_queueautoptr = *mut GQueue;
pub type GThread_autoptr = *mut GThread;
pub type GThread_listautoptr = *mut GList;
pub type GThread_slistautoptr = *mut GSList;
pub type GThread_queueautoptr = *mut GQueue;
pub type GMutexLocker_autoptr = *mut GMutexLocker;
pub type GMutexLocker_listautoptr = *mut GList;
pub type GMutexLocker_slistautoptr = *mut GSList;
pub type GMutexLocker_queueautoptr = *mut GQueue;
pub type GRecMutexLocker_autoptr = *mut GRecMutexLocker;
pub type GRecMutexLocker_listautoptr = *mut GList;
pub type GRecMutexLocker_slistautoptr = *mut GSList;
pub type GRecMutexLocker_queueautoptr = *mut GQueue;
pub type GRWLockWriterLocker_autoptr = *mut GRWLockWriterLocker;
pub type GRWLockWriterLocker_listautoptr = *mut GList;
pub type GRWLockWriterLocker_slistautoptr = *mut GSList;
pub type GRWLockWriterLocker_queueautoptr = *mut GQueue;
pub type GRWLockReaderLocker_autoptr = *mut GRWLockReaderLocker;
pub type GRWLockReaderLocker_listautoptr = *mut GList;
pub type GRWLockReaderLocker_slistautoptr = *mut GSList;
pub type GRWLockReaderLocker_queueautoptr = *mut GQueue;
pub type GTimer_autoptr = *mut GTimer;
pub type GTimer_listautoptr = *mut GList;
pub type GTimer_slistautoptr = *mut GSList;
pub type GTimer_queueautoptr = *mut GQueue;
pub type GTimeZone_autoptr = *mut GTimeZone;
pub type GTimeZone_listautoptr = *mut GList;
pub type GTimeZone_slistautoptr = *mut GSList;
pub type GTimeZone_queueautoptr = *mut GQueue;
pub type GTree_autoptr = *mut GTree;
pub type GTree_listautoptr = *mut GList;
pub type GTree_slistautoptr = *mut GSList;
pub type GTree_queueautoptr = *mut GQueue;
pub type GVariant_autoptr = *mut GVariant;
pub type GVariant_listautoptr = *mut GList;
pub type GVariant_slistautoptr = *mut GSList;
pub type GVariant_queueautoptr = *mut GQueue;
pub type GVariantBuilder_autoptr = *mut GVariantBuilder;
pub type GVariantBuilder_listautoptr = *mut GList;
pub type GVariantBuilder_slistautoptr = *mut GSList;
pub type GVariantBuilder_queueautoptr = *mut GQueue;
pub type GVariantIter_autoptr = *mut GVariantIter;
pub type GVariantIter_listautoptr = *mut GList;
pub type GVariantIter_slistautoptr = *mut GSList;
pub type GVariantIter_queueautoptr = *mut GQueue;
pub type GVariantDict_autoptr = *mut GVariantDict;
pub type GVariantDict_listautoptr = *mut GList;
pub type GVariantDict_slistautoptr = *mut GSList;
pub type GVariantDict_queueautoptr = *mut GQueue;
pub type GVariantType_autoptr = *mut GVariantType;
pub type GVariantType_listautoptr = *mut GList;
pub type GVariantType_slistautoptr = *mut GSList;
pub type GVariantType_queueautoptr = *mut GQueue;
pub type GRefString_autoptr = *mut GRefString;
pub type GRefString_listautoptr = *mut GList;
pub type GRefString_slistautoptr = *mut GSList;
pub type GRefString_queueautoptr = *mut GQueue;
pub type GUri_autoptr = *mut GUri;
pub type GUri_listautoptr = *mut GList;
pub type GUri_slistautoptr = *mut GSList;
pub type GUri_queueautoptr = *mut GQueue;
extern "C" {
pub fn _frida_glib_init();
}
extern "C" {
pub fn _frida_glib_enable_io_features();
}
extern "C" {
pub fn _frida_glib_shutdown();
}
extern "C" {
pub fn _frida_glib_deinit();
}
extern "C" {
pub fn _frida_glib_prepare_to_fork();
}
extern "C" {
pub fn _frida_glib_recover_from_fork_in_parent();
}
extern "C" {
pub fn _frida_glib_recover_from_fork_in_child();
}
pub type GType = gsize;
pub type GValue = _GValue;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _GTypeCValue {
_unused: [u8; 0],
}
pub type GTypeCValue = _GTypeCValue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypePlugin {
_unused: [u8; 0],
}
pub type GTypePlugin = _GTypePlugin;
pub type GTypeClass = _GTypeClass;
pub type GTypeInterface = _GTypeInterface;
pub type GTypeInstance = _GTypeInstance;
pub type GTypeInfo = _GTypeInfo;
pub type GTypeFundamentalInfo = _GTypeFundamentalInfo;
pub type GInterfaceInfo = _GInterfaceInfo;
pub type GTypeValueTable = _GTypeValueTable;
pub type GTypeQuery = _GTypeQuery;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeClass {
pub g_type: GType,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeInstance {
pub g_class: *mut GTypeClass,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeInterface {
pub g_type: GType,
pub g_instance_type: GType,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeQuery {
pub type_: GType,
pub type_name: *const gchar,
pub class_size: guint,
pub instance_size: guint,
}
pub const GTypeDebugFlags_G_TYPE_DEBUG_NONE: GTypeDebugFlags = 0;
pub const GTypeDebugFlags_G_TYPE_DEBUG_OBJECTS: GTypeDebugFlags = 1;
pub const GTypeDebugFlags_G_TYPE_DEBUG_SIGNALS: GTypeDebugFlags = 2;
pub const GTypeDebugFlags_G_TYPE_DEBUG_INSTANCE_COUNT: GTypeDebugFlags = 4;
pub const GTypeDebugFlags_G_TYPE_DEBUG_MASK: GTypeDebugFlags = 7;
pub type GTypeDebugFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_gobject_init();
}
extern "C" {
pub fn _frida_g_type_init();
}
extern "C" {
pub fn _frida_g_type_init_with_debug_flags(debug_flags: GTypeDebugFlags);
}
extern "C" {
pub fn _frida_g_type_name(type_: GType) -> *const gchar;
}
extern "C" {
pub fn _frida_g_type_qname(type_: GType) -> GQuark;
}
extern "C" {
pub fn _frida_g_type_from_name(name: *const gchar) -> GType;
}
extern "C" {
pub fn _frida_g_type_parent(type_: GType) -> GType;
}
extern "C" {
pub fn _frida_g_type_depth(type_: GType) -> guint;
}
extern "C" {
pub fn _frida_g_type_next_base(leaf_type: GType, root_type: GType) -> GType;
}
extern "C" {
pub fn _frida_g_type_is_a(type_: GType, is_a_type: GType) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_class_ref(type_: GType) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_class_peek(type_: GType) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_class_peek_static(type_: GType) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_class_unref(g_class: gpointer);
}
extern "C" {
pub fn _frida_g_type_class_peek_parent(g_class: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_interface_peek(instance_class: gpointer, iface_type: GType) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_interface_peek_parent(g_iface: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_default_interface_ref(g_type: GType) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_default_interface_peek(g_type: GType) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_default_interface_unref(g_iface: gpointer);
}
extern "C" {
pub fn _frida_g_type_children(type_: GType, n_children: *mut guint) -> *mut GType;
}
extern "C" {
pub fn _frida_g_type_interfaces(type_: GType, n_interfaces: *mut guint) -> *mut GType;
}
extern "C" {
pub fn _frida_g_type_set_qdata(type_: GType, quark: GQuark, data: gpointer);
}
extern "C" {
pub fn _frida_g_type_get_qdata(type_: GType, quark: GQuark) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_query(type_: GType, query: *mut GTypeQuery);
}
extern "C" {
pub fn _frida_g_type_get_instance_count(type_: GType) -> ::std::os::raw::c_int;
}
pub type GBaseInitFunc = ::std::option::Option<unsafe extern "C" fn(g_class: gpointer)>;
pub type GBaseFinalizeFunc = ::std::option::Option<unsafe extern "C" fn(g_class: gpointer)>;
pub type GClassInitFunc =
::std::option::Option<unsafe extern "C" fn(g_class: gpointer, class_data: gpointer)>;
pub type GClassFinalizeFunc =
::std::option::Option<unsafe extern "C" fn(g_class: gpointer, class_data: gpointer)>;
pub type GInstanceInitFunc =
::std::option::Option<unsafe extern "C" fn(instance: *mut GTypeInstance, g_class: gpointer)>;
pub type GInterfaceInitFunc =
::std::option::Option<unsafe extern "C" fn(g_iface: gpointer, iface_data: gpointer)>;
pub type GInterfaceFinalizeFunc =
::std::option::Option<unsafe extern "C" fn(g_iface: gpointer, iface_data: gpointer)>;
pub type GTypeClassCacheFunc = ::std::option::Option<
unsafe extern "C" fn(cache_data: gpointer, g_class: *mut GTypeClass) -> gboolean,
>;
pub type GTypeInterfaceCheckFunc =
::std::option::Option<unsafe extern "C" fn(check_data: gpointer, g_iface: gpointer)>;
pub const GTypeFundamentalFlags_G_TYPE_FLAG_CLASSED: GTypeFundamentalFlags = 1;
pub const GTypeFundamentalFlags_G_TYPE_FLAG_INSTANTIATABLE: GTypeFundamentalFlags = 2;
pub const GTypeFundamentalFlags_G_TYPE_FLAG_DERIVABLE: GTypeFundamentalFlags = 4;
pub const GTypeFundamentalFlags_G_TYPE_FLAG_DEEP_DERIVABLE: GTypeFundamentalFlags = 8;
pub type GTypeFundamentalFlags = ::std::os::raw::c_uint;
pub const GTypeFlags_G_TYPE_FLAG_NONE: GTypeFlags = 0;
pub const GTypeFlags_G_TYPE_FLAG_ABSTRACT: GTypeFlags = 16;
pub const GTypeFlags_G_TYPE_FLAG_VALUE_ABSTRACT: GTypeFlags = 32;
pub const GTypeFlags_G_TYPE_FLAG_FINAL: GTypeFlags = 64;
pub type GTypeFlags = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeInfo {
pub class_size: guint16,
pub base_init: GBaseInitFunc,
pub base_finalize: GBaseFinalizeFunc,
pub class_init: GClassInitFunc,
pub class_finalize: GClassFinalizeFunc,
pub class_data: gconstpointer,
pub instance_size: guint16,
pub n_preallocs: guint16,
pub instance_init: GInstanceInitFunc,
pub value_table: *const GTypeValueTable,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeFundamentalInfo {
pub type_flags: GTypeFundamentalFlags,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInterfaceInfo {
pub interface_init: GInterfaceInitFunc,
pub interface_finalize: GInterfaceFinalizeFunc,
pub interface_data: gpointer,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeValueTable {
pub value_init: ::std::option::Option<unsafe extern "C" fn(value: *mut GValue)>,
pub value_free: ::std::option::Option<unsafe extern "C" fn(value: *mut GValue)>,
pub value_copy: ::std::option::Option<
unsafe extern "C" fn(src_value: *const GValue, dest_value: *mut GValue),
>,
pub value_peek_pointer:
::std::option::Option<unsafe extern "C" fn(value: *const GValue) -> gpointer>,
pub collect_format: *const gchar,
pub collect_value: ::std::option::Option<
unsafe extern "C" fn(
value: *mut GValue,
n_collect_values: guint,
collect_values: *mut GTypeCValue,
collect_flags: guint,
) -> *mut gchar,
>,
pub lcopy_format: *const gchar,
pub lcopy_value: ::std::option::Option<
unsafe extern "C" fn(
value: *const GValue,
n_collect_values: guint,
collect_values: *mut GTypeCValue,
collect_flags: guint,
) -> *mut gchar,
>,
}
extern "C" {
pub fn _frida_g_type_register_static(
parent_type: GType,
type_name: *const gchar,
info: *const GTypeInfo,
flags: GTypeFlags,
) -> GType;
}
extern "C" {
pub fn _frida_g_type_register_static_simple(
parent_type: GType,
type_name: *const gchar,
class_size: guint,
class_init: GClassInitFunc,
instance_size: guint,
instance_init: GInstanceInitFunc,
flags: GTypeFlags,
) -> GType;
}
extern "C" {
pub fn _frida_g_type_register_dynamic(
parent_type: GType,
type_name: *const gchar,
plugin: *mut GTypePlugin,
flags: GTypeFlags,
) -> GType;
}
extern "C" {
pub fn _frida_g_type_register_fundamental(
type_id: GType,
type_name: *const gchar,
info: *const GTypeInfo,
finfo: *const GTypeFundamentalInfo,
flags: GTypeFlags,
) -> GType;
}
extern "C" {
pub fn _frida_g_type_add_interface_static(
instance_type: GType,
interface_type: GType,
info: *const GInterfaceInfo,
);
}
extern "C" {
pub fn _frida_g_type_add_interface_dynamic(
instance_type: GType,
interface_type: GType,
plugin: *mut GTypePlugin,
);
}
extern "C" {
pub fn _frida_g_type_interface_add_prerequisite(
interface_type: GType,
prerequisite_type: GType,
);
}
extern "C" {
pub fn _frida_g_type_interface_prerequisites(
interface_type: GType,
n_prerequisites: *mut guint,
) -> *mut GType;
}
extern "C" {
pub fn _frida_g_type_interface_instantiatable_prerequisite(interface_type: GType) -> GType;
}
extern "C" {
pub fn _frida_g_type_class_add_private(g_class: gpointer, private_size: gsize);
}
extern "C" {
pub fn _frida_g_type_add_instance_private(class_type: GType, private_size: gsize) -> gint;
}
extern "C" {
pub fn _frida_g_type_instance_get_private(
instance: *mut GTypeInstance,
private_type: GType,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_type_class_adjust_private_offset(
g_class: gpointer,
private_size_or_offset: *mut gint,
);
}
extern "C" {
pub fn _frida_g_type_add_class_private(class_type: GType, private_size: gsize);
}
extern "C" {
pub fn _frida_g_type_class_get_private(klass: *mut GTypeClass, private_type: GType)
-> gpointer;
}
extern "C" {
pub fn _frida_g_type_class_get_instance_private_offset(g_class: gpointer) -> gint;
}
extern "C" {
pub fn _frida_g_type_ensure(type_: GType);
}
extern "C" {
pub fn _frida_g_type_get_type_registration_serial() -> guint;
}
extern "C" {
pub fn _frida_g_type_get_plugin(type_: GType) -> *mut GTypePlugin;
}
extern "C" {
pub fn _frida_g_type_interface_get_plugin(
instance_type: GType,
interface_type: GType,
) -> *mut GTypePlugin;
}
extern "C" {
pub fn _frida_g_type_fundamental_next() -> GType;
}
extern "C" {
pub fn _frida_g_type_fundamental(type_id: GType) -> GType;
}
extern "C" {
pub fn _frida_g_type_create_instance(type_: GType) -> *mut GTypeInstance;
}
extern "C" {
pub fn _frida_g_type_free_instance(instance: *mut GTypeInstance);
}
extern "C" {
pub fn _frida_g_type_add_class_cache_func(
cache_data: gpointer,
cache_func: GTypeClassCacheFunc,
);
}
extern "C" {
pub fn _frida_g_type_remove_class_cache_func(
cache_data: gpointer,
cache_func: GTypeClassCacheFunc,
);
}
extern "C" {
pub fn _frida_g_type_class_unref_uncached(g_class: gpointer);
}
extern "C" {
pub fn _frida_g_type_add_interface_check(
check_data: gpointer,
check_func: GTypeInterfaceCheckFunc,
);
}
extern "C" {
pub fn _frida_g_type_remove_interface_check(
check_data: gpointer,
check_func: GTypeInterfaceCheckFunc,
);
}
extern "C" {
pub fn _frida_g_type_value_table_peek(type_: GType) -> *mut GTypeValueTable;
}
extern "C" {
pub fn _frida_g_type_check_instance(instance: *mut GTypeInstance) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_check_instance_cast(
instance: *mut GTypeInstance,
iface_type: GType,
) -> *mut GTypeInstance;
}
extern "C" {
pub fn _frida_g_type_check_instance_is_a(
instance: *mut GTypeInstance,
iface_type: GType,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_check_instance_is_fundamentally_a(
instance: *mut GTypeInstance,
fundamental_type: GType,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_check_class_cast(
g_class: *mut GTypeClass,
is_a_type: GType,
) -> *mut GTypeClass;
}
extern "C" {
pub fn _frida_g_type_check_class_is_a(g_class: *mut GTypeClass, is_a_type: GType) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_check_is_value_type(type_: GType) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_check_value(value: *const GValue) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_check_value_holds(value: *const GValue, type_: GType) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_test_flags(type_: GType, flags: guint) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_name_from_instance(instance: *mut GTypeInstance) -> *const gchar;
}
extern "C" {
pub fn _frida_g_type_name_from_class(g_class: *mut GTypeClass) -> *const gchar;
}
pub type GValueTransform =
::std::option::Option<unsafe extern "C" fn(src_value: *const GValue, dest_value: *mut GValue)>;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _GValue {
pub g_type: GType,
pub data: [_GValue__bindgen_ty_1; 2usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _GValue__bindgen_ty_1 {
pub v_int: gint,
pub v_uint: guint,
pub v_long: glong,
pub v_ulong: gulong,
pub v_int64: gint64,
pub v_uint64: guint64,
pub v_float: gfloat,
pub v_double: gdouble,
pub v_pointer: gpointer,
}
extern "C" {
pub fn _frida_g_value_init(value: *mut GValue, g_type: GType) -> *mut GValue;
}
extern "C" {
pub fn _frida_g_value_copy(src_value: *const GValue, dest_value: *mut GValue);
}
extern "C" {
pub fn _frida_g_value_reset(value: *mut GValue) -> *mut GValue;
}
extern "C" {
pub fn _frida_g_value_unset(value: *mut GValue);
}
extern "C" {
pub fn _frida_g_value_set_instance(value: *mut GValue, instance: gpointer);
}
extern "C" {
pub fn _frida_g_value_init_from_instance(value: *mut GValue, instance: gpointer);
}
extern "C" {
pub fn _frida_g_value_fits_pointer(value: *const GValue) -> gboolean;
}
extern "C" {
pub fn _frida_g_value_peek_pointer(value: *const GValue) -> gpointer;
}
extern "C" {
pub fn _frida_g_value_type_compatible(src_type: GType, dest_type: GType) -> gboolean;
}
extern "C" {
pub fn _frida_g_value_type_transformable(src_type: GType, dest_type: GType) -> gboolean;
}
extern "C" {
pub fn _frida_g_value_transform(src_value: *const GValue, dest_value: *mut GValue) -> gboolean;
}
extern "C" {
pub fn _frida_g_value_register_transform_func(
src_type: GType,
dest_type: GType,
transform_func: GValueTransform,
);
}
pub const GParamFlags_G_PARAM_READABLE: GParamFlags = 1;
pub const GParamFlags_G_PARAM_WRITABLE: GParamFlags = 2;
pub const GParamFlags_G_PARAM_READWRITE: GParamFlags = 3;
pub const GParamFlags_G_PARAM_CONSTRUCT: GParamFlags = 4;
pub const GParamFlags_G_PARAM_CONSTRUCT_ONLY: GParamFlags = 8;
pub const GParamFlags_G_PARAM_LAX_VALIDATION: GParamFlags = 16;
pub const GParamFlags_G_PARAM_STATIC_NAME: GParamFlags = 32;
pub const GParamFlags_G_PARAM_PRIVATE: GParamFlags = 32;
pub const GParamFlags_G_PARAM_STATIC_NICK: GParamFlags = 64;
pub const GParamFlags_G_PARAM_STATIC_BLURB: GParamFlags = 128;
pub const GParamFlags_G_PARAM_EXPLICIT_NOTIFY: GParamFlags = 1073741824;
pub const GParamFlags_G_PARAM_DEPRECATED: GParamFlags = -2147483648;
pub type GParamFlags = ::std::os::raw::c_int;
pub type GParamSpec = _GParamSpec;
pub type GParamSpecClass = _GParamSpecClass;
pub type GParameter = _GParameter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecPool {
_unused: [u8; 0],
}
pub type GParamSpecPool = _GParamSpecPool;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpec {
pub g_type_instance: GTypeInstance,
pub name: *const gchar,
pub flags: GParamFlags,
pub value_type: GType,
pub owner_type: GType,
pub _nick: *mut gchar,
pub _blurb: *mut gchar,
pub qdata: *mut GData,
pub ref_count: guint,
pub param_id: guint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecClass {
pub g_type_class: GTypeClass,
pub value_type: GType,
pub finalize: ::std::option::Option<unsafe extern "C" fn(pspec: *mut GParamSpec)>,
pub value_set_default:
::std::option::Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value: *mut GValue)>,
pub value_validate: ::std::option::Option<
unsafe extern "C" fn(pspec: *mut GParamSpec, value: *mut GValue) -> gboolean,
>,
pub values_cmp: ::std::option::Option<
unsafe extern "C" fn(
pspec: *mut GParamSpec,
value1: *const GValue,
value2: *const GValue,
) -> gint,
>,
pub value_is_valid: ::std::option::Option<
unsafe extern "C" fn(pspec: *mut GParamSpec, value: *const GValue) -> gboolean,
>,
pub dummy: [gpointer; 3usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _GParameter {
pub name: *const gchar,
pub value: GValue,
}
extern "C" {
pub fn _frida_g_param_spec_ref(pspec: *mut GParamSpec) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_unref(pspec: *mut GParamSpec);
}
extern "C" {
pub fn _frida_g_param_spec_sink(pspec: *mut GParamSpec);
}
extern "C" {
pub fn _frida_g_param_spec_ref_sink(pspec: *mut GParamSpec) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_get_qdata(pspec: *mut GParamSpec, quark: GQuark) -> gpointer;
}
extern "C" {
pub fn _frida_g_param_spec_set_qdata(pspec: *mut GParamSpec, quark: GQuark, data: gpointer);
}
extern "C" {
pub fn _frida_g_param_spec_set_qdata_full(
pspec: *mut GParamSpec,
quark: GQuark,
data: gpointer,
destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_param_spec_steal_qdata(pspec: *mut GParamSpec, quark: GQuark) -> gpointer;
}
extern "C" {
pub fn _frida_g_param_spec_get_redirect_target(pspec: *mut GParamSpec) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_value_set_default(pspec: *mut GParamSpec, value: *mut GValue);
}
extern "C" {
pub fn _frida_g_param_value_defaults(pspec: *mut GParamSpec, value: *const GValue) -> gboolean;
}
extern "C" {
pub fn _frida_g_param_value_validate(pspec: *mut GParamSpec, value: *mut GValue) -> gboolean;
}
extern "C" {
pub fn _frida_g_param_value_is_valid(pspec: *mut GParamSpec, value: *const GValue) -> gboolean;
}
extern "C" {
pub fn _frida_g_param_value_convert(
pspec: *mut GParamSpec,
src_value: *const GValue,
dest_value: *mut GValue,
strict_validation: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_param_values_cmp(
pspec: *mut GParamSpec,
value1: *const GValue,
value2: *const GValue,
) -> gint;
}
extern "C" {
pub fn _frida_g_param_spec_get_name(pspec: *mut GParamSpec) -> *const gchar;
}
extern "C" {
pub fn _frida_g_param_spec_get_nick(pspec: *mut GParamSpec) -> *const gchar;
}
extern "C" {
pub fn _frida_g_param_spec_get_blurb(pspec: *mut GParamSpec) -> *const gchar;
}
extern "C" {
pub fn _frida_g_value_set_param(value: *mut GValue, param: *mut GParamSpec);
}
extern "C" {
pub fn _frida_g_value_get_param(value: *const GValue) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_value_dup_param(value: *const GValue) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_value_take_param(value: *mut GValue, param: *mut GParamSpec);
}
extern "C" {
pub fn _frida_g_value_set_param_take_ownership(value: *mut GValue, param: *mut GParamSpec);
}
extern "C" {
pub fn _frida_g_param_spec_get_default_value(pspec: *mut GParamSpec) -> *const GValue;
}
extern "C" {
pub fn _frida_g_param_spec_get_name_quark(pspec: *mut GParamSpec) -> GQuark;
}
pub type GParamSpecTypeInfo = _GParamSpecTypeInfo;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecTypeInfo {
pub instance_size: guint16,
pub n_preallocs: guint16,
pub instance_init: ::std::option::Option<unsafe extern "C" fn(pspec: *mut GParamSpec)>,
pub value_type: GType,
pub finalize: ::std::option::Option<unsafe extern "C" fn(pspec: *mut GParamSpec)>,
pub value_set_default:
::std::option::Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value: *mut GValue)>,
pub value_validate: ::std::option::Option<
unsafe extern "C" fn(pspec: *mut GParamSpec, value: *mut GValue) -> gboolean,
>,
pub values_cmp: ::std::option::Option<
unsafe extern "C" fn(
pspec: *mut GParamSpec,
value1: *const GValue,
value2: *const GValue,
) -> gint,
>,
}
extern "C" {
pub fn _frida_g_param_type_register_static(
name: *const gchar,
pspec_info: *const GParamSpecTypeInfo,
) -> GType;
}
extern "C" {
pub fn _frida_g_param_spec_is_valid_name(name: *const gchar) -> gboolean;
}
extern "C" {
pub fn _g_param_type_register_static_constant(
name: *const gchar,
pspec_info: *const GParamSpecTypeInfo,
opt_type: GType,
) -> GType;
}
extern "C" {
pub fn _frida_g_param_spec_internal(
param_type: GType,
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
flags: GParamFlags,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_param_spec_pool_new(type_prefixing: gboolean) -> *mut GParamSpecPool;
}
extern "C" {
pub fn _frida_g_param_spec_pool_insert(
pool: *mut GParamSpecPool,
pspec: *mut GParamSpec,
owner_type: GType,
);
}
extern "C" {
pub fn _frida_g_param_spec_pool_remove(pool: *mut GParamSpecPool, pspec: *mut GParamSpec);
}
extern "C" {
pub fn _frida_g_param_spec_pool_lookup(
pool: *mut GParamSpecPool,
param_name: *const gchar,
owner_type: GType,
walk_ancestors: gboolean,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_pool_list_owned(
pool: *mut GParamSpecPool,
owner_type: GType,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_param_spec_pool_list(
pool: *mut GParamSpecPool,
owner_type: GType,
n_pspecs_p: *mut guint,
) -> *mut *mut GParamSpec;
}
pub type GClosure = _GClosure;
pub type GClosureNotifyData = _GClosureNotifyData;
pub type GCallback = ::std::option::Option<unsafe extern "C" fn()>;
pub type GClosureNotify =
::std::option::Option<unsafe extern "C" fn(data: gpointer, closure: *mut GClosure)>;
pub type GClosureMarshal = ::std::option::Option<
unsafe extern "C" fn(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
user_data: gpointer,
),
>;
pub type GVaClosureMarshal = ::std::option::Option<
unsafe extern "C" fn(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
),
>;
pub type GCClosure = _GCClosure;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GClosureNotifyData {
pub data: gpointer,
pub notify: GClosureNotify,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GClosure {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
pub marshal: ::std::option::Option<
unsafe extern "C" fn(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
),
>,
pub data: gpointer,
pub notifiers: *mut GClosureNotifyData,
}
impl _GClosure {
#[inline]
pub fn ref_count(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 15u8) as u32) }
}
#[inline]
pub fn set_ref_count(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 15u8, val as u64)
}
}
#[inline]
pub fn meta_marshal_nouse(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u32) }
}
#[inline]
pub fn set_meta_marshal_nouse(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(15usize, 1u8, val as u64)
}
}
#[inline]
pub fn n_guards(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 1u8) as u32) }
}
#[inline]
pub fn set_n_guards(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(16usize, 1u8, val as u64)
}
}
#[inline]
pub fn n_fnotifiers(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(17usize, 2u8) as u32) }
}
#[inline]
pub fn set_n_fnotifiers(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(17usize, 2u8, val as u64)
}
}
#[inline]
pub fn n_inotifiers(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(19usize, 8u8) as u32) }
}
#[inline]
pub fn set_n_inotifiers(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(19usize, 8u8, val as u64)
}
}
#[inline]
pub fn in_inotify(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(27usize, 1u8) as u32) }
}
#[inline]
pub fn set_in_inotify(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(27usize, 1u8, val as u64)
}
}
#[inline]
pub fn floating(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(28usize, 1u8) as u32) }
}
#[inline]
pub fn set_floating(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(28usize, 1u8, val as u64)
}
}
#[inline]
pub fn derivative_flag(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(29usize, 1u8) as u32) }
}
#[inline]
pub fn set_derivative_flag(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(29usize, 1u8, val as u64)
}
}
#[inline]
pub fn in_marshal(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(30usize, 1u8) as u32) }
}
#[inline]
pub fn set_in_marshal(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(30usize, 1u8, val as u64)
}
}
#[inline]
pub fn is_invalid(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(31usize, 1u8) as u32) }
}
#[inline]
pub fn set_is_invalid(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(31usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
ref_count: guint,
meta_marshal_nouse: guint,
n_guards: guint,
n_fnotifiers: guint,
n_inotifiers: guint,
in_inotify: guint,
floating: guint,
derivative_flag: guint,
in_marshal: guint,
is_invalid: guint,
) -> __BindgenBitfieldUnit<[u8; 4usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 15u8, {
let ref_count: u32 = unsafe { ::std::mem::transmute(ref_count) };
ref_count as u64
});
__bindgen_bitfield_unit.set(15usize, 1u8, {
let meta_marshal_nouse: u32 = unsafe { ::std::mem::transmute(meta_marshal_nouse) };
meta_marshal_nouse as u64
});
__bindgen_bitfield_unit.set(16usize, 1u8, {
let n_guards: u32 = unsafe { ::std::mem::transmute(n_guards) };
n_guards as u64
});
__bindgen_bitfield_unit.set(17usize, 2u8, {
let n_fnotifiers: u32 = unsafe { ::std::mem::transmute(n_fnotifiers) };
n_fnotifiers as u64
});
__bindgen_bitfield_unit.set(19usize, 8u8, {
let n_inotifiers: u32 = unsafe { ::std::mem::transmute(n_inotifiers) };
n_inotifiers as u64
});
__bindgen_bitfield_unit.set(27usize, 1u8, {
let in_inotify: u32 = unsafe { ::std::mem::transmute(in_inotify) };
in_inotify as u64
});
__bindgen_bitfield_unit.set(28usize, 1u8, {
let floating: u32 = unsafe { ::std::mem::transmute(floating) };
floating as u64
});
__bindgen_bitfield_unit.set(29usize, 1u8, {
let derivative_flag: u32 = unsafe { ::std::mem::transmute(derivative_flag) };
derivative_flag as u64
});
__bindgen_bitfield_unit.set(30usize, 1u8, {
let in_marshal: u32 = unsafe { ::std::mem::transmute(in_marshal) };
in_marshal as u64
});
__bindgen_bitfield_unit.set(31usize, 1u8, {
let is_invalid: u32 = unsafe { ::std::mem::transmute(is_invalid) };
is_invalid as u64
});
__bindgen_bitfield_unit
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCClosure {
pub closure: GClosure,
pub callback: gpointer,
}
extern "C" {
pub fn _frida_g_cclosure_new(
callback_func: GCallback,
user_data: gpointer,
destroy_data: GClosureNotify,
) -> *mut GClosure;
}
extern "C" {
pub fn _frida_g_cclosure_new_swap(
callback_func: GCallback,
user_data: gpointer,
destroy_data: GClosureNotify,
) -> *mut GClosure;
}
extern "C" {
pub fn _frida_g_signal_type_cclosure_new(itype: GType, struct_offset: guint) -> *mut GClosure;
}
extern "C" {
pub fn _frida_g_closure_ref(closure: *mut GClosure) -> *mut GClosure;
}
extern "C" {
pub fn _frida_g_closure_sink(closure: *mut GClosure);
}
extern "C" {
pub fn _frida_g_closure_unref(closure: *mut GClosure);
}
extern "C" {
pub fn _frida_g_closure_new_simple(sizeof_closure: guint, data: gpointer) -> *mut GClosure;
}
extern "C" {
pub fn _frida_g_closure_add_finalize_notifier(
closure: *mut GClosure,
notify_data: gpointer,
notify_func: GClosureNotify,
);
}
extern "C" {
pub fn _frida_g_closure_remove_finalize_notifier(
closure: *mut GClosure,
notify_data: gpointer,
notify_func: GClosureNotify,
);
}
extern "C" {
pub fn _frida_g_closure_add_invalidate_notifier(
closure: *mut GClosure,
notify_data: gpointer,
notify_func: GClosureNotify,
);
}
extern "C" {
pub fn _frida_g_closure_remove_invalidate_notifier(
closure: *mut GClosure,
notify_data: gpointer,
notify_func: GClosureNotify,
);
}
extern "C" {
pub fn _frida_g_closure_add_marshal_guards(
closure: *mut GClosure,
pre_marshal_data: gpointer,
pre_marshal_notify: GClosureNotify,
post_marshal_data: gpointer,
post_marshal_notify: GClosureNotify,
);
}
extern "C" {
pub fn _frida_g_closure_set_marshal(closure: *mut GClosure, marshal: GClosureMarshal);
}
extern "C" {
pub fn _frida_g_closure_set_meta_marshal(
closure: *mut GClosure,
marshal_data: gpointer,
meta_marshal: GClosureMarshal,
);
}
extern "C" {
pub fn _frida_g_closure_invalidate(closure: *mut GClosure);
}
extern "C" {
pub fn _frida_g_closure_invoke(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_generic(
closure: *mut GClosure,
return_gvalue: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_generic_va(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args_list: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__VOID(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__VOIDv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__BOOLEAN(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__BOOLEANv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__CHAR(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__CHARv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__UCHAR(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__UCHARv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__INT(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__INTv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__UINT(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__UINTv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__LONG(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__LONGv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__ULONG(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__ULONGv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__ENUM(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__ENUMv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__FLAGS(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__FLAGSv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__FLOAT(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__FLOATv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__DOUBLE(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__DOUBLEv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__STRING(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__STRINGv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__PARAM(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__PARAMv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__BOXED(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__BOXEDv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__POINTER(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__POINTERv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__OBJECT(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__OBJECTv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__VARIANT(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__VARIANTv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__UINT_POINTER(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_VOID__UINT_POINTERv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_BOOLEAN__FLAGS(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_BOOLEAN__FLAGSv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_STRING__OBJECT_POINTER(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_STRING__OBJECT_POINTERv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_BOOLEAN__BOXED_BOXED(
closure: *mut GClosure,
return_value: *mut GValue,
n_param_values: guint,
param_values: *const GValue,
invocation_hint: gpointer,
marshal_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv(
closure: *mut GClosure,
return_value: *mut GValue,
instance: gpointer,
args: va_list,
marshal_data: gpointer,
n_params: ::std::os::raw::c_int,
param_types: *mut GType,
);
}
pub type GSignalQuery = _GSignalQuery;
pub type GSignalInvocationHint = _GSignalInvocationHint;
pub type GSignalCMarshaller = GClosureMarshal;
pub type GSignalCVaMarshaller = GVaClosureMarshal;
pub type GSignalEmissionHook = ::std::option::Option<
unsafe extern "C" fn(
ihint: *mut GSignalInvocationHint,
n_param_values: guint,
param_values: *const GValue,
user_data: gpointer,
) -> gboolean,
>;
pub type GSignalAccumulator = ::std::option::Option<
unsafe extern "C" fn(
ihint: *mut GSignalInvocationHint,
return_accu: *mut GValue,
handler_return: *const GValue,
user_data: gpointer,
) -> gboolean,
>;
pub const GSignalFlags_G_SIGNAL_RUN_FIRST: GSignalFlags = 1;
pub const GSignalFlags_G_SIGNAL_RUN_LAST: GSignalFlags = 2;
pub const GSignalFlags_G_SIGNAL_RUN_CLEANUP: GSignalFlags = 4;
pub const GSignalFlags_G_SIGNAL_NO_RECURSE: GSignalFlags = 8;
pub const GSignalFlags_G_SIGNAL_DETAILED: GSignalFlags = 16;
pub const GSignalFlags_G_SIGNAL_ACTION: GSignalFlags = 32;
pub const GSignalFlags_G_SIGNAL_NO_HOOKS: GSignalFlags = 64;
pub const GSignalFlags_G_SIGNAL_MUST_COLLECT: GSignalFlags = 128;
pub const GSignalFlags_G_SIGNAL_DEPRECATED: GSignalFlags = 256;
pub const GSignalFlags_G_SIGNAL_ACCUMULATOR_FIRST_RUN: GSignalFlags = 131072;
pub type GSignalFlags = ::std::os::raw::c_uint;
pub const GConnectFlags_G_CONNECT_DEFAULT: GConnectFlags = 0;
pub const GConnectFlags_G_CONNECT_AFTER: GConnectFlags = 1;
pub const GConnectFlags_G_CONNECT_SWAPPED: GConnectFlags = 2;
pub type GConnectFlags = ::std::os::raw::c_uint;
pub const GSignalMatchType_G_SIGNAL_MATCH_ID: GSignalMatchType = 1;
pub const GSignalMatchType_G_SIGNAL_MATCH_DETAIL: GSignalMatchType = 2;
pub const GSignalMatchType_G_SIGNAL_MATCH_CLOSURE: GSignalMatchType = 4;
pub const GSignalMatchType_G_SIGNAL_MATCH_FUNC: GSignalMatchType = 8;
pub const GSignalMatchType_G_SIGNAL_MATCH_DATA: GSignalMatchType = 16;
pub const GSignalMatchType_G_SIGNAL_MATCH_UNBLOCKED: GSignalMatchType = 32;
pub type GSignalMatchType = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSignalInvocationHint {
pub signal_id: guint,
pub detail: GQuark,
pub run_type: GSignalFlags,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSignalQuery {
pub signal_id: guint,
pub signal_name: *const gchar,
pub itype: GType,
pub signal_flags: GSignalFlags,
pub return_type: GType,
pub n_params: guint,
pub param_types: *const GType,
}
extern "C" {
pub fn _frida_g_signal_newv(
signal_name: *const gchar,
itype: GType,
signal_flags: GSignalFlags,
class_closure: *mut GClosure,
accumulator: GSignalAccumulator,
accu_data: gpointer,
c_marshaller: GSignalCMarshaller,
return_type: GType,
n_params: guint,
param_types: *mut GType,
) -> guint;
}
extern "C" {
pub fn _frida_g_signal_new_valist(
signal_name: *const gchar,
itype: GType,
signal_flags: GSignalFlags,
class_closure: *mut GClosure,
accumulator: GSignalAccumulator,
accu_data: gpointer,
c_marshaller: GSignalCMarshaller,
return_type: GType,
n_params: guint,
args: va_list,
) -> guint;
}
extern "C" {
pub fn _frida_g_signal_new(
signal_name: *const gchar,
itype: GType,
signal_flags: GSignalFlags,
class_offset: guint,
accumulator: GSignalAccumulator,
accu_data: gpointer,
c_marshaller: GSignalCMarshaller,
return_type: GType,
n_params: guint,
...
) -> guint;
}
extern "C" {
pub fn _frida_g_signal_new_class_handler(
signal_name: *const gchar,
itype: GType,
signal_flags: GSignalFlags,
class_handler: GCallback,
accumulator: GSignalAccumulator,
accu_data: gpointer,
c_marshaller: GSignalCMarshaller,
return_type: GType,
n_params: guint,
...
) -> guint;
}
extern "C" {
pub fn _frida_g_signal_set_va_marshaller(
signal_id: guint,
instance_type: GType,
va_marshaller: GSignalCVaMarshaller,
);
}
extern "C" {
pub fn _frida_g_signal_emitv(
instance_and_params: *const GValue,
signal_id: guint,
detail: GQuark,
return_value: *mut GValue,
);
}
extern "C" {
pub fn _frida_g_signal_emit_valist(
instance: gpointer,
signal_id: guint,
detail: GQuark,
var_args: va_list,
);
}
extern "C" {
pub fn _frida_g_signal_emit(instance: gpointer, signal_id: guint, detail: GQuark, ...);
}
extern "C" {
pub fn _frida_g_signal_emit_by_name(instance: gpointer, detailed_signal: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_signal_lookup(name: *const gchar, itype: GType) -> guint;
}
extern "C" {
pub fn _frida_g_signal_name(signal_id: guint) -> *const gchar;
}
extern "C" {
pub fn _frida_g_signal_query(signal_id: guint, query: *mut GSignalQuery);
}
extern "C" {
pub fn _frida_g_signal_list_ids(itype: GType, n_ids: *mut guint) -> *mut guint;
}
extern "C" {
pub fn _frida_g_signal_is_valid_name(name: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_signal_parse_name(
detailed_signal: *const gchar,
itype: GType,
signal_id_p: *mut guint,
detail_p: *mut GQuark,
force_detail_quark: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_signal_get_invocation_hint(instance: gpointer) -> *mut GSignalInvocationHint;
}
extern "C" {
pub fn _frida_g_signal_stop_emission(instance: gpointer, signal_id: guint, detail: GQuark);
}
extern "C" {
pub fn _frida_g_signal_stop_emission_by_name(instance: gpointer, detailed_signal: *const gchar);
}
extern "C" {
pub fn _frida_g_signal_add_emission_hook(
signal_id: guint,
detail: GQuark,
hook_func: GSignalEmissionHook,
hook_data: gpointer,
data_destroy: GDestroyNotify,
) -> gulong;
}
extern "C" {
pub fn _frida_g_signal_remove_emission_hook(signal_id: guint, hook_id: gulong);
}
extern "C" {
pub fn _frida_g_signal_has_handler_pending(
instance: gpointer,
signal_id: guint,
detail: GQuark,
may_be_blocked: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_signal_connect_closure_by_id(
instance: gpointer,
signal_id: guint,
detail: GQuark,
closure: *mut GClosure,
after: gboolean,
) -> gulong;
}
extern "C" {
pub fn _frida_g_signal_connect_closure(
instance: gpointer,
detailed_signal: *const gchar,
closure: *mut GClosure,
after: gboolean,
) -> gulong;
}
extern "C" {
pub fn _frida_g_signal_connect_data(
instance: gpointer,
detailed_signal: *const gchar,
c_handler: GCallback,
data: gpointer,
destroy_data: GClosureNotify,
connect_flags: GConnectFlags,
) -> gulong;
}
extern "C" {
pub fn _frida_g_signal_handler_block(instance: gpointer, handler_id: gulong);
}
extern "C" {
pub fn _frida_g_signal_handler_unblock(instance: gpointer, handler_id: gulong);
}
extern "C" {
pub fn _frida_g_signal_handler_disconnect(instance: gpointer, handler_id: gulong);
}
extern "C" {
pub fn _frida_g_signal_handler_is_connected(instance: gpointer, handler_id: gulong)
-> gboolean;
}
extern "C" {
pub fn _frida_g_signal_handler_find(
instance: gpointer,
mask: GSignalMatchType,
signal_id: guint,
detail: GQuark,
closure: *mut GClosure,
func: gpointer,
data: gpointer,
) -> gulong;
}
extern "C" {
pub fn _frida_g_signal_handlers_block_matched(
instance: gpointer,
mask: GSignalMatchType,
signal_id: guint,
detail: GQuark,
closure: *mut GClosure,
func: gpointer,
data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_signal_handlers_unblock_matched(
instance: gpointer,
mask: GSignalMatchType,
signal_id: guint,
detail: GQuark,
closure: *mut GClosure,
func: gpointer,
data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_signal_handlers_disconnect_matched(
instance: gpointer,
mask: GSignalMatchType,
signal_id: guint,
detail: GQuark,
closure: *mut GClosure,
func: gpointer,
data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_clear_signal_handler(handler_id_ptr: *mut gulong, instance: gpointer);
}
extern "C" {
pub fn _frida_g_signal_override_class_closure(
signal_id: guint,
instance_type: GType,
class_closure: *mut GClosure,
);
}
extern "C" {
pub fn _frida_g_signal_override_class_handler(
signal_name: *const gchar,
instance_type: GType,
class_handler: GCallback,
);
}
extern "C" {
pub fn _frida_g_signal_chain_from_overridden(
instance_and_params: *const GValue,
return_value: *mut GValue,
);
}
extern "C" {
pub fn _frida_g_signal_chain_from_overridden_handler(instance: gpointer, ...);
}
extern "C" {
pub fn _frida_g_signal_accumulator_true_handled(
ihint: *mut GSignalInvocationHint,
return_accu: *mut GValue,
handler_return: *const GValue,
dummy: gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_signal_accumulator_first_wins(
ihint: *mut GSignalInvocationHint,
return_accu: *mut GValue,
handler_return: *const GValue,
dummy: gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_signal_handlers_destroy(instance: gpointer);
}
extern "C" {
pub fn _g_signals_destroy(itype: GType);
}
extern "C" {
pub fn _frida_g_date_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_strv_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_gstring_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_hash_table_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_array_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_byte_array_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_ptr_array_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_bytes_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_variant_type_get_gtype() -> GType;
}
extern "C" {
pub fn _frida_g_regex_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_match_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_date_time_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_time_zone_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_io_channel_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_io_condition_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_variant_builder_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_variant_dict_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_key_file_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_main_loop_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_main_context_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_source_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_pollfd_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_thread_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_checksum_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_markup_parse_context_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_mapped_file_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_option_group_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_uri_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tree_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_pattern_spec_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_bookmark_file_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_variant_get_gtype() -> GType;
}
pub type GBoxedCopyFunc = ::std::option::Option<unsafe extern "C" fn(boxed: gpointer) -> gpointer>;
pub type GBoxedFreeFunc = ::std::option::Option<unsafe extern "C" fn(boxed: gpointer)>;
extern "C" {
pub fn _frida_g_boxed_copy(boxed_type: GType, src_boxed: gconstpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_boxed_free(boxed_type: GType, boxed: gpointer);
}
extern "C" {
pub fn _frida_g_value_set_boxed(value: *mut GValue, v_boxed: gconstpointer);
}
extern "C" {
pub fn _frida_g_value_set_static_boxed(value: *mut GValue, v_boxed: gconstpointer);
}
extern "C" {
pub fn _frida_g_value_take_boxed(value: *mut GValue, v_boxed: gconstpointer);
}
extern "C" {
pub fn _frida_g_value_set_boxed_take_ownership(value: *mut GValue, v_boxed: gconstpointer);
}
extern "C" {
pub fn _frida_g_value_get_boxed(value: *const GValue) -> gpointer;
}
extern "C" {
pub fn _frida_g_value_dup_boxed(value: *const GValue) -> gpointer;
}
extern "C" {
pub fn _frida_g_boxed_type_register_static(
name: *const gchar,
boxed_copy: GBoxedCopyFunc,
boxed_free: GBoxedFreeFunc,
) -> GType;
}
extern "C" {
pub fn _frida_g_closure_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_value_get_type() -> GType;
}
pub type GObject = _GObject;
pub type GObjectClass = _GObjectClass;
pub type GInitiallyUnowned = _GObject;
pub type GInitiallyUnownedClass = _GObjectClass;
pub type GObjectConstructParam = _GObjectConstructParam;
pub type GObjectGetPropertyFunc = ::std::option::Option<
unsafe extern "C" fn(
object: *mut GObject,
property_id: guint,
value: *mut GValue,
pspec: *mut GParamSpec,
),
>;
pub type GObjectSetPropertyFunc = ::std::option::Option<
unsafe extern "C" fn(
object: *mut GObject,
property_id: guint,
value: *const GValue,
pspec: *mut GParamSpec,
),
>;
pub type GObjectFinalizeFunc = ::std::option::Option<unsafe extern "C" fn(object: *mut GObject)>;
pub type GWeakNotify =
::std::option::Option<unsafe extern "C" fn(data: gpointer, where_the_object_was: *mut GObject)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GObject {
pub g_type_instance: GTypeInstance,
pub ref_count: guint,
pub qdata: *mut GData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GObjectClass {
pub g_type_class: GTypeClass,
pub construct_properties: *mut GSList,
pub constructor: ::std::option::Option<
unsafe extern "C" fn(
type_: GType,
n_construct_properties: guint,
construct_properties: *mut GObjectConstructParam,
) -> *mut GObject,
>,
pub set_property: ::std::option::Option<
unsafe extern "C" fn(
object: *mut GObject,
property_id: guint,
value: *const GValue,
pspec: *mut GParamSpec,
),
>,
pub get_property: ::std::option::Option<
unsafe extern "C" fn(
object: *mut GObject,
property_id: guint,
value: *mut GValue,
pspec: *mut GParamSpec,
),
>,
pub dispose: ::std::option::Option<unsafe extern "C" fn(object: *mut GObject)>,
pub finalize: ::std::option::Option<unsafe extern "C" fn(object: *mut GObject)>,
pub dispatch_properties_changed: ::std::option::Option<
unsafe extern "C" fn(object: *mut GObject, n_pspecs: guint, pspecs: *mut *mut GParamSpec),
>,
pub notify:
::std::option::Option<unsafe extern "C" fn(object: *mut GObject, pspec: *mut GParamSpec)>,
pub constructed: ::std::option::Option<unsafe extern "C" fn(object: *mut GObject)>,
pub flags: gsize,
pub n_construct_properties: gsize,
pub pspecs: gpointer,
pub n_pspecs: gsize,
pub pdummy: [gpointer; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GObjectConstructParam {
pub pspec: *mut GParamSpec,
pub value: *mut GValue,
}
extern "C" {
pub fn _frida_g_initially_unowned_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_object_class_install_property(
oclass: *mut GObjectClass,
property_id: guint,
pspec: *mut GParamSpec,
);
}
extern "C" {
pub fn _frida_g_object_class_find_property(
oclass: *mut GObjectClass,
property_name: *const gchar,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_object_class_list_properties(
oclass: *mut GObjectClass,
n_properties: *mut guint,
) -> *mut *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_object_class_override_property(
oclass: *mut GObjectClass,
property_id: guint,
name: *const gchar,
);
}
extern "C" {
pub fn _frida_g_object_class_install_properties(
oclass: *mut GObjectClass,
n_pspecs: guint,
pspecs: *mut *mut GParamSpec,
);
}
extern "C" {
pub fn _frida_g_object_interface_install_property(g_iface: gpointer, pspec: *mut GParamSpec);
}
extern "C" {
pub fn _frida_g_object_interface_find_property(
g_iface: gpointer,
property_name: *const gchar,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_object_interface_list_properties(
g_iface: gpointer,
n_properties_p: *mut guint,
) -> *mut *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_object_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_object_new(
object_type: GType,
first_property_name: *const gchar,
...
) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_new_with_properties(
object_type: GType,
n_properties: guint,
names: *mut *const ::std::os::raw::c_char,
values: *const GValue,
) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_object_newv(
object_type: GType,
n_parameters: guint,
parameters: *mut GParameter,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_new_valist(
object_type: GType,
first_property_name: *const gchar,
var_args: va_list,
) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_object_set(object: gpointer, first_property_name: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_object_get(object: gpointer, first_property_name: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_object_connect(object: gpointer, signal_spec: *const gchar, ...) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_disconnect(object: gpointer, signal_spec: *const gchar, ...);
}
extern "C" {
pub fn _frida_g_object_setv(
object: *mut GObject,
n_properties: guint,
names: *mut *const gchar,
values: *const GValue,
);
}
extern "C" {
pub fn _frida_g_object_set_valist(
object: *mut GObject,
first_property_name: *const gchar,
var_args: va_list,
);
}
extern "C" {
pub fn _frida_g_object_getv(
object: *mut GObject,
n_properties: guint,
names: *mut *const gchar,
values: *mut GValue,
);
}
extern "C" {
pub fn _frida_g_object_get_valist(
object: *mut GObject,
first_property_name: *const gchar,
var_args: va_list,
);
}
extern "C" {
pub fn _frida_g_object_set_property(
object: *mut GObject,
property_name: *const gchar,
value: *const GValue,
);
}
extern "C" {
pub fn _frida_g_object_get_property(
object: *mut GObject,
property_name: *const gchar,
value: *mut GValue,
);
}
extern "C" {
pub fn _frida_g_object_freeze_notify(object: *mut GObject);
}
extern "C" {
pub fn _frida_g_object_notify(object: *mut GObject, property_name: *const gchar);
}
extern "C" {
pub fn _frida_g_object_notify_by_pspec(object: *mut GObject, pspec: *mut GParamSpec);
}
extern "C" {
pub fn _frida_g_object_thaw_notify(object: *mut GObject);
}
extern "C" {
pub fn _frida_g_object_is_floating(object: gpointer) -> gboolean;
}
extern "C" {
pub fn _frida_g_object_ref_sink(object: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_take_ref(object: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_ref(object: gpointer) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_unref(object: gpointer);
}
extern "C" {
pub fn _frida_g_object_weak_ref(object: *mut GObject, notify: GWeakNotify, data: gpointer);
}
extern "C" {
pub fn _frida_g_object_weak_unref(object: *mut GObject, notify: GWeakNotify, data: gpointer);
}
extern "C" {
pub fn _frida_g_object_add_weak_pointer(
object: *mut GObject,
weak_pointer_location: *mut gpointer,
);
}
extern "C" {
pub fn _frida_g_object_remove_weak_pointer(
object: *mut GObject,
weak_pointer_location: *mut gpointer,
);
}
pub type GToggleNotify = ::std::option::Option<
unsafe extern "C" fn(data: gpointer, object: *mut GObject, is_last_ref: gboolean),
>;
extern "C" {
pub fn _frida_g_object_add_toggle_ref(
object: *mut GObject,
notify: GToggleNotify,
data: gpointer,
);
}
extern "C" {
pub fn _frida_g_object_remove_toggle_ref(
object: *mut GObject,
notify: GToggleNotify,
data: gpointer,
);
}
extern "C" {
pub fn _frida_g_object_get_qdata(object: *mut GObject, quark: GQuark) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_set_qdata(object: *mut GObject, quark: GQuark, data: gpointer);
}
extern "C" {
pub fn _frida_g_object_set_qdata_full(
object: *mut GObject,
quark: GQuark,
data: gpointer,
destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_object_steal_qdata(object: *mut GObject, quark: GQuark) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_dup_qdata(
object: *mut GObject,
quark: GQuark,
dup_func: GDuplicateFunc,
user_data: gpointer,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_replace_qdata(
object: *mut GObject,
quark: GQuark,
oldval: gpointer,
newval: gpointer,
destroy: GDestroyNotify,
old_destroy: *mut GDestroyNotify,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_object_get_data(object: *mut GObject, key: *const gchar) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_set_data(object: *mut GObject, key: *const gchar, data: gpointer);
}
extern "C" {
pub fn _frida_g_object_set_data_full(
object: *mut GObject,
key: *const gchar,
data: gpointer,
destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_object_steal_data(object: *mut GObject, key: *const gchar) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_dup_data(
object: *mut GObject,
key: *const gchar,
dup_func: GDuplicateFunc,
user_data: gpointer,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_object_replace_data(
object: *mut GObject,
key: *const gchar,
oldval: gpointer,
newval: gpointer,
destroy: GDestroyNotify,
old_destroy: *mut GDestroyNotify,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_object_watch_closure(object: *mut GObject, closure: *mut GClosure);
}
extern "C" {
pub fn _frida_g_cclosure_new_object(
callback_func: GCallback,
object: *mut GObject,
) -> *mut GClosure;
}
extern "C" {
pub fn _frida_g_cclosure_new_object_swap(
callback_func: GCallback,
object: *mut GObject,
) -> *mut GClosure;
}
extern "C" {
pub fn _frida_g_closure_new_object(
sizeof_closure: guint,
object: *mut GObject,
) -> *mut GClosure;
}
extern "C" {
pub fn _frida_g_value_set_object(value: *mut GValue, v_object: gpointer);
}
extern "C" {
pub fn _frida_g_value_get_object(value: *const GValue) -> gpointer;
}
extern "C" {
pub fn _frida_g_value_dup_object(value: *const GValue) -> gpointer;
}
extern "C" {
pub fn _frida_g_signal_connect_object(
instance: gpointer,
detailed_signal: *const gchar,
c_handler: GCallback,
gobject: gpointer,
connect_flags: GConnectFlags,
) -> gulong;
}
extern "C" {
pub fn _frida_g_object_force_floating(object: *mut GObject);
}
extern "C" {
pub fn _frida_g_object_run_dispose(object: *mut GObject);
}
extern "C" {
pub fn _frida_g_value_take_object(value: *mut GValue, v_object: gpointer);
}
extern "C" {
pub fn _frida_g_value_set_object_take_ownership(value: *mut GValue, v_object: gpointer);
}
extern "C" {
pub fn _frida_g_object_compat_control(what: gsize, data: gpointer) -> gsize;
}
extern "C" {
pub fn _frida_g_clear_object(object_ptr: *mut *mut GObject);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GWeakRef {
pub priv_: GWeakRef__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union GWeakRef__bindgen_ty_1 {
pub p: gpointer,
}
extern "C" {
pub fn _frida_g_weak_ref_init(weak_ref: *mut GWeakRef, object: gpointer);
}
extern "C" {
pub fn _frida_g_weak_ref_clear(weak_ref: *mut GWeakRef);
}
extern "C" {
pub fn _frida_g_weak_ref_get(weak_ref: *mut GWeakRef) -> gpointer;
}
extern "C" {
pub fn _frida_g_weak_ref_set(weak_ref: *mut GWeakRef, object: gpointer);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBinding {
_unused: [u8; 0],
}
pub type GBinding = _GBinding;
pub type GBindingTransformFunc = ::std::option::Option<
unsafe extern "C" fn(
binding: *mut GBinding,
from_value: *const GValue,
to_value: *mut GValue,
user_data: gpointer,
) -> gboolean,
>;
pub const GBindingFlags_G_BINDING_DEFAULT: GBindingFlags = 0;
pub const GBindingFlags_G_BINDING_BIDIRECTIONAL: GBindingFlags = 1;
pub const GBindingFlags_G_BINDING_SYNC_CREATE: GBindingFlags = 2;
pub const GBindingFlags_G_BINDING_INVERT_BOOLEAN: GBindingFlags = 4;
pub type GBindingFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_binding_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_binding_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_binding_get_flags(binding: *mut GBinding) -> GBindingFlags;
}
extern "C" {
pub fn _frida_g_binding_get_source(binding: *mut GBinding) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_binding_dup_source(binding: *mut GBinding) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_binding_get_target(binding: *mut GBinding) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_binding_dup_target(binding: *mut GBinding) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_binding_get_source_property(binding: *mut GBinding) -> *const gchar;
}
extern "C" {
pub fn _frida_g_binding_get_target_property(binding: *mut GBinding) -> *const gchar;
}
extern "C" {
pub fn _frida_g_binding_unbind(binding: *mut GBinding);
}
extern "C" {
pub fn _frida_g_object_bind_property(
source: gpointer,
source_property: *const gchar,
target: gpointer,
target_property: *const gchar,
flags: GBindingFlags,
) -> *mut GBinding;
}
extern "C" {
pub fn _frida_g_object_bind_property_full(
source: gpointer,
source_property: *const gchar,
target: gpointer,
target_property: *const gchar,
flags: GBindingFlags,
transform_to: GBindingTransformFunc,
transform_from: GBindingTransformFunc,
user_data: gpointer,
notify: GDestroyNotify,
) -> *mut GBinding;
}
extern "C" {
pub fn _frida_g_object_bind_property_with_closures(
source: gpointer,
source_property: *const gchar,
target: gpointer,
target_property: *const gchar,
flags: GBindingFlags,
transform_to: *mut GClosure,
transform_from: *mut GClosure,
) -> *mut GBinding;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBindingGroup {
_unused: [u8; 0],
}
pub type GBindingGroup = _GBindingGroup;
extern "C" {
pub fn _frida_g_binding_group_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_binding_group_new() -> *mut GBindingGroup;
}
extern "C" {
pub fn _frida_g_binding_group_dup_source(self_: *mut GBindingGroup) -> gpointer;
}
extern "C" {
pub fn _frida_g_binding_group_set_source(self_: *mut GBindingGroup, source: gpointer);
}
extern "C" {
pub fn _frida_g_binding_group_bind(
self_: *mut GBindingGroup,
source_property: *const gchar,
target: gpointer,
target_property: *const gchar,
flags: GBindingFlags,
);
}
extern "C" {
pub fn _frida_g_binding_group_bind_full(
self_: *mut GBindingGroup,
source_property: *const gchar,
target: gpointer,
target_property: *const gchar,
flags: GBindingFlags,
transform_to: GBindingTransformFunc,
transform_from: GBindingTransformFunc,
user_data: gpointer,
user_data_destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_binding_group_bind_with_closures(
self_: *mut GBindingGroup,
source_property: *const gchar,
target: gpointer,
target_property: *const gchar,
flags: GBindingFlags,
transform_to: *mut GClosure,
transform_from: *mut GClosure,
);
}
pub type GEnumClass = _GEnumClass;
pub type GFlagsClass = _GFlagsClass;
pub type GEnumValue = _GEnumValue;
pub type GFlagsValue = _GFlagsValue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GEnumClass {
pub g_type_class: GTypeClass,
pub minimum: gint,
pub maximum: gint,
pub n_values: guint,
pub values: *mut GEnumValue,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFlagsClass {
pub g_type_class: GTypeClass,
pub mask: guint,
pub n_values: guint,
pub values: *mut GFlagsValue,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GEnumValue {
pub value: gint,
pub value_name: *const gchar,
pub value_nick: *const gchar,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFlagsValue {
pub value: guint,
pub value_name: *const gchar,
pub value_nick: *const gchar,
}
extern "C" {
pub fn _frida_g_enum_get_value(enum_class: *mut GEnumClass, value: gint) -> *mut GEnumValue;
}
extern "C" {
pub fn _frida_g_enum_get_value_by_name(
enum_class: *mut GEnumClass,
name: *const gchar,
) -> *mut GEnumValue;
}
extern "C" {
pub fn _frida_g_enum_get_value_by_nick(
enum_class: *mut GEnumClass,
nick: *const gchar,
) -> *mut GEnumValue;
}
extern "C" {
pub fn _frida_g_flags_get_first_value(
flags_class: *mut GFlagsClass,
value: guint,
) -> *mut GFlagsValue;
}
extern "C" {
pub fn _frida_g_flags_get_value_by_name(
flags_class: *mut GFlagsClass,
name: *const gchar,
) -> *mut GFlagsValue;
}
extern "C" {
pub fn _frida_g_flags_get_value_by_nick(
flags_class: *mut GFlagsClass,
nick: *const gchar,
) -> *mut GFlagsValue;
}
extern "C" {
pub fn _frida_g_enum_to_string(g_enum_type: GType, value: gint) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_flags_to_string(flags_type: GType, value: guint) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_value_set_enum(value: *mut GValue, v_enum: gint);
}
extern "C" {
pub fn _frida_g_value_get_enum(value: *const GValue) -> gint;
}
extern "C" {
pub fn _frida_g_value_set_flags(value: *mut GValue, v_flags: guint);
}
extern "C" {
pub fn _frida_g_value_get_flags(value: *const GValue) -> guint;
}
extern "C" {
pub fn _frida_g_enum_register_static(
name: *const gchar,
const_static_values: *const GEnumValue,
) -> GType;
}
extern "C" {
pub fn _frida_g_flags_register_static(
name: *const gchar,
const_static_values: *const GFlagsValue,
) -> GType;
}
extern "C" {
pub fn _frida_g_enum_complete_type_info(
g_enum_type: GType,
info: *mut GTypeInfo,
const_values: *const GEnumValue,
);
}
extern "C" {
pub fn _frida_g_flags_complete_type_info(
g_flags_type: GType,
info: *mut GTypeInfo,
const_values: *const GFlagsValue,
);
}
extern "C" {
pub fn _frida_g_unicode_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_unicode_break_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_unicode_script_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_normalize_mode_get_type() -> GType;
}
pub type GParamSpecChar = _GParamSpecChar;
pub type GParamSpecUChar = _GParamSpecUChar;
pub type GParamSpecBoolean = _GParamSpecBoolean;
pub type GParamSpecInt = _GParamSpecInt;
pub type GParamSpecUInt = _GParamSpecUInt;
pub type GParamSpecLong = _GParamSpecLong;
pub type GParamSpecULong = _GParamSpecULong;
pub type GParamSpecInt64 = _GParamSpecInt64;
pub type GParamSpecUInt64 = _GParamSpecUInt64;
pub type GParamSpecUnichar = _GParamSpecUnichar;
pub type GParamSpecEnum = _GParamSpecEnum;
pub type GParamSpecFlags = _GParamSpecFlags;
pub type GParamSpecFloat = _GParamSpecFloat;
pub type GParamSpecDouble = _GParamSpecDouble;
pub type GParamSpecString = _GParamSpecString;
pub type GParamSpecParam = _GParamSpecParam;
pub type GParamSpecBoxed = _GParamSpecBoxed;
pub type GParamSpecPointer = _GParamSpecPointer;
pub type GParamSpecValueArray = _GParamSpecValueArray;
pub type GParamSpecObject = _GParamSpecObject;
pub type GParamSpecOverride = _GParamSpecOverride;
pub type GParamSpecGType = _GParamSpecGType;
pub type GParamSpecVariant = _GParamSpecVariant;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecChar {
pub parent_instance: GParamSpec,
pub minimum: gint8,
pub maximum: gint8,
pub default_value: gint8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecUChar {
pub parent_instance: GParamSpec,
pub minimum: guint8,
pub maximum: guint8,
pub default_value: guint8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecBoolean {
pub parent_instance: GParamSpec,
pub default_value: gboolean,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecInt {
pub parent_instance: GParamSpec,
pub minimum: gint,
pub maximum: gint,
pub default_value: gint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecUInt {
pub parent_instance: GParamSpec,
pub minimum: guint,
pub maximum: guint,
pub default_value: guint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecLong {
pub parent_instance: GParamSpec,
pub minimum: glong,
pub maximum: glong,
pub default_value: glong,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecULong {
pub parent_instance: GParamSpec,
pub minimum: gulong,
pub maximum: gulong,
pub default_value: gulong,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecInt64 {
pub parent_instance: GParamSpec,
pub minimum: gint64,
pub maximum: gint64,
pub default_value: gint64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecUInt64 {
pub parent_instance: GParamSpec,
pub minimum: guint64,
pub maximum: guint64,
pub default_value: guint64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecUnichar {
pub parent_instance: GParamSpec,
pub default_value: gunichar,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecEnum {
pub parent_instance: GParamSpec,
pub enum_class: *mut GEnumClass,
pub default_value: gint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecFlags {
pub parent_instance: GParamSpec,
pub flags_class: *mut GFlagsClass,
pub default_value: guint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecFloat {
pub parent_instance: GParamSpec,
pub minimum: gfloat,
pub maximum: gfloat,
pub default_value: gfloat,
pub epsilon: gfloat,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecDouble {
pub parent_instance: GParamSpec,
pub minimum: gdouble,
pub maximum: gdouble,
pub default_value: gdouble,
pub epsilon: gdouble,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecString {
pub parent_instance: GParamSpec,
pub default_value: *mut gchar,
pub cset_first: *mut gchar,
pub cset_nth: *mut gchar,
pub substitutor: gchar,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
pub __bindgen_padding_0: u16,
}
impl _GParamSpecString {
#[inline]
pub fn null_fold_if_empty(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
}
#[inline]
pub fn set_null_fold_if_empty(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn ensure_non_null(&self) -> guint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
}
#[inline]
pub fn set_ensure_non_null(&mut self, val: guint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(1usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
null_fold_if_empty: guint,
ensure_non_null: guint,
) -> __BindgenBitfieldUnit<[u8; 1usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let null_fold_if_empty: u32 = unsafe { ::std::mem::transmute(null_fold_if_empty) };
null_fold_if_empty as u64
});
__bindgen_bitfield_unit.set(1usize, 1u8, {
let ensure_non_null: u32 = unsafe { ::std::mem::transmute(ensure_non_null) };
ensure_non_null as u64
});
__bindgen_bitfield_unit
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecParam {
pub parent_instance: GParamSpec,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecBoxed {
pub parent_instance: GParamSpec,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecPointer {
pub parent_instance: GParamSpec,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecValueArray {
pub parent_instance: GParamSpec,
pub element_spec: *mut GParamSpec,
pub fixed_n_elements: guint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecObject {
pub parent_instance: GParamSpec,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecOverride {
pub parent_instance: GParamSpec,
pub overridden: *mut GParamSpec,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecGType {
pub parent_instance: GParamSpec,
pub is_a_type: GType,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GParamSpecVariant {
pub parent_instance: GParamSpec,
pub type_: *mut GVariantType,
pub default_value: *mut GVariant,
pub padding: [gpointer; 4usize],
}
extern "C" {
pub fn _frida_g_param_spec_char(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: gint8,
maximum: gint8,
default_value: gint8,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_uchar(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: guint8,
maximum: guint8,
default_value: guint8,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_boolean(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
default_value: gboolean,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_int(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: gint,
maximum: gint,
default_value: gint,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_uint(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: guint,
maximum: guint,
default_value: guint,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_long(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: glong,
maximum: glong,
default_value: glong,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_ulong(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: gulong,
maximum: gulong,
default_value: gulong,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_int64(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: gint64,
maximum: gint64,
default_value: gint64,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_uint64(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: guint64,
maximum: guint64,
default_value: guint64,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_unichar(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
default_value: gunichar,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_enum(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
enum_type: GType,
default_value: gint,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_flags(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
flags_type: GType,
default_value: guint,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_float(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: gfloat,
maximum: gfloat,
default_value: gfloat,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_double(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
minimum: gdouble,
maximum: gdouble,
default_value: gdouble,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_string(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
default_value: *const gchar,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_param(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
param_type: GType,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_boxed(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
boxed_type: GType,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_pointer(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_value_array(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
element_spec: *mut GParamSpec,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_object(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
object_type: GType,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_override(
name: *const gchar,
overridden: *mut GParamSpec,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_gtype(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
is_a_type: GType,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_g_param_spec_variant(
name: *const gchar,
nick: *const gchar,
blurb: *const gchar,
type_: *const GVariantType,
default_value: *mut GVariant,
flags: GParamFlags,
) -> *mut GParamSpec;
}
extern "C" {
pub static mut _frida_g_param_spec_types: *mut GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSignalGroup {
_unused: [u8; 0],
}
pub type GSignalGroup = _GSignalGroup;
extern "C" {
pub fn _frida_g_signal_group_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_signal_group_new(target_type: GType) -> *mut GSignalGroup;
}
extern "C" {
pub fn _frida_g_signal_group_set_target(self_: *mut GSignalGroup, target: gpointer);
}
extern "C" {
pub fn _frida_g_signal_group_dup_target(self_: *mut GSignalGroup) -> gpointer;
}
extern "C" {
pub fn _frida_g_signal_group_block(self_: *mut GSignalGroup);
}
extern "C" {
pub fn _frida_g_signal_group_unblock(self_: *mut GSignalGroup);
}
extern "C" {
pub fn _frida_g_signal_group_connect_closure(
self_: *mut GSignalGroup,
detailed_signal: *const gchar,
closure: *mut GClosure,
after: gboolean,
);
}
extern "C" {
pub fn _frida_g_signal_group_connect_object(
self_: *mut GSignalGroup,
detailed_signal: *const gchar,
c_handler: GCallback,
object: gpointer,
flags: GConnectFlags,
);
}
extern "C" {
pub fn _frida_g_signal_group_connect_data(
self_: *mut GSignalGroup,
detailed_signal: *const gchar,
c_handler: GCallback,
data: gpointer,
notify: GClosureNotify,
flags: GConnectFlags,
);
}
extern "C" {
pub fn _frida_g_signal_group_connect(
self_: *mut GSignalGroup,
detailed_signal: *const gchar,
c_handler: GCallback,
data: gpointer,
);
}
extern "C" {
pub fn _frida_g_signal_group_connect_after(
self_: *mut GSignalGroup,
detailed_signal: *const gchar,
c_handler: GCallback,
data: gpointer,
);
}
extern "C" {
pub fn _frida_g_signal_group_connect_swapped(
self_: *mut GSignalGroup,
detailed_signal: *const gchar,
c_handler: GCallback,
data: gpointer,
);
}
extern "C" {
pub fn _frida_g_source_set_closure(source: *mut GSource, closure: *mut GClosure);
}
extern "C" {
pub fn _frida_g_source_set_dummy_callback(source: *mut GSource);
}
pub type GTypeModule = _GTypeModule;
pub type GTypeModuleClass = _GTypeModuleClass;
pub type GTypeModule_autoptr = *mut GTypeModule;
pub type GTypeModule_listautoptr = *mut GList;
pub type GTypeModule_slistautoptr = *mut GSList;
pub type GTypeModule_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeModule {
pub parent_instance: GObject,
pub use_count: guint,
pub type_infos: *mut GSList,
pub interface_infos: *mut GSList,
pub name: *mut gchar,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypeModuleClass {
pub parent_class: GObjectClass,
pub load: ::std::option::Option<unsafe extern "C" fn(module: *mut GTypeModule) -> gboolean>,
pub unload: ::std::option::Option<unsafe extern "C" fn(module: *mut GTypeModule)>,
pub reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub reserved4: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_type_module_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_type_module_use(module: *mut GTypeModule) -> gboolean;
}
extern "C" {
pub fn _frida_g_type_module_unuse(module: *mut GTypeModule);
}
extern "C" {
pub fn _frida_g_type_module_set_name(module: *mut GTypeModule, name: *const gchar);
}
extern "C" {
pub fn _frida_g_type_module_register_type(
module: *mut GTypeModule,
parent_type: GType,
type_name: *const gchar,
type_info: *const GTypeInfo,
flags: GTypeFlags,
) -> GType;
}
extern "C" {
pub fn _frida_g_type_module_add_interface(
module: *mut GTypeModule,
instance_type: GType,
interface_type: GType,
interface_info: *const GInterfaceInfo,
);
}
extern "C" {
pub fn _frida_g_type_module_register_enum(
module: *mut GTypeModule,
name: *const gchar,
const_static_values: *const GEnumValue,
) -> GType;
}
extern "C" {
pub fn _frida_g_type_module_register_flags(
module: *mut GTypeModule,
name: *const gchar,
const_static_values: *const GFlagsValue,
) -> GType;
}
pub type GTypePluginClass = _GTypePluginClass;
pub type GTypePluginUse = ::std::option::Option<unsafe extern "C" fn(plugin: *mut GTypePlugin)>;
pub type GTypePluginUnuse = ::std::option::Option<unsafe extern "C" fn(plugin: *mut GTypePlugin)>;
pub type GTypePluginCompleteTypeInfo = ::std::option::Option<
unsafe extern "C" fn(
plugin: *mut GTypePlugin,
g_type: GType,
info: *mut GTypeInfo,
value_table: *mut GTypeValueTable,
),
>;
pub type GTypePluginCompleteInterfaceInfo = ::std::option::Option<
unsafe extern "C" fn(
plugin: *mut GTypePlugin,
instance_type: GType,
interface_type: GType,
info: *mut GInterfaceInfo,
),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTypePluginClass {
pub base_iface: GTypeInterface,
pub use_plugin: GTypePluginUse,
pub unuse_plugin: GTypePluginUnuse,
pub complete_type_info: GTypePluginCompleteTypeInfo,
pub complete_interface_info: GTypePluginCompleteInterfaceInfo,
}
extern "C" {
pub fn _frida_g_type_plugin_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_type_plugin_use(plugin: *mut GTypePlugin);
}
extern "C" {
pub fn _frida_g_type_plugin_unuse(plugin: *mut GTypePlugin);
}
extern "C" {
pub fn _frida_g_type_plugin_complete_type_info(
plugin: *mut GTypePlugin,
g_type: GType,
info: *mut GTypeInfo,
value_table: *mut GTypeValueTable,
);
}
extern "C" {
pub fn _frida_g_type_plugin_complete_interface_info(
plugin: *mut GTypePlugin,
instance_type: GType,
interface_type: GType,
info: *mut GInterfaceInfo,
);
}
pub type GValueArray = _GValueArray;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GValueArray {
pub n_values: guint,
pub values: *mut GValue,
pub n_prealloced: guint,
}
extern "C" {
pub fn _frida_g_value_array_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_value_array_get_nth(
value_array: *mut GValueArray,
index_: guint,
) -> *mut GValue;
}
extern "C" {
pub fn _frida_g_value_array_new(n_prealloced: guint) -> *mut GValueArray;
}
extern "C" {
pub fn _frida_g_value_array_free(value_array: *mut GValueArray);
}
extern "C" {
pub fn _frida_g_value_array_copy(value_array: *const GValueArray) -> *mut GValueArray;
}
extern "C" {
pub fn _frida_g_value_array_prepend(
value_array: *mut GValueArray,
value: *const GValue,
) -> *mut GValueArray;
}
extern "C" {
pub fn _frida_g_value_array_append(
value_array: *mut GValueArray,
value: *const GValue,
) -> *mut GValueArray;
}
extern "C" {
pub fn _frida_g_value_array_insert(
value_array: *mut GValueArray,
index_: guint,
value: *const GValue,
) -> *mut GValueArray;
}
extern "C" {
pub fn _frida_g_value_array_remove(
value_array: *mut GValueArray,
index_: guint,
) -> *mut GValueArray;
}
extern "C" {
pub fn _frida_g_value_array_sort(
value_array: *mut GValueArray,
compare_func: GCompareFunc,
) -> *mut GValueArray;
}
extern "C" {
pub fn _frida_g_value_array_sort_with_data(
value_array: *mut GValueArray,
compare_func: GCompareDataFunc,
user_data: gpointer,
) -> *mut GValueArray;
}
extern "C" {
pub fn _frida_g_value_set_char(value: *mut GValue, v_char: gchar);
}
extern "C" {
pub fn _frida_g_value_get_char(value: *const GValue) -> gchar;
}
extern "C" {
pub fn _frida_g_value_set_schar(value: *mut GValue, v_char: gint8);
}
extern "C" {
pub fn _frida_g_value_get_schar(value: *const GValue) -> gint8;
}
extern "C" {
pub fn _frida_g_value_set_uchar(value: *mut GValue, v_uchar: guchar);
}
extern "C" {
pub fn _frida_g_value_get_uchar(value: *const GValue) -> guchar;
}
extern "C" {
pub fn _frida_g_value_set_boolean(value: *mut GValue, v_boolean: gboolean);
}
extern "C" {
pub fn _frida_g_value_get_boolean(value: *const GValue) -> gboolean;
}
extern "C" {
pub fn _frida_g_value_set_int(value: *mut GValue, v_int: gint);
}
extern "C" {
pub fn _frida_g_value_get_int(value: *const GValue) -> gint;
}
extern "C" {
pub fn _frida_g_value_set_uint(value: *mut GValue, v_uint: guint);
}
extern "C" {
pub fn _frida_g_value_get_uint(value: *const GValue) -> guint;
}
extern "C" {
pub fn _frida_g_value_set_long(value: *mut GValue, v_long: glong);
}
extern "C" {
pub fn _frida_g_value_get_long(value: *const GValue) -> glong;
}
extern "C" {
pub fn _frida_g_value_set_ulong(value: *mut GValue, v_ulong: gulong);
}
extern "C" {
pub fn _frida_g_value_get_ulong(value: *const GValue) -> gulong;
}
extern "C" {
pub fn _frida_g_value_set_int64(value: *mut GValue, v_int64: gint64);
}
extern "C" {
pub fn _frida_g_value_get_int64(value: *const GValue) -> gint64;
}
extern "C" {
pub fn _frida_g_value_set_uint64(value: *mut GValue, v_uint64: guint64);
}
extern "C" {
pub fn _frida_g_value_get_uint64(value: *const GValue) -> guint64;
}
extern "C" {
pub fn _frida_g_value_set_float(value: *mut GValue, v_float: gfloat);
}
extern "C" {
pub fn _frida_g_value_get_float(value: *const GValue) -> gfloat;
}
extern "C" {
pub fn _frida_g_value_set_double(value: *mut GValue, v_double: gdouble);
}
extern "C" {
pub fn _frida_g_value_get_double(value: *const GValue) -> gdouble;
}
extern "C" {
pub fn _frida_g_value_set_string(value: *mut GValue, v_string: *const gchar);
}
extern "C" {
pub fn _frida_g_value_set_static_string(value: *mut GValue, v_string: *const gchar);
}
extern "C" {
pub fn _frida_g_value_set_interned_string(value: *mut GValue, v_string: *const gchar);
}
extern "C" {
pub fn _frida_g_value_get_string(value: *const GValue) -> *const gchar;
}
extern "C" {
pub fn _frida_g_value_dup_string(value: *const GValue) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_value_set_pointer(value: *mut GValue, v_pointer: gpointer);
}
extern "C" {
pub fn _frida_g_value_get_pointer(value: *const GValue) -> gpointer;
}
extern "C" {
pub fn _frida_g_gtype_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_value_set_gtype(value: *mut GValue, v_gtype: GType);
}
extern "C" {
pub fn _frida_g_value_get_gtype(value: *const GValue) -> GType;
}
extern "C" {
pub fn _frida_g_value_set_variant(value: *mut GValue, variant: *mut GVariant);
}
extern "C" {
pub fn _frida_g_value_take_variant(value: *mut GValue, variant: *mut GVariant);
}
extern "C" {
pub fn _frida_g_value_get_variant(value: *const GValue) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_value_dup_variant(value: *const GValue) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_pointer_type_register_static(name: *const gchar) -> GType;
}
extern "C" {
pub fn _frida_g_strdup_value_contents(value: *const GValue) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_value_take_string(value: *mut GValue, v_string: *mut gchar);
}
extern "C" {
pub fn _frida_g_value_set_string_take_ownership(value: *mut GValue, v_string: *mut gchar);
}
pub type gchararray = *mut gchar;
pub type GClosure_autoptr = *mut GClosure;
pub type GClosure_listautoptr = *mut GList;
pub type GClosure_slistautoptr = *mut GSList;
pub type GClosure_queueautoptr = *mut GQueue;
pub type GEnumClass_autoptr = *mut GEnumClass;
pub type GEnumClass_listautoptr = *mut GList;
pub type GEnumClass_slistautoptr = *mut GSList;
pub type GEnumClass_queueautoptr = *mut GQueue;
pub type GFlagsClass_autoptr = *mut GFlagsClass;
pub type GFlagsClass_listautoptr = *mut GList;
pub type GFlagsClass_slistautoptr = *mut GSList;
pub type GFlagsClass_queueautoptr = *mut GQueue;
pub type GObject_autoptr = *mut GObject;
pub type GObject_listautoptr = *mut GList;
pub type GObject_slistautoptr = *mut GSList;
pub type GObject_queueautoptr = *mut GQueue;
pub type GInitiallyUnowned_autoptr = *mut GInitiallyUnowned;
pub type GInitiallyUnowned_listautoptr = *mut GList;
pub type GInitiallyUnowned_slistautoptr = *mut GSList;
pub type GInitiallyUnowned_queueautoptr = *mut GQueue;
pub type GParamSpec_autoptr = *mut GParamSpec;
pub type GParamSpec_listautoptr = *mut GList;
pub type GParamSpec_slistautoptr = *mut GSList;
pub type GParamSpec_queueautoptr = *mut GQueue;
pub type GTypeClass_autoptr = *mut GTypeClass;
pub type GTypeClass_listautoptr = *mut GList;
pub type GTypeClass_slistautoptr = *mut GSList;
pub type GTypeClass_queueautoptr = *mut GQueue;
pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_NONE: GAppInfoCreateFlags = 0;
pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_NEEDS_TERMINAL: GAppInfoCreateFlags = 1;
pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_SUPPORTS_URIS: GAppInfoCreateFlags = 2;
pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: GAppInfoCreateFlags =
4;
pub type GAppInfoCreateFlags = ::std::os::raw::c_uint;
pub const GConverterFlags_G_CONVERTER_NO_FLAGS: GConverterFlags = 0;
pub const GConverterFlags_G_CONVERTER_INPUT_AT_END: GConverterFlags = 1;
pub const GConverterFlags_G_CONVERTER_FLUSH: GConverterFlags = 2;
pub type GConverterFlags = ::std::os::raw::c_uint;
pub const GConverterResult_G_CONVERTER_ERROR: GConverterResult = 0;
pub const GConverterResult_G_CONVERTER_CONVERTED: GConverterResult = 1;
pub const GConverterResult_G_CONVERTER_FINISHED: GConverterResult = 2;
pub const GConverterResult_G_CONVERTER_FLUSHED: GConverterResult = 3;
pub type GConverterResult = ::std::os::raw::c_uint;
pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: GDataStreamByteOrder = 0;
pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: GDataStreamByteOrder = 1;
pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: GDataStreamByteOrder = 2;
pub type GDataStreamByteOrder = ::std::os::raw::c_uint;
pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_LF: GDataStreamNewlineType = 0;
pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_CR: GDataStreamNewlineType = 1;
pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_CR_LF: GDataStreamNewlineType = 2;
pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_ANY: GDataStreamNewlineType = 3;
pub type GDataStreamNewlineType = ::std::os::raw::c_uint;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INVALID: GFileAttributeType = 0;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_STRING: GFileAttributeType = 1;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: GFileAttributeType = 2;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_BOOLEAN: GFileAttributeType = 3;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_UINT32: GFileAttributeType = 4;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INT32: GFileAttributeType = 5;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_UINT64: GFileAttributeType = 6;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INT64: GFileAttributeType = 7;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_OBJECT: GFileAttributeType = 8;
pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_STRINGV: GFileAttributeType = 9;
pub type GFileAttributeType = ::std::os::raw::c_uint;
pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_NONE: GFileAttributeInfoFlags = 0;
pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: GFileAttributeInfoFlags = 1;
pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: GFileAttributeInfoFlags =
2;
pub type GFileAttributeInfoFlags = ::std::os::raw::c_uint;
pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_UNSET: GFileAttributeStatus = 0;
pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_SET: GFileAttributeStatus = 1;
pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: GFileAttributeStatus = 2;
pub type GFileAttributeStatus = ::std::os::raw::c_uint;
pub const GFileQueryInfoFlags_G_FILE_QUERY_INFO_NONE: GFileQueryInfoFlags = 0;
pub const GFileQueryInfoFlags_G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: GFileQueryInfoFlags = 1;
pub type GFileQueryInfoFlags = ::std::os::raw::c_uint;
pub const GFileCreateFlags_G_FILE_CREATE_NONE: GFileCreateFlags = 0;
pub const GFileCreateFlags_G_FILE_CREATE_PRIVATE: GFileCreateFlags = 1;
pub const GFileCreateFlags_G_FILE_CREATE_REPLACE_DESTINATION: GFileCreateFlags = 2;
pub type GFileCreateFlags = ::std::os::raw::c_uint;
pub const GFileMeasureFlags_G_FILE_MEASURE_NONE: GFileMeasureFlags = 0;
pub const GFileMeasureFlags_G_FILE_MEASURE_REPORT_ANY_ERROR: GFileMeasureFlags = 2;
pub const GFileMeasureFlags_G_FILE_MEASURE_APPARENT_SIZE: GFileMeasureFlags = 4;
pub const GFileMeasureFlags_G_FILE_MEASURE_NO_XDEV: GFileMeasureFlags = 8;
pub type GFileMeasureFlags = ::std::os::raw::c_uint;
pub const GMountMountFlags_G_MOUNT_MOUNT_NONE: GMountMountFlags = 0;
pub type GMountMountFlags = ::std::os::raw::c_uint;
pub const GMountUnmountFlags_G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0;
pub const GMountUnmountFlags_G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1;
pub type GMountUnmountFlags = ::std::os::raw::c_uint;
pub const GDriveStartFlags_G_DRIVE_START_NONE: GDriveStartFlags = 0;
pub type GDriveStartFlags = ::std::os::raw::c_uint;
pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_UNKNOWN: GDriveStartStopType = 0;
pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_SHUTDOWN: GDriveStartStopType = 1;
pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_NETWORK: GDriveStartStopType = 2;
pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_MULTIDISK: GDriveStartStopType = 3;
pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_PASSWORD: GDriveStartStopType = 4;
pub type GDriveStartStopType = ::std::os::raw::c_uint;
pub const GFileCopyFlags_G_FILE_COPY_NONE: GFileCopyFlags = 0;
pub const GFileCopyFlags_G_FILE_COPY_OVERWRITE: GFileCopyFlags = 1;
pub const GFileCopyFlags_G_FILE_COPY_BACKUP: GFileCopyFlags = 2;
pub const GFileCopyFlags_G_FILE_COPY_NOFOLLOW_SYMLINKS: GFileCopyFlags = 4;
pub const GFileCopyFlags_G_FILE_COPY_ALL_METADATA: GFileCopyFlags = 8;
pub const GFileCopyFlags_G_FILE_COPY_NO_FALLBACK_FOR_MOVE: GFileCopyFlags = 16;
pub const GFileCopyFlags_G_FILE_COPY_TARGET_DEFAULT_PERMS: GFileCopyFlags = 32;
pub type GFileCopyFlags = ::std::os::raw::c_uint;
pub const GFileMonitorFlags_G_FILE_MONITOR_NONE: GFileMonitorFlags = 0;
pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_MOUNTS: GFileMonitorFlags = 1;
pub const GFileMonitorFlags_G_FILE_MONITOR_SEND_MOVED: GFileMonitorFlags = 2;
pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_HARD_LINKS: GFileMonitorFlags = 4;
pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_MOVES: GFileMonitorFlags = 8;
pub type GFileMonitorFlags = ::std::os::raw::c_uint;
pub const GFileType_G_FILE_TYPE_UNKNOWN: GFileType = 0;
pub const GFileType_G_FILE_TYPE_REGULAR: GFileType = 1;
pub const GFileType_G_FILE_TYPE_DIRECTORY: GFileType = 2;
pub const GFileType_G_FILE_TYPE_SYMBOLIC_LINK: GFileType = 3;
pub const GFileType_G_FILE_TYPE_SPECIAL: GFileType = 4;
pub const GFileType_G_FILE_TYPE_SHORTCUT: GFileType = 5;
pub const GFileType_G_FILE_TYPE_MOUNTABLE: GFileType = 6;
pub type GFileType = ::std::os::raw::c_uint;
pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: GFilesystemPreviewType = 0;
pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: GFilesystemPreviewType = 1;
pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_NEVER: GFilesystemPreviewType = 2;
pub type GFilesystemPreviewType = ::std::os::raw::c_uint;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CHANGED: GFileMonitorEvent = 0;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: GFileMonitorEvent = 1;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_DELETED: GFileMonitorEvent = 2;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CREATED: GFileMonitorEvent = 3;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: GFileMonitorEvent = 4;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_PRE_UNMOUNT: GFileMonitorEvent = 5;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_UNMOUNTED: GFileMonitorEvent = 6;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED: GFileMonitorEvent = 7;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_RENAMED: GFileMonitorEvent = 8;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED_IN: GFileMonitorEvent = 9;
pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED_OUT: GFileMonitorEvent = 10;
pub type GFileMonitorEvent = ::std::os::raw::c_uint;
pub const GIOErrorEnum_G_IO_ERROR_FAILED: GIOErrorEnum = 0;
pub const GIOErrorEnum_G_IO_ERROR_NOT_FOUND: GIOErrorEnum = 1;
pub const GIOErrorEnum_G_IO_ERROR_EXISTS: GIOErrorEnum = 2;
pub const GIOErrorEnum_G_IO_ERROR_IS_DIRECTORY: GIOErrorEnum = 3;
pub const GIOErrorEnum_G_IO_ERROR_NOT_DIRECTORY: GIOErrorEnum = 4;
pub const GIOErrorEnum_G_IO_ERROR_NOT_EMPTY: GIOErrorEnum = 5;
pub const GIOErrorEnum_G_IO_ERROR_NOT_REGULAR_FILE: GIOErrorEnum = 6;
pub const GIOErrorEnum_G_IO_ERROR_NOT_SYMBOLIC_LINK: GIOErrorEnum = 7;
pub const GIOErrorEnum_G_IO_ERROR_NOT_MOUNTABLE_FILE: GIOErrorEnum = 8;
pub const GIOErrorEnum_G_IO_ERROR_FILENAME_TOO_LONG: GIOErrorEnum = 9;
pub const GIOErrorEnum_G_IO_ERROR_INVALID_FILENAME: GIOErrorEnum = 10;
pub const GIOErrorEnum_G_IO_ERROR_TOO_MANY_LINKS: GIOErrorEnum = 11;
pub const GIOErrorEnum_G_IO_ERROR_NO_SPACE: GIOErrorEnum = 12;
pub const GIOErrorEnum_G_IO_ERROR_INVALID_ARGUMENT: GIOErrorEnum = 13;
pub const GIOErrorEnum_G_IO_ERROR_PERMISSION_DENIED: GIOErrorEnum = 14;
pub const GIOErrorEnum_G_IO_ERROR_NOT_SUPPORTED: GIOErrorEnum = 15;
pub const GIOErrorEnum_G_IO_ERROR_NOT_MOUNTED: GIOErrorEnum = 16;
pub const GIOErrorEnum_G_IO_ERROR_ALREADY_MOUNTED: GIOErrorEnum = 17;
pub const GIOErrorEnum_G_IO_ERROR_CLOSED: GIOErrorEnum = 18;
pub const GIOErrorEnum_G_IO_ERROR_CANCELLED: GIOErrorEnum = 19;
pub const GIOErrorEnum_G_IO_ERROR_PENDING: GIOErrorEnum = 20;
pub const GIOErrorEnum_G_IO_ERROR_READ_ONLY: GIOErrorEnum = 21;
pub const GIOErrorEnum_G_IO_ERROR_CANT_CREATE_BACKUP: GIOErrorEnum = 22;
pub const GIOErrorEnum_G_IO_ERROR_WRONG_ETAG: GIOErrorEnum = 23;
pub const GIOErrorEnum_G_IO_ERROR_TIMED_OUT: GIOErrorEnum = 24;
pub const GIOErrorEnum_G_IO_ERROR_WOULD_RECURSE: GIOErrorEnum = 25;
pub const GIOErrorEnum_G_IO_ERROR_BUSY: GIOErrorEnum = 26;
pub const GIOErrorEnum_G_IO_ERROR_WOULD_BLOCK: GIOErrorEnum = 27;
pub const GIOErrorEnum_G_IO_ERROR_HOST_NOT_FOUND: GIOErrorEnum = 28;
pub const GIOErrorEnum_G_IO_ERROR_WOULD_MERGE: GIOErrorEnum = 29;
pub const GIOErrorEnum_G_IO_ERROR_FAILED_HANDLED: GIOErrorEnum = 30;
pub const GIOErrorEnum_G_IO_ERROR_TOO_MANY_OPEN_FILES: GIOErrorEnum = 31;
pub const GIOErrorEnum_G_IO_ERROR_NOT_INITIALIZED: GIOErrorEnum = 32;
pub const GIOErrorEnum_G_IO_ERROR_ADDRESS_IN_USE: GIOErrorEnum = 33;
pub const GIOErrorEnum_G_IO_ERROR_PARTIAL_INPUT: GIOErrorEnum = 34;
pub const GIOErrorEnum_G_IO_ERROR_INVALID_DATA: GIOErrorEnum = 35;
pub const GIOErrorEnum_G_IO_ERROR_DBUS_ERROR: GIOErrorEnum = 36;
pub const GIOErrorEnum_G_IO_ERROR_HOST_UNREACHABLE: GIOErrorEnum = 37;
pub const GIOErrorEnum_G_IO_ERROR_NETWORK_UNREACHABLE: GIOErrorEnum = 38;
pub const GIOErrorEnum_G_IO_ERROR_CONNECTION_REFUSED: GIOErrorEnum = 39;
pub const GIOErrorEnum_G_IO_ERROR_PROXY_FAILED: GIOErrorEnum = 40;
pub const GIOErrorEnum_G_IO_ERROR_PROXY_AUTH_FAILED: GIOErrorEnum = 41;
pub const GIOErrorEnum_G_IO_ERROR_PROXY_NEED_AUTH: GIOErrorEnum = 42;
pub const GIOErrorEnum_G_IO_ERROR_PROXY_NOT_ALLOWED: GIOErrorEnum = 43;
pub const GIOErrorEnum_G_IO_ERROR_BROKEN_PIPE: GIOErrorEnum = 44;
pub const GIOErrorEnum_G_IO_ERROR_CONNECTION_CLOSED: GIOErrorEnum = 44;
pub const GIOErrorEnum_G_IO_ERROR_NOT_CONNECTED: GIOErrorEnum = 45;
pub const GIOErrorEnum_G_IO_ERROR_MESSAGE_TOO_LARGE: GIOErrorEnum = 46;
pub const GIOErrorEnum_G_IO_ERROR_NO_SUCH_DEVICE: GIOErrorEnum = 47;
pub type GIOErrorEnum = ::std::os::raw::c_uint;
pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_PASSWORD: GAskPasswordFlags = 1;
pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_USERNAME: GAskPasswordFlags = 2;
pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_DOMAIN: GAskPasswordFlags = 4;
pub const GAskPasswordFlags_G_ASK_PASSWORD_SAVING_SUPPORTED: GAskPasswordFlags = 8;
pub const GAskPasswordFlags_G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: GAskPasswordFlags = 16;
pub const GAskPasswordFlags_G_ASK_PASSWORD_TCRYPT: GAskPasswordFlags = 32;
pub type GAskPasswordFlags = ::std::os::raw::c_uint;
pub const GPasswordSave_G_PASSWORD_SAVE_NEVER: GPasswordSave = 0;
pub const GPasswordSave_G_PASSWORD_SAVE_FOR_SESSION: GPasswordSave = 1;
pub const GPasswordSave_G_PASSWORD_SAVE_PERMANENTLY: GPasswordSave = 2;
pub type GPasswordSave = ::std::os::raw::c_uint;
pub const GMountOperationResult_G_MOUNT_OPERATION_HANDLED: GMountOperationResult = 0;
pub const GMountOperationResult_G_MOUNT_OPERATION_ABORTED: GMountOperationResult = 1;
pub const GMountOperationResult_G_MOUNT_OPERATION_UNHANDLED: GMountOperationResult = 2;
pub type GMountOperationResult = ::std::os::raw::c_uint;
pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0;
pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags =
1;
pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags =
2;
pub type GOutputStreamSpliceFlags = ::std::os::raw::c_uint;
pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_NONE: GIOStreamSpliceFlags = 0;
pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_CLOSE_STREAM1: GIOStreamSpliceFlags = 1;
pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_CLOSE_STREAM2: GIOStreamSpliceFlags = 2;
pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: GIOStreamSpliceFlags = 4;
pub type GIOStreamSpliceFlags = ::std::os::raw::c_uint;
pub const GEmblemOrigin_G_EMBLEM_ORIGIN_UNKNOWN: GEmblemOrigin = 0;
pub const GEmblemOrigin_G_EMBLEM_ORIGIN_DEVICE: GEmblemOrigin = 1;
pub const GEmblemOrigin_G_EMBLEM_ORIGIN_LIVEMETADATA: GEmblemOrigin = 2;
pub const GEmblemOrigin_G_EMBLEM_ORIGIN_TAG: GEmblemOrigin = 3;
pub type GEmblemOrigin = ::std::os::raw::c_uint;
pub const GResolverError_G_RESOLVER_ERROR_NOT_FOUND: GResolverError = 0;
pub const GResolverError_G_RESOLVER_ERROR_TEMPORARY_FAILURE: GResolverError = 1;
pub const GResolverError_G_RESOLVER_ERROR_INTERNAL: GResolverError = 2;
pub type GResolverError = ::std::os::raw::c_uint;
pub const GResolverRecordType_G_RESOLVER_RECORD_SRV: GResolverRecordType = 1;
pub const GResolverRecordType_G_RESOLVER_RECORD_MX: GResolverRecordType = 2;
pub const GResolverRecordType_G_RESOLVER_RECORD_TXT: GResolverRecordType = 3;
pub const GResolverRecordType_G_RESOLVER_RECORD_SOA: GResolverRecordType = 4;
pub const GResolverRecordType_G_RESOLVER_RECORD_NS: GResolverRecordType = 5;
pub type GResolverRecordType = ::std::os::raw::c_uint;
pub const GResourceError_G_RESOURCE_ERROR_NOT_FOUND: GResourceError = 0;
pub const GResourceError_G_RESOURCE_ERROR_INTERNAL: GResourceError = 1;
pub type GResourceError = ::std::os::raw::c_uint;
pub const GResourceFlags_G_RESOURCE_FLAGS_NONE: GResourceFlags = 0;
pub const GResourceFlags_G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1;
pub type GResourceFlags = ::std::os::raw::c_uint;
pub const GResourceLookupFlags_G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0;
pub type GResourceLookupFlags = ::std::os::raw::c_uint;
pub const GSocketFamily_G_SOCKET_FAMILY_INVALID: GSocketFamily = 0;
pub const GSocketFamily_G_SOCKET_FAMILY_UNIX: GSocketFamily = 1;
pub const GSocketFamily_G_SOCKET_FAMILY_IPV4: GSocketFamily = 2;
pub const GSocketFamily_G_SOCKET_FAMILY_IPV6: GSocketFamily = 10;
pub type GSocketFamily = ::std::os::raw::c_uint;
pub const GSocketType_G_SOCKET_TYPE_INVALID: GSocketType = 0;
pub const GSocketType_G_SOCKET_TYPE_STREAM: GSocketType = 1;
pub const GSocketType_G_SOCKET_TYPE_DATAGRAM: GSocketType = 2;
pub const GSocketType_G_SOCKET_TYPE_SEQPACKET: GSocketType = 3;
pub type GSocketType = ::std::os::raw::c_uint;
pub const GSocketMsgFlags_G_SOCKET_MSG_NONE: GSocketMsgFlags = 0;
pub const GSocketMsgFlags_G_SOCKET_MSG_OOB: GSocketMsgFlags = 1;
pub const GSocketMsgFlags_G_SOCKET_MSG_PEEK: GSocketMsgFlags = 2;
pub const GSocketMsgFlags_G_SOCKET_MSG_DONTROUTE: GSocketMsgFlags = 4;
pub type GSocketMsgFlags = ::std::os::raw::c_uint;
pub const GSocketProtocol_G_SOCKET_PROTOCOL_UNKNOWN: GSocketProtocol = -1;
pub const GSocketProtocol_G_SOCKET_PROTOCOL_DEFAULT: GSocketProtocol = 0;
pub const GSocketProtocol_G_SOCKET_PROTOCOL_TCP: GSocketProtocol = 6;
pub const GSocketProtocol_G_SOCKET_PROTOCOL_UDP: GSocketProtocol = 17;
pub const GSocketProtocol_G_SOCKET_PROTOCOL_SCTP: GSocketProtocol = 132;
pub type GSocketProtocol = ::std::os::raw::c_int;
pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_ZLIB: GZlibCompressorFormat = 0;
pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_GZIP: GZlibCompressorFormat = 1;
pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2;
pub type GZlibCompressorFormat = ::std::os::raw::c_uint;
pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_INVALID: GUnixSocketAddressType = 0;
pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ANONYMOUS: GUnixSocketAddressType = 1;
pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_PATH: GUnixSocketAddressType = 2;
pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ABSTRACT: GUnixSocketAddressType = 3;
pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: GUnixSocketAddressType = 4;
pub type GUnixSocketAddressType = ::std::os::raw::c_uint;
pub const GBusType_G_BUS_TYPE_STARTER: GBusType = -1;
pub const GBusType_G_BUS_TYPE_NONE: GBusType = 0;
pub const GBusType_G_BUS_TYPE_SYSTEM: GBusType = 1;
pub const GBusType_G_BUS_TYPE_SESSION: GBusType = 2;
pub type GBusType = ::std::os::raw::c_int;
pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_NONE: GBusNameOwnerFlags = 0;
pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: GBusNameOwnerFlags = 1;
pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_REPLACE: GBusNameOwnerFlags = 2;
pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: GBusNameOwnerFlags = 4;
pub type GBusNameOwnerFlags = ::std::os::raw::c_uint;
pub const GBusNameWatcherFlags_G_BUS_NAME_WATCHER_FLAGS_NONE: GBusNameWatcherFlags = 0;
pub const GBusNameWatcherFlags_G_BUS_NAME_WATCHER_FLAGS_AUTO_START: GBusNameWatcherFlags = 1;
pub type GBusNameWatcherFlags = ::std::os::raw::c_uint;
pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_NONE: GDBusProxyFlags = 0;
pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: GDBusProxyFlags = 1;
pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: GDBusProxyFlags = 2;
pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: GDBusProxyFlags = 4;
pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: GDBusProxyFlags = 8;
pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: GDBusProxyFlags =
16;
pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_NO_MATCH_RULE: GDBusProxyFlags = 32;
pub type GDBusProxyFlags = ::std::os::raw::c_uint;
pub const GDBusError_G_DBUS_ERROR_FAILED: GDBusError = 0;
pub const GDBusError_G_DBUS_ERROR_NO_MEMORY: GDBusError = 1;
pub const GDBusError_G_DBUS_ERROR_SERVICE_UNKNOWN: GDBusError = 2;
pub const GDBusError_G_DBUS_ERROR_NAME_HAS_NO_OWNER: GDBusError = 3;
pub const GDBusError_G_DBUS_ERROR_NO_REPLY: GDBusError = 4;
pub const GDBusError_G_DBUS_ERROR_IO_ERROR: GDBusError = 5;
pub const GDBusError_G_DBUS_ERROR_BAD_ADDRESS: GDBusError = 6;
pub const GDBusError_G_DBUS_ERROR_NOT_SUPPORTED: GDBusError = 7;
pub const GDBusError_G_DBUS_ERROR_LIMITS_EXCEEDED: GDBusError = 8;
pub const GDBusError_G_DBUS_ERROR_ACCESS_DENIED: GDBusError = 9;
pub const GDBusError_G_DBUS_ERROR_AUTH_FAILED: GDBusError = 10;
pub const GDBusError_G_DBUS_ERROR_NO_SERVER: GDBusError = 11;
pub const GDBusError_G_DBUS_ERROR_TIMEOUT: GDBusError = 12;
pub const GDBusError_G_DBUS_ERROR_NO_NETWORK: GDBusError = 13;
pub const GDBusError_G_DBUS_ERROR_ADDRESS_IN_USE: GDBusError = 14;
pub const GDBusError_G_DBUS_ERROR_DISCONNECTED: GDBusError = 15;
pub const GDBusError_G_DBUS_ERROR_INVALID_ARGS: GDBusError = 16;
pub const GDBusError_G_DBUS_ERROR_FILE_NOT_FOUND: GDBusError = 17;
pub const GDBusError_G_DBUS_ERROR_FILE_EXISTS: GDBusError = 18;
pub const GDBusError_G_DBUS_ERROR_UNKNOWN_METHOD: GDBusError = 19;
pub const GDBusError_G_DBUS_ERROR_TIMED_OUT: GDBusError = 20;
pub const GDBusError_G_DBUS_ERROR_MATCH_RULE_NOT_FOUND: GDBusError = 21;
pub const GDBusError_G_DBUS_ERROR_MATCH_RULE_INVALID: GDBusError = 22;
pub const GDBusError_G_DBUS_ERROR_SPAWN_EXEC_FAILED: GDBusError = 23;
pub const GDBusError_G_DBUS_ERROR_SPAWN_FORK_FAILED: GDBusError = 24;
pub const GDBusError_G_DBUS_ERROR_SPAWN_CHILD_EXITED: GDBusError = 25;
pub const GDBusError_G_DBUS_ERROR_SPAWN_CHILD_SIGNALED: GDBusError = 26;
pub const GDBusError_G_DBUS_ERROR_SPAWN_FAILED: GDBusError = 27;
pub const GDBusError_G_DBUS_ERROR_SPAWN_SETUP_FAILED: GDBusError = 28;
pub const GDBusError_G_DBUS_ERROR_SPAWN_CONFIG_INVALID: GDBusError = 29;
pub const GDBusError_G_DBUS_ERROR_SPAWN_SERVICE_INVALID: GDBusError = 30;
pub const GDBusError_G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND: GDBusError = 31;
pub const GDBusError_G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID: GDBusError = 32;
pub const GDBusError_G_DBUS_ERROR_SPAWN_FILE_INVALID: GDBusError = 33;
pub const GDBusError_G_DBUS_ERROR_SPAWN_NO_MEMORY: GDBusError = 34;
pub const GDBusError_G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN: GDBusError = 35;
pub const GDBusError_G_DBUS_ERROR_INVALID_SIGNATURE: GDBusError = 36;
pub const GDBusError_G_DBUS_ERROR_INVALID_FILE_CONTENT: GDBusError = 37;
pub const GDBusError_G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN: GDBusError = 38;
pub const GDBusError_G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN: GDBusError = 39;
pub const GDBusError_G_DBUS_ERROR_OBJECT_PATH_IN_USE: GDBusError = 40;
pub const GDBusError_G_DBUS_ERROR_UNKNOWN_OBJECT: GDBusError = 41;
pub const GDBusError_G_DBUS_ERROR_UNKNOWN_INTERFACE: GDBusError = 42;
pub const GDBusError_G_DBUS_ERROR_UNKNOWN_PROPERTY: GDBusError = 43;
pub const GDBusError_G_DBUS_ERROR_PROPERTY_READ_ONLY: GDBusError = 44;
pub type GDBusError = ::std::os::raw::c_uint;
pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_NONE: GDBusConnectionFlags = 0;
pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: GDBusConnectionFlags =
1;
pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: GDBusConnectionFlags =
2;
pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS:
GDBusConnectionFlags = 4;
pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION:
GDBusConnectionFlags = 8;
pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING:
GDBusConnectionFlags = 16;
pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER:
GDBusConnectionFlags = 32;
pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE: GDBusConnectionFlags = 64;
pub type GDBusConnectionFlags = ::std::os::raw::c_uint;
pub const GDBusCapabilityFlags_G_DBUS_CAPABILITY_FLAGS_NONE: GDBusCapabilityFlags = 0;
pub const GDBusCapabilityFlags_G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: GDBusCapabilityFlags = 1;
pub type GDBusCapabilityFlags = ::std::os::raw::c_uint;
pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_NONE: GDBusCallFlags = 0;
pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_NO_AUTO_START: GDBusCallFlags = 1;
pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusCallFlags = 2;
pub type GDBusCallFlags = ::std::os::raw::c_uint;
pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_INVALID: GDBusMessageType = 0;
pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_METHOD_CALL: GDBusMessageType = 1;
pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_METHOD_RETURN: GDBusMessageType = 2;
pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_ERROR: GDBusMessageType = 3;
pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_SIGNAL: GDBusMessageType = 4;
pub type GDBusMessageType = ::std::os::raw::c_uint;
pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NONE: GDBusMessageFlags = 0;
pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: GDBusMessageFlags = 1;
pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: GDBusMessageFlags = 2;
pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION:
GDBusMessageFlags = 4;
pub type GDBusMessageFlags = ::std::os::raw::c_uint;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_INVALID: GDBusMessageHeaderField = 0;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_PATH: GDBusMessageHeaderField = 1;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE: GDBusMessageHeaderField =
2;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_MEMBER: GDBusMessageHeaderField = 3;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME: GDBusMessageHeaderField =
4;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL:
GDBusMessageHeaderField = 5;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION: GDBusMessageHeaderField =
6;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_SENDER: GDBusMessageHeaderField = 7;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE: GDBusMessageHeaderField =
8;
pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS:
GDBusMessageHeaderField = 9;
pub type GDBusMessageHeaderField = ::std::os::raw::c_uint;
pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_NONE: GDBusPropertyInfoFlags = 0;
pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_READABLE: GDBusPropertyInfoFlags = 1;
pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: GDBusPropertyInfoFlags = 2;
pub type GDBusPropertyInfoFlags = ::std::os::raw::c_uint;
pub const GDBusSubtreeFlags_G_DBUS_SUBTREE_FLAGS_NONE: GDBusSubtreeFlags = 0;
pub const GDBusSubtreeFlags_G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: GDBusSubtreeFlags =
1;
pub type GDBusSubtreeFlags = ::std::os::raw::c_uint;
pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_NONE: GDBusServerFlags = 0;
pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: GDBusServerFlags = 1;
pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusServerFlags = 2;
pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER: GDBusServerFlags =
4;
pub type GDBusServerFlags = ::std::os::raw::c_uint;
pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_NONE: GDBusSignalFlags = 0;
pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: GDBusSignalFlags = 1;
pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE: GDBusSignalFlags = 2;
pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH: GDBusSignalFlags = 4;
pub type GDBusSignalFlags = ::std::os::raw::c_uint;
pub const GDBusSendMessageFlags_G_DBUS_SEND_MESSAGE_FLAGS_NONE: GDBusSendMessageFlags = 0;
pub const GDBusSendMessageFlags_G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: GDBusSendMessageFlags =
1;
pub type GDBusSendMessageFlags = ::std::os::raw::c_uint;
pub const GCredentialsType_G_CREDENTIALS_TYPE_INVALID: GCredentialsType = 0;
pub const GCredentialsType_G_CREDENTIALS_TYPE_LINUX_UCRED: GCredentialsType = 1;
pub const GCredentialsType_G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: GCredentialsType = 2;
pub const GCredentialsType_G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: GCredentialsType = 3;
pub const GCredentialsType_G_CREDENTIALS_TYPE_SOLARIS_UCRED: GCredentialsType = 4;
pub const GCredentialsType_G_CREDENTIALS_TYPE_NETBSD_UNPCBID: GCredentialsType = 5;
pub const GCredentialsType_G_CREDENTIALS_TYPE_APPLE_XUCRED: GCredentialsType = 6;
pub const GCredentialsType_G_CREDENTIALS_TYPE_WIN32_PID: GCredentialsType = 7;
pub type GCredentialsType = ::std::os::raw::c_uint;
pub const GDBusMessageByteOrder_G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN: GDBusMessageByteOrder = 66;
pub const GDBusMessageByteOrder_G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN: GDBusMessageByteOrder =
108;
pub type GDBusMessageByteOrder = ::std::os::raw::c_uint;
pub const GApplicationFlags_G_APPLICATION_FLAGS_NONE: GApplicationFlags = 0;
pub const GApplicationFlags_G_APPLICATION_DEFAULT_FLAGS: GApplicationFlags = 0;
pub const GApplicationFlags_G_APPLICATION_IS_SERVICE: GApplicationFlags = 1;
pub const GApplicationFlags_G_APPLICATION_IS_LAUNCHER: GApplicationFlags = 2;
pub const GApplicationFlags_G_APPLICATION_HANDLES_OPEN: GApplicationFlags = 4;
pub const GApplicationFlags_G_APPLICATION_HANDLES_COMMAND_LINE: GApplicationFlags = 8;
pub const GApplicationFlags_G_APPLICATION_SEND_ENVIRONMENT: GApplicationFlags = 16;
pub const GApplicationFlags_G_APPLICATION_NON_UNIQUE: GApplicationFlags = 32;
pub const GApplicationFlags_G_APPLICATION_CAN_OVERRIDE_APP_ID: GApplicationFlags = 64;
pub const GApplicationFlags_G_APPLICATION_ALLOW_REPLACEMENT: GApplicationFlags = 128;
pub const GApplicationFlags_G_APPLICATION_REPLACE: GApplicationFlags = 256;
pub type GApplicationFlags = ::std::os::raw::c_uint;
pub const GTlsError_G_TLS_ERROR_UNAVAILABLE: GTlsError = 0;
pub const GTlsError_G_TLS_ERROR_MISC: GTlsError = 1;
pub const GTlsError_G_TLS_ERROR_BAD_CERTIFICATE: GTlsError = 2;
pub const GTlsError_G_TLS_ERROR_NOT_TLS: GTlsError = 3;
pub const GTlsError_G_TLS_ERROR_HANDSHAKE: GTlsError = 4;
pub const GTlsError_G_TLS_ERROR_CERTIFICATE_REQUIRED: GTlsError = 5;
pub const GTlsError_G_TLS_ERROR_EOF: GTlsError = 6;
pub const GTlsError_G_TLS_ERROR_INAPPROPRIATE_FALLBACK: GTlsError = 7;
pub const GTlsError_G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD: GTlsError = 8;
pub type GTlsError = ::std::os::raw::c_uint;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_NO_FLAGS: GTlsCertificateFlags = 0;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64;
pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127;
pub type GTlsCertificateFlags = ::std::os::raw::c_uint;
pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_NONE: GTlsAuthenticationMode = 0;
pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_REQUESTED: GTlsAuthenticationMode = 1;
pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_REQUIRED: GTlsAuthenticationMode = 2;
pub type GTlsAuthenticationMode = ::std::os::raw::c_uint;
pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_UNIQUE: GTlsChannelBindingType = 0;
pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT:
GTlsChannelBindingType = 1;
pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_EXPORTER: GTlsChannelBindingType = 2;
pub type GTlsChannelBindingType = ::std::os::raw::c_uint;
pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED:
GTlsChannelBindingError = 0;
pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE:
GTlsChannelBindingError = 1;
pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE:
GTlsChannelBindingError = 2;
pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED:
GTlsChannelBindingError = 3;
pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR:
GTlsChannelBindingError = 4;
pub type GTlsChannelBindingError = ::std::os::raw::c_uint;
pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_NEVER: GTlsRehandshakeMode = 0;
pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_SAFELY: GTlsRehandshakeMode = 1;
pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_UNSAFELY: GTlsRehandshakeMode = 2;
pub type GTlsRehandshakeMode = ::std::os::raw::c_uint;
pub const _GTlsPasswordFlags_G_TLS_PASSWORD_NONE: _GTlsPasswordFlags = 0;
pub const _GTlsPasswordFlags_G_TLS_PASSWORD_RETRY: _GTlsPasswordFlags = 2;
pub const _GTlsPasswordFlags_G_TLS_PASSWORD_MANY_TRIES: _GTlsPasswordFlags = 4;
pub const _GTlsPasswordFlags_G_TLS_PASSWORD_FINAL_TRY: _GTlsPasswordFlags = 8;
pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_USER: _GTlsPasswordFlags = 16;
pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER: _GTlsPasswordFlags = 32;
pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC: _GTlsPasswordFlags = 64;
pub type _GTlsPasswordFlags = ::std::os::raw::c_uint;
pub use self::_GTlsPasswordFlags as GTlsPasswordFlags;
pub const GTlsInteractionResult_G_TLS_INTERACTION_UNHANDLED: GTlsInteractionResult = 0;
pub const GTlsInteractionResult_G_TLS_INTERACTION_HANDLED: GTlsInteractionResult = 1;
pub const GTlsInteractionResult_G_TLS_INTERACTION_FAILED: GTlsInteractionResult = 2;
pub type GTlsInteractionResult = ::std::os::raw::c_uint;
pub const GDBusInterfaceSkeletonFlags_G_DBUS_INTERFACE_SKELETON_FLAGS_NONE:
GDBusInterfaceSkeletonFlags = 0;
pub const GDBusInterfaceSkeletonFlags_G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD : GDBusInterfaceSkeletonFlags = 1 ;
pub type GDBusInterfaceSkeletonFlags = ::std::os::raw::c_uint;
pub const GDBusObjectManagerClientFlags_G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE:
GDBusObjectManagerClientFlags = 0;
pub const GDBusObjectManagerClientFlags_G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START:
GDBusObjectManagerClientFlags = 1;
pub type GDBusObjectManagerClientFlags = ::std::os::raw::c_uint;
pub const GTlsDatabaseVerifyFlags_G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0;
pub type GTlsDatabaseVerifyFlags = ::std::os::raw::c_uint;
pub const GTlsDatabaseLookupFlags_G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0;
pub const GTlsDatabaseLookupFlags_G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1;
pub type GTlsDatabaseLookupFlags = ::std::os::raw::c_uint;
pub const GTlsCertificateRequestFlags_G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags =
0;
pub type GTlsCertificateRequestFlags = ::std::os::raw::c_uint;
pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_UNKNOWN: GTlsProtocolVersion = 0;
pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_SSL_3_0: GTlsProtocolVersion = 1;
pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_0: GTlsProtocolVersion = 2;
pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_1: GTlsProtocolVersion = 3;
pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_2: GTlsProtocolVersion = 4;
pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_3: GTlsProtocolVersion = 5;
pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_DTLS_1_0: GTlsProtocolVersion = 201;
pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_DTLS_1_2: GTlsProtocolVersion = 202;
pub type GTlsProtocolVersion = ::std::os::raw::c_uint;
pub const GIOModuleScopeFlags_G_IO_MODULE_SCOPE_NONE: GIOModuleScopeFlags = 0;
pub const GIOModuleScopeFlags_G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: GIOModuleScopeFlags = 1;
pub type GIOModuleScopeFlags = ::std::os::raw::c_uint;
pub const GSocketClientEvent_G_SOCKET_CLIENT_RESOLVING: GSocketClientEvent = 0;
pub const GSocketClientEvent_G_SOCKET_CLIENT_RESOLVED: GSocketClientEvent = 1;
pub const GSocketClientEvent_G_SOCKET_CLIENT_CONNECTING: GSocketClientEvent = 2;
pub const GSocketClientEvent_G_SOCKET_CLIENT_CONNECTED: GSocketClientEvent = 3;
pub const GSocketClientEvent_G_SOCKET_CLIENT_PROXY_NEGOTIATING: GSocketClientEvent = 4;
pub const GSocketClientEvent_G_SOCKET_CLIENT_PROXY_NEGOTIATED: GSocketClientEvent = 5;
pub const GSocketClientEvent_G_SOCKET_CLIENT_TLS_HANDSHAKING: GSocketClientEvent = 6;
pub const GSocketClientEvent_G_SOCKET_CLIENT_TLS_HANDSHAKED: GSocketClientEvent = 7;
pub const GSocketClientEvent_G_SOCKET_CLIENT_COMPLETE: GSocketClientEvent = 8;
pub type GSocketClientEvent = ::std::os::raw::c_uint;
pub const GSocketListenerEvent_G_SOCKET_LISTENER_BINDING: GSocketListenerEvent = 0;
pub const GSocketListenerEvent_G_SOCKET_LISTENER_BOUND: GSocketListenerEvent = 1;
pub const GSocketListenerEvent_G_SOCKET_LISTENER_LISTENING: GSocketListenerEvent = 2;
pub const GSocketListenerEvent_G_SOCKET_LISTENER_LISTENED: GSocketListenerEvent = 3;
pub type GSocketListenerEvent = ::std::os::raw::c_uint;
pub const GTestDBusFlags_G_TEST_DBUS_NONE: GTestDBusFlags = 0;
pub type GTestDBusFlags = ::std::os::raw::c_uint;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128;
pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP: GSubprocessFlags = 256;
pub type GSubprocessFlags = ::std::os::raw::c_uint;
pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_NORMAL: GNotificationPriority = 0;
pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_LOW: GNotificationPriority = 1;
pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_HIGH: GNotificationPriority = 2;
pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_URGENT: GNotificationPriority = 3;
pub type GNotificationPriority = ::std::os::raw::c_uint;
pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_LOCAL: GNetworkConnectivity = 1;
pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_LIMITED: GNetworkConnectivity = 2;
pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_PORTAL: GNetworkConnectivity = 3;
pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_FULL: GNetworkConnectivity = 4;
pub type GNetworkConnectivity = ::std::os::raw::c_uint;
pub const GPollableReturn_G_POLLABLE_RETURN_FAILED: GPollableReturn = 0;
pub const GPollableReturn_G_POLLABLE_RETURN_OK: GPollableReturn = 1;
pub const GPollableReturn_G_POLLABLE_RETURN_WOULD_BLOCK: GPollableReturn = -27;
pub type GPollableReturn = ::std::os::raw::c_int;
pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_LOW:
GMemoryMonitorWarningLevel = 50;
pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM:
GMemoryMonitorWarningLevel = 100;
pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL:
GMemoryMonitorWarningLevel = 255;
pub type GMemoryMonitorWarningLevel = ::std::os::raw::c_uint;
pub type GAppLaunchContext = _GAppLaunchContext;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAppInfo {
_unused: [u8; 0],
}
pub type GAppInfo = _GAppInfo;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAsyncResult {
_unused: [u8; 0],
}
pub type GAsyncResult = _GAsyncResult;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAsyncInitable {
_unused: [u8; 0],
}
pub type GAsyncInitable = _GAsyncInitable;
pub type GBufferedInputStream = _GBufferedInputStream;
pub type GBufferedOutputStream = _GBufferedOutputStream;
pub type GCancellable = _GCancellable;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCharsetConverter {
_unused: [u8; 0],
}
pub type GCharsetConverter = _GCharsetConverter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GConverter {
_unused: [u8; 0],
}
pub type GConverter = _GConverter;
pub type GConverterInputStream = _GConverterInputStream;
pub type GConverterOutputStream = _GConverterOutputStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDatagramBased {
_unused: [u8; 0],
}
pub type GDatagramBased = _GDatagramBased;
pub type GDataInputStream = _GDataInputStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimplePermission {
_unused: [u8; 0],
}
pub type GSimplePermission = _GSimplePermission;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GZlibCompressor {
_unused: [u8; 0],
}
pub type GZlibCompressor = _GZlibCompressor;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GZlibDecompressor {
_unused: [u8; 0],
}
pub type GZlibDecompressor = _GZlibDecompressor;
pub type GSimpleActionGroup = _GSimpleActionGroup;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GRemoteActionGroup {
_unused: [u8; 0],
}
pub type GRemoteActionGroup = _GRemoteActionGroup;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusActionGroup {
_unused: [u8; 0],
}
pub type GDBusActionGroup = _GDBusActionGroup;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GActionMap {
_unused: [u8; 0],
}
pub type GActionMap = _GActionMap;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GActionGroup {
_unused: [u8; 0],
}
pub type GActionGroup = _GActionGroup;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPropertyAction {
_unused: [u8; 0],
}
pub type GPropertyAction = _GPropertyAction;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleAction {
_unused: [u8; 0],
}
pub type GSimpleAction = _GSimpleAction;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAction {
_unused: [u8; 0],
}
pub type GAction = _GAction;
pub type GApplication = _GApplication;
pub type GApplicationCommandLine = _GApplicationCommandLine;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSettingsBackend {
_unused: [u8; 0],
}
pub type GSettingsBackend = _GSettingsBackend;
pub type GSettings = _GSettings;
pub type GPermission = _GPermission;
pub type GMenuModel = _GMenuModel;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNotification {
_unused: [u8; 0],
}
pub type GNotification = _GNotification;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDrive {
_unused: [u8; 0],
}
pub type GDrive = _GDrive;
pub type GFileEnumerator = _GFileEnumerator;
pub type GFileMonitor = _GFileMonitor;
pub type GFilterInputStream = _GFilterInputStream;
pub type GFilterOutputStream = _GFilterOutputStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFile {
_unused: [u8; 0],
}
pub type GFile = _GFile;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileInfo {
_unused: [u8; 0],
}
pub type GFileInfo = _GFileInfo;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileAttributeMatcher {
_unused: [u8; 0],
}
pub type GFileAttributeMatcher = _GFileAttributeMatcher;
pub type GFileAttributeInfo = _GFileAttributeInfo;
pub type GFileAttributeInfoList = _GFileAttributeInfoList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileDescriptorBased {
_unused: [u8; 0],
}
pub type GFileDescriptorBased = _GFileDescriptorBased;
pub type GFileInputStream = _GFileInputStream;
pub type GFileOutputStream = _GFileOutputStream;
pub type GFileIOStream = _GFileIOStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileIcon {
_unused: [u8; 0],
}
pub type GFileIcon = _GFileIcon;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFilenameCompleter {
_unused: [u8; 0],
}
pub type GFilenameCompleter = _GFilenameCompleter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIcon {
_unused: [u8; 0],
}
pub type GIcon = _GIcon;
pub type GInetAddress = _GInetAddress;
pub type GInetAddressMask = _GInetAddressMask;
pub type GInetSocketAddress = _GInetSocketAddress;
pub type GNativeSocketAddress = _GNativeSocketAddress;
pub type GInputStream = _GInputStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInitable {
_unused: [u8; 0],
}
pub type GInitable = _GInitable;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOModule {
_unused: [u8; 0],
}
pub type GIOModule = _GIOModule;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOExtensionPoint {
_unused: [u8; 0],
}
pub type GIOExtensionPoint = _GIOExtensionPoint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOExtension {
_unused: [u8; 0],
}
pub type GIOExtension = _GIOExtension;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOSchedulerJob {
_unused: [u8; 0],
}
pub type GIOSchedulerJob = _GIOSchedulerJob;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOStreamAdapter {
_unused: [u8; 0],
}
pub type GIOStreamAdapter = _GIOStreamAdapter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GLoadableIcon {
_unused: [u8; 0],
}
pub type GLoadableIcon = _GLoadableIcon;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBytesIcon {
_unused: [u8; 0],
}
pub type GBytesIcon = _GBytesIcon;
pub type GMemoryInputStream = _GMemoryInputStream;
pub type GMemoryOutputStream = _GMemoryOutputStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMount {
_unused: [u8; 0],
}
pub type GMount = _GMount;
pub type GMountOperation = _GMountOperation;
pub type GNetworkAddress = _GNetworkAddress;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNetworkMonitor {
_unused: [u8; 0],
}
pub type GNetworkMonitor = _GNetworkMonitor;
pub type GNetworkService = _GNetworkService;
pub type GOutputStream = _GOutputStream;
pub type GIOStream = _GIOStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleIOStream {
_unused: [u8; 0],
}
pub type GSimpleIOStream = _GSimpleIOStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPollableInputStream {
_unused: [u8; 0],
}
pub type GPollableInputStream = _GPollableInputStream;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPollableOutputStream {
_unused: [u8; 0],
}
pub type GPollableOutputStream = _GPollableOutputStream;
pub type GResolver = _GResolver;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GResource {
_unused: [u8; 0],
}
pub type GResource = _GResource;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSeekable {
_unused: [u8; 0],
}
pub type GSeekable = _GSeekable;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleAsyncResult {
_unused: [u8; 0],
}
pub type GSimpleAsyncResult = _GSimpleAsyncResult;
pub type GSocket = _GSocket;
pub type GSocketControlMessage = _GSocketControlMessage;
pub type GSocketClient = _GSocketClient;
pub type GSocketConnection = _GSocketConnection;
pub type GSocketListener = _GSocketListener;
pub type GSocketService = _GSocketService;
pub type GSocketAddress = _GSocketAddress;
pub type GSocketAddressEnumerator = _GSocketAddressEnumerator;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketConnectable {
_unused: [u8; 0],
}
pub type GSocketConnectable = _GSocketConnectable;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSrvTarget {
_unused: [u8; 0],
}
pub type GSrvTarget = _GSrvTarget;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTask {
_unused: [u8; 0],
}
pub type GTask = _GTask;
pub type GTcpConnection = _GTcpConnection;
pub type GTcpWrapperConnection = _GTcpWrapperConnection;
pub type GThreadedSocketService = _GThreadedSocketService;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDtlsConnection {
_unused: [u8; 0],
}
pub type GDtlsConnection = _GDtlsConnection;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDtlsClientConnection {
_unused: [u8; 0],
}
pub type GDtlsClientConnection = _GDtlsClientConnection;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDtlsServerConnection {
_unused: [u8; 0],
}
pub type GDtlsServerConnection = _GDtlsServerConnection;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThemedIcon {
_unused: [u8; 0],
}
pub type GThemedIcon = _GThemedIcon;
pub type GTlsCertificate = _GTlsCertificate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsClientConnection {
_unused: [u8; 0],
}
pub type GTlsClientConnection = _GTlsClientConnection;
pub type GTlsConnection = _GTlsConnection;
pub type GTlsDatabase = _GTlsDatabase;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsFileDatabase {
_unused: [u8; 0],
}
pub type GTlsFileDatabase = _GTlsFileDatabase;
pub type GTlsInteraction = _GTlsInteraction;
pub type GTlsPassword = _GTlsPassword;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsServerConnection {
_unused: [u8; 0],
}
pub type GTlsServerConnection = _GTlsServerConnection;
pub type GVfs = _GVfs;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyResolver {
_unused: [u8; 0],
}
pub type GProxyResolver = _GProxyResolver;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxy {
_unused: [u8; 0],
}
pub type GProxy = _GProxy;
pub type GProxyAddress = _GProxyAddress;
pub type GProxyAddressEnumerator = _GProxyAddressEnumerator;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVolume {
_unused: [u8; 0],
}
pub type GVolume = _GVolume;
pub type GVolumeMonitor = _GVolumeMonitor;
pub type GAsyncReadyCallback = ::std::option::Option<
unsafe extern "C" fn(source_object: *mut GObject, res: *mut GAsyncResult, user_data: gpointer),
>;
pub type GFileProgressCallback = ::std::option::Option<
unsafe extern "C" fn(current_num_bytes: goffset, total_num_bytes: goffset, user_data: gpointer),
>;
pub type GFileReadMoreCallback = ::std::option::Option<
unsafe extern "C" fn(
file_contents: *const ::std::os::raw::c_char,
file_size: goffset,
user_data: gpointer,
) -> gboolean,
>;
pub type GFileMeasureProgressCallback = ::std::option::Option<
unsafe extern "C" fn(
reporting: gboolean,
current_size: guint64,
num_dirs: guint64,
num_files: guint64,
user_data: gpointer,
),
>;
pub type GIOSchedulerJobFunc = ::std::option::Option<
unsafe extern "C" fn(
job: *mut GIOSchedulerJob,
cancellable: *mut GCancellable,
user_data: gpointer,
) -> gboolean,
>;
pub type GSimpleAsyncThreadFunc = ::std::option::Option<
unsafe extern "C" fn(
res: *mut GSimpleAsyncResult,
object: *mut GObject,
cancellable: *mut GCancellable,
),
>;
pub type GSocketSourceFunc = ::std::option::Option<
unsafe extern "C" fn(
socket: *mut GSocket,
condition: GIOCondition,
user_data: gpointer,
) -> gboolean,
>;
pub type GDatagramBasedSourceFunc = ::std::option::Option<
unsafe extern "C" fn(
datagram_based: *mut GDatagramBased,
condition: GIOCondition,
user_data: gpointer,
) -> gboolean,
>;
pub type GInputVector = _GInputVector;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInputVector {
pub buffer: gpointer,
pub size: gsize,
}
pub type GInputMessage = _GInputMessage;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInputMessage {
pub address: *mut *mut GSocketAddress,
pub vectors: *mut GInputVector,
pub num_vectors: guint,
pub bytes_received: gsize,
pub flags: gint,
pub control_messages: *mut *mut *mut GSocketControlMessage,
pub num_control_messages: *mut guint,
}
pub type GOutputVector = _GOutputVector;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOutputVector {
pub buffer: gconstpointer,
pub size: gsize,
}
pub type GOutputMessage = _GOutputMessage;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOutputMessage {
pub address: *mut GSocketAddress,
pub vectors: *mut GOutputVector,
pub num_vectors: guint,
pub bytes_sent: guint,
pub control_messages: *mut *mut GSocketControlMessage,
pub num_control_messages: guint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCredentials {
_unused: [u8; 0],
}
pub type GCredentials = _GCredentials;
pub type GUnixCredentialsMessage = _GUnixCredentialsMessage;
pub type GUnixFDList = _GUnixFDList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusMessage {
_unused: [u8; 0],
}
pub type GDBusMessage = _GDBusMessage;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusConnection {
_unused: [u8; 0],
}
pub type GDBusConnection = _GDBusConnection;
pub type GDBusProxy = _GDBusProxy;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusMethodInvocation {
_unused: [u8; 0],
}
pub type GDBusMethodInvocation = _GDBusMethodInvocation;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusServer {
_unused: [u8; 0],
}
pub type GDBusServer = _GDBusServer;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusAuthObserver {
_unused: [u8; 0],
}
pub type GDBusAuthObserver = _GDBusAuthObserver;
pub type GDBusErrorEntry = _GDBusErrorEntry;
pub type GDBusInterfaceVTable = _GDBusInterfaceVTable;
pub type GDBusSubtreeVTable = _GDBusSubtreeVTable;
pub type GDBusAnnotationInfo = _GDBusAnnotationInfo;
pub type GDBusArgInfo = _GDBusArgInfo;
pub type GDBusMethodInfo = _GDBusMethodInfo;
pub type GDBusSignalInfo = _GDBusSignalInfo;
pub type GDBusPropertyInfo = _GDBusPropertyInfo;
pub type GDBusInterfaceInfo = _GDBusInterfaceInfo;
pub type GDBusNodeInfo = _GDBusNodeInfo;
pub type GCancellableSourceFunc = ::std::option::Option<
unsafe extern "C" fn(cancellable: *mut GCancellable, user_data: gpointer) -> gboolean,
>;
pub type GPollableSourceFunc = ::std::option::Option<
unsafe extern "C" fn(pollable_stream: *mut GObject, user_data: gpointer) -> gboolean,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusInterface {
_unused: [u8; 0],
}
pub type GDBusInterface = _GDBusInterface;
pub type GDBusInterfaceSkeleton = _GDBusInterfaceSkeleton;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObject {
_unused: [u8; 0],
}
pub type GDBusObject = _GDBusObject;
pub type GDBusObjectSkeleton = _GDBusObjectSkeleton;
pub type GDBusObjectProxy = _GDBusObjectProxy;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectManager {
_unused: [u8; 0],
}
pub type GDBusObjectManager = _GDBusObjectManager;
pub type GDBusObjectManagerClient = _GDBusObjectManagerClient;
pub type GDBusObjectManagerServer = _GDBusObjectManagerServer;
pub type GDBusProxyTypeFunc = ::std::option::Option<
unsafe extern "C" fn(
manager: *mut GDBusObjectManagerClient,
object_path: *const gchar,
interface_name: *const gchar,
user_data: gpointer,
) -> GType,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTestDBus {
_unused: [u8; 0],
}
pub type GTestDBus = _GTestDBus;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSubprocess {
_unused: [u8; 0],
}
pub type GSubprocess = _GSubprocess;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSubprocessLauncher {
_unused: [u8; 0],
}
pub type GSubprocessLauncher = _GSubprocessLauncher;
pub type GActionInterface = _GActionInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GActionInterface {
pub g_iface: GTypeInterface,
pub get_name: ::std::option::Option<unsafe extern "C" fn(action: *mut GAction) -> *const gchar>,
pub get_parameter_type:
::std::option::Option<unsafe extern "C" fn(action: *mut GAction) -> *const GVariantType>,
pub get_state_type:
::std::option::Option<unsafe extern "C" fn(action: *mut GAction) -> *const GVariantType>,
pub get_state_hint:
::std::option::Option<unsafe extern "C" fn(action: *mut GAction) -> *mut GVariant>,
pub get_enabled: ::std::option::Option<unsafe extern "C" fn(action: *mut GAction) -> gboolean>,
pub get_state:
::std::option::Option<unsafe extern "C" fn(action: *mut GAction) -> *mut GVariant>,
pub change_state:
::std::option::Option<unsafe extern "C" fn(action: *mut GAction, value: *mut GVariant)>,
pub activate:
::std::option::Option<unsafe extern "C" fn(action: *mut GAction, parameter: *mut GVariant)>,
}
extern "C" {
pub fn _frida_g_action_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_action_get_name(action: *mut GAction) -> *const gchar;
}
extern "C" {
pub fn _frida_g_action_get_parameter_type(action: *mut GAction) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_action_get_state_type(action: *mut GAction) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_action_get_state_hint(action: *mut GAction) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_action_get_enabled(action: *mut GAction) -> gboolean;
}
extern "C" {
pub fn _frida_g_action_get_state(action: *mut GAction) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_action_change_state(action: *mut GAction, value: *mut GVariant);
}
extern "C" {
pub fn _frida_g_action_activate(action: *mut GAction, parameter: *mut GVariant);
}
extern "C" {
pub fn _frida_g_action_name_is_valid(action_name: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_action_parse_detailed_name(
detailed_name: *const gchar,
action_name: *mut *mut gchar,
target_value: *mut *mut GVariant,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_action_print_detailed_name(
action_name: *const gchar,
target_value: *mut GVariant,
) -> *mut gchar;
}
pub type GActionGroupInterface = _GActionGroupInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GActionGroupInterface {
pub g_iface: GTypeInterface,
pub has_action: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> gboolean,
>,
pub list_actions: ::std::option::Option<
unsafe extern "C" fn(action_group: *mut GActionGroup) -> *mut *mut gchar,
>,
pub get_action_enabled: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> gboolean,
>,
pub get_action_parameter_type: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> *const GVariantType,
>,
pub get_action_state_type: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> *const GVariantType,
>,
pub get_action_state_hint: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> *mut GVariant,
>,
pub get_action_state: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> *mut GVariant,
>,
pub change_action_state: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
value: *mut GVariant,
),
>,
pub activate_action: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
parameter: *mut GVariant,
),
>,
pub action_added: ::std::option::Option<
unsafe extern "C" fn(action_group: *mut GActionGroup, action_name: *const gchar),
>,
pub action_removed: ::std::option::Option<
unsafe extern "C" fn(action_group: *mut GActionGroup, action_name: *const gchar),
>,
pub action_enabled_changed: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
enabled: gboolean,
),
>,
pub action_state_changed: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
state: *mut GVariant,
),
>,
pub query_action: ::std::option::Option<
unsafe extern "C" fn(
action_group: *mut GActionGroup,
action_name: *const gchar,
enabled: *mut gboolean,
parameter_type: *mut *const GVariantType,
state_type: *mut *const GVariantType,
state_hint: *mut *mut GVariant,
state: *mut *mut GVariant,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_action_group_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_action_group_has_action(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_action_group_list_actions(action_group: *mut GActionGroup) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_action_group_get_action_parameter_type(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_action_group_get_action_state_type(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_action_group_get_action_state_hint(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_action_group_get_action_enabled(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_action_group_get_action_state(
action_group: *mut GActionGroup,
action_name: *const gchar,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_action_group_change_action_state(
action_group: *mut GActionGroup,
action_name: *const gchar,
value: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_action_group_activate_action(
action_group: *mut GActionGroup,
action_name: *const gchar,
parameter: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_action_group_action_added(
action_group: *mut GActionGroup,
action_name: *const gchar,
);
}
extern "C" {
pub fn _frida_g_action_group_action_removed(
action_group: *mut GActionGroup,
action_name: *const gchar,
);
}
extern "C" {
pub fn _frida_g_action_group_action_enabled_changed(
action_group: *mut GActionGroup,
action_name: *const gchar,
enabled: gboolean,
);
}
extern "C" {
pub fn _frida_g_action_group_action_state_changed(
action_group: *mut GActionGroup,
action_name: *const gchar,
state: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_action_group_query_action(
action_group: *mut GActionGroup,
action_name: *const gchar,
enabled: *mut gboolean,
parameter_type: *mut *const GVariantType,
state_type: *mut *const GVariantType,
state_hint: *mut *mut GVariant,
state: *mut *mut GVariant,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_export_action_group(
connection: *mut GDBusConnection,
object_path: *const gchar,
action_group: *mut GActionGroup,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn _frida_g_dbus_connection_unexport_action_group(
connection: *mut GDBusConnection,
export_id: guint,
);
}
pub type GActionMapInterface = _GActionMapInterface;
pub type GActionEntry = _GActionEntry;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GActionMapInterface {
pub g_iface: GTypeInterface,
pub lookup_action: ::std::option::Option<
unsafe extern "C" fn(
action_map: *mut GActionMap,
action_name: *const gchar,
) -> *mut GAction,
>,
pub add_action: ::std::option::Option<
unsafe extern "C" fn(action_map: *mut GActionMap, action: *mut GAction),
>,
pub remove_action: ::std::option::Option<
unsafe extern "C" fn(action_map: *mut GActionMap, action_name: *const gchar),
>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GActionEntry {
pub name: *const gchar,
pub activate: ::std::option::Option<
unsafe extern "C" fn(
action: *mut GSimpleAction,
parameter: *mut GVariant,
user_data: gpointer,
),
>,
pub parameter_type: *const gchar,
pub state: *const gchar,
pub change_state: ::std::option::Option<
unsafe extern "C" fn(action: *mut GSimpleAction, value: *mut GVariant, user_data: gpointer),
>,
pub padding: [gsize; 3usize],
}
extern "C" {
pub fn _frida_g_action_map_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_action_map_lookup_action(
action_map: *mut GActionMap,
action_name: *const gchar,
) -> *mut GAction;
}
extern "C" {
pub fn _frida_g_action_map_add_action(action_map: *mut GActionMap, action: *mut GAction);
}
extern "C" {
pub fn _frida_g_action_map_remove_action(
action_map: *mut GActionMap,
action_name: *const gchar,
);
}
extern "C" {
pub fn _frida_g_action_map_add_action_entries(
action_map: *mut GActionMap,
entries: *const GActionEntry,
n_entries: gint,
user_data: gpointer,
);
}
pub type GAppLaunchContextClass = _GAppLaunchContextClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAppLaunchContextPrivate {
_unused: [u8; 0],
}
pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate;
pub type GAppInfoIface = _GAppInfoIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAppInfoIface {
pub g_iface: GTypeInterface,
pub dup: ::std::option::Option<unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *mut GAppInfo>,
pub equal: ::std::option::Option<
unsafe extern "C" fn(appinfo1: *mut GAppInfo, appinfo2: *mut GAppInfo) -> gboolean,
>,
pub get_id: ::std::option::Option<
unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *const ::std::os::raw::c_char,
>,
pub get_name: ::std::option::Option<
unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *const ::std::os::raw::c_char,
>,
pub get_description: ::std::option::Option<
unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *const ::std::os::raw::c_char,
>,
pub get_executable: ::std::option::Option<
unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *const ::std::os::raw::c_char,
>,
pub get_icon: ::std::option::Option<unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *mut GIcon>,
pub launch: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
files: *mut GList,
context: *mut GAppLaunchContext,
error: *mut *mut GError,
) -> gboolean,
>,
pub supports_uris:
::std::option::Option<unsafe extern "C" fn(appinfo: *mut GAppInfo) -> gboolean>,
pub supports_files:
::std::option::Option<unsafe extern "C" fn(appinfo: *mut GAppInfo) -> gboolean>,
pub launch_uris: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
uris: *mut GList,
context: *mut GAppLaunchContext,
error: *mut *mut GError,
) -> gboolean,
>,
pub should_show:
::std::option::Option<unsafe extern "C" fn(appinfo: *mut GAppInfo) -> gboolean>,
pub set_as_default_for_type: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
content_type: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean,
>,
pub set_as_default_for_extension: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
extension: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean,
>,
pub add_supports_type: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
content_type: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean,
>,
pub can_remove_supports_type:
::std::option::Option<unsafe extern "C" fn(appinfo: *mut GAppInfo) -> gboolean>,
pub remove_supports_type: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
content_type: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean,
>,
pub can_delete: ::std::option::Option<unsafe extern "C" fn(appinfo: *mut GAppInfo) -> gboolean>,
pub do_delete: ::std::option::Option<unsafe extern "C" fn(appinfo: *mut GAppInfo) -> gboolean>,
pub get_commandline: ::std::option::Option<
unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *const ::std::os::raw::c_char,
>,
pub get_display_name: ::std::option::Option<
unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *const ::std::os::raw::c_char,
>,
pub set_as_last_used_for_type: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
content_type: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean,
>,
pub get_supported_types: ::std::option::Option<
unsafe extern "C" fn(appinfo: *mut GAppInfo) -> *mut *const ::std::os::raw::c_char,
>,
pub launch_uris_async: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
uris: *mut GList,
context: *mut GAppLaunchContext,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub launch_uris_finish: ::std::option::Option<
unsafe extern "C" fn(
appinfo: *mut GAppInfo,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_app_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_app_info_create_from_commandline(
commandline: *const ::std::os::raw::c_char,
application_name: *const ::std::os::raw::c_char,
flags: GAppInfoCreateFlags,
error: *mut *mut GError,
) -> *mut GAppInfo;
}
extern "C" {
pub fn _frida_g_app_info_dup(appinfo: *mut GAppInfo) -> *mut GAppInfo;
}
extern "C" {
pub fn _frida_g_app_info_equal(appinfo1: *mut GAppInfo, appinfo2: *mut GAppInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_get_id(appinfo: *mut GAppInfo) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_info_get_name(appinfo: *mut GAppInfo) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_info_get_display_name(
appinfo: *mut GAppInfo,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_info_get_description(
appinfo: *mut GAppInfo,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_info_get_executable(
appinfo: *mut GAppInfo,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_info_get_commandline(
appinfo: *mut GAppInfo,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_info_get_icon(appinfo: *mut GAppInfo) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_app_info_launch(
appinfo: *mut GAppInfo,
files: *mut GList,
context: *mut GAppLaunchContext,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_supports_uris(appinfo: *mut GAppInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_supports_files(appinfo: *mut GAppInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_launch_uris(
appinfo: *mut GAppInfo,
uris: *mut GList,
context: *mut GAppLaunchContext,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_launch_uris_async(
appinfo: *mut GAppInfo,
uris: *mut GList,
context: *mut GAppLaunchContext,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_app_info_launch_uris_finish(
appinfo: *mut GAppInfo,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_should_show(appinfo: *mut GAppInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_set_as_default_for_type(
appinfo: *mut GAppInfo,
content_type: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_set_as_default_for_extension(
appinfo: *mut GAppInfo,
extension: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_add_supports_type(
appinfo: *mut GAppInfo,
content_type: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_can_remove_supports_type(appinfo: *mut GAppInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_remove_supports_type(
appinfo: *mut GAppInfo,
content_type: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_get_supported_types(
appinfo: *mut GAppInfo,
) -> *mut *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_info_can_delete(appinfo: *mut GAppInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_delete(appinfo: *mut GAppInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_set_as_last_used_for_type(
appinfo: *mut GAppInfo,
content_type: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_get_all() -> *mut GList;
}
extern "C" {
pub fn _frida_g_app_info_get_all_for_type(
content_type: *const ::std::os::raw::c_char,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_app_info_get_recommended_for_type(content_type: *const gchar) -> *mut GList;
}
extern "C" {
pub fn _frida_g_app_info_get_fallback_for_type(content_type: *const gchar) -> *mut GList;
}
extern "C" {
pub fn _frida_g_app_info_reset_type_associations(content_type: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_app_info_get_default_for_type(
content_type: *const ::std::os::raw::c_char,
must_support_uris: gboolean,
) -> *mut GAppInfo;
}
extern "C" {
pub fn _frida_g_app_info_get_default_for_type_async(
content_type: *const ::std::os::raw::c_char,
must_support_uris: gboolean,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_app_info_get_default_for_type_finish(
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GAppInfo;
}
extern "C" {
pub fn _frida_g_app_info_get_default_for_uri_scheme(
uri_scheme: *const ::std::os::raw::c_char,
) -> *mut GAppInfo;
}
extern "C" {
pub fn _frida_g_app_info_get_default_for_uri_scheme_async(
uri_scheme: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_app_info_get_default_for_uri_scheme_finish(
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GAppInfo;
}
extern "C" {
pub fn _frida_g_app_info_launch_default_for_uri(
uri: *const ::std::os::raw::c_char,
context: *mut GAppLaunchContext,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_app_info_launch_default_for_uri_async(
uri: *const ::std::os::raw::c_char,
context: *mut GAppLaunchContext,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_app_info_launch_default_for_uri_finish(
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAppLaunchContext {
pub parent_instance: GObject,
pub priv_: *mut GAppLaunchContextPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAppLaunchContextClass {
pub parent_class: GObjectClass,
pub get_display: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GAppLaunchContext,
info: *mut GAppInfo,
files: *mut GList,
) -> *mut ::std::os::raw::c_char,
>,
pub get_startup_notify_id: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GAppLaunchContext,
info: *mut GAppInfo,
files: *mut GList,
) -> *mut ::std::os::raw::c_char,
>,
pub launch_failed: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GAppLaunchContext,
startup_notify_id: *const ::std::os::raw::c_char,
),
>,
pub launched: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GAppLaunchContext,
info: *mut GAppInfo,
platform_data: *mut GVariant,
),
>,
pub launch_started: ::std::option::Option<
unsafe extern "C" fn(
context: *mut GAppLaunchContext,
info: *mut GAppInfo,
platform_data: *mut GVariant,
),
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_app_launch_context_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_app_launch_context_new() -> *mut GAppLaunchContext;
}
extern "C" {
pub fn _frida_g_app_launch_context_setenv(
context: *mut GAppLaunchContext,
variable: *const ::std::os::raw::c_char,
value: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_app_launch_context_unsetenv(
context: *mut GAppLaunchContext,
variable: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_app_launch_context_get_environment(
context: *mut GAppLaunchContext,
) -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_launch_context_get_display(
context: *mut GAppLaunchContext,
info: *mut GAppInfo,
files: *mut GList,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_launch_context_get_startup_notify_id(
context: *mut GAppLaunchContext,
info: *mut GAppInfo,
files: *mut GList,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_app_launch_context_launch_failed(
context: *mut GAppLaunchContext,
startup_notify_id: *const ::std::os::raw::c_char,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAppInfoMonitor {
_unused: [u8; 0],
}
pub type GAppInfoMonitor = _GAppInfoMonitor;
extern "C" {
pub fn _frida_g_app_info_monitor_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_app_info_monitor_get() -> *mut GAppInfoMonitor;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GApplicationPrivate {
_unused: [u8; 0],
}
pub type GApplicationPrivate = _GApplicationPrivate;
pub type GApplicationClass = _GApplicationClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GApplication {
pub parent_instance: GObject,
pub priv_: *mut GApplicationPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GApplicationClass {
pub parent_class: GObjectClass,
pub startup: ::std::option::Option<unsafe extern "C" fn(application: *mut GApplication)>,
pub activate: ::std::option::Option<unsafe extern "C" fn(application: *mut GApplication)>,
pub open: ::std::option::Option<
unsafe extern "C" fn(
application: *mut GApplication,
files: *mut *mut GFile,
n_files: gint,
hint: *const gchar,
),
>,
pub command_line: ::std::option::Option<
unsafe extern "C" fn(
application: *mut GApplication,
command_line: *mut GApplicationCommandLine,
) -> ::std::os::raw::c_int,
>,
pub local_command_line: ::std::option::Option<
unsafe extern "C" fn(
application: *mut GApplication,
arguments: *mut *mut *mut gchar,
exit_status: *mut ::std::os::raw::c_int,
) -> gboolean,
>,
pub before_emit: ::std::option::Option<
unsafe extern "C" fn(application: *mut GApplication, platform_data: *mut GVariant),
>,
pub after_emit: ::std::option::Option<
unsafe extern "C" fn(application: *mut GApplication, platform_data: *mut GVariant),
>,
pub add_platform_data: ::std::option::Option<
unsafe extern "C" fn(application: *mut GApplication, builder: *mut GVariantBuilder),
>,
pub quit_mainloop: ::std::option::Option<unsafe extern "C" fn(application: *mut GApplication)>,
pub run_mainloop: ::std::option::Option<unsafe extern "C" fn(application: *mut GApplication)>,
pub shutdown: ::std::option::Option<unsafe extern "C" fn(application: *mut GApplication)>,
pub dbus_register: ::std::option::Option<
unsafe extern "C" fn(
application: *mut GApplication,
connection: *mut GDBusConnection,
object_path: *const gchar,
error: *mut *mut GError,
) -> gboolean,
>,
pub dbus_unregister: ::std::option::Option<
unsafe extern "C" fn(
application: *mut GApplication,
connection: *mut GDBusConnection,
object_path: *const gchar,
),
>,
pub handle_local_options: ::std::option::Option<
unsafe extern "C" fn(application: *mut GApplication, options: *mut GVariantDict) -> gint,
>,
pub name_lost:
::std::option::Option<unsafe extern "C" fn(application: *mut GApplication) -> gboolean>,
pub padding: [gpointer; 7usize],
}
extern "C" {
pub fn _frida_g_application_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_application_id_is_valid(application_id: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_application_new(
application_id: *const gchar,
flags: GApplicationFlags,
) -> *mut GApplication;
}
extern "C" {
pub fn _frida_g_application_get_application_id(application: *mut GApplication) -> *const gchar;
}
extern "C" {
pub fn _frida_g_application_set_application_id(
application: *mut GApplication,
application_id: *const gchar,
);
}
extern "C" {
pub fn _frida_g_application_get_dbus_connection(
application: *mut GApplication,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_application_get_dbus_object_path(
application: *mut GApplication,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_application_get_inactivity_timeout(application: *mut GApplication) -> guint;
}
extern "C" {
pub fn _frida_g_application_set_inactivity_timeout(
application: *mut GApplication,
inactivity_timeout: guint,
);
}
extern "C" {
pub fn _frida_g_application_get_flags(application: *mut GApplication) -> GApplicationFlags;
}
extern "C" {
pub fn _frida_g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags);
}
extern "C" {
pub fn _frida_g_application_get_resource_base_path(
application: *mut GApplication,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_application_set_resource_base_path(
application: *mut GApplication,
resource_path: *const gchar,
);
}
extern "C" {
pub fn _frida_g_application_set_action_group(
application: *mut GApplication,
action_group: *mut GActionGroup,
);
}
extern "C" {
pub fn _frida_g_application_add_main_option_entries(
application: *mut GApplication,
entries: *const GOptionEntry,
);
}
extern "C" {
pub fn _frida_g_application_add_main_option(
application: *mut GApplication,
long_name: *const ::std::os::raw::c_char,
short_name: ::std::os::raw::c_char,
flags: GOptionFlags,
arg: GOptionArg,
description: *const ::std::os::raw::c_char,
arg_description: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_application_add_option_group(
application: *mut GApplication,
group: *mut GOptionGroup,
);
}
extern "C" {
pub fn _frida_g_application_set_option_context_parameter_string(
application: *mut GApplication,
parameter_string: *const gchar,
);
}
extern "C" {
pub fn _frida_g_application_set_option_context_summary(
application: *mut GApplication,
summary: *const gchar,
);
}
extern "C" {
pub fn _frida_g_application_set_option_context_description(
application: *mut GApplication,
description: *const gchar,
);
}
extern "C" {
pub fn _frida_g_application_get_is_registered(application: *mut GApplication) -> gboolean;
}
extern "C" {
pub fn _frida_g_application_get_is_remote(application: *mut GApplication) -> gboolean;
}
extern "C" {
pub fn _frida_g_application_register(
application: *mut GApplication,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_application_hold(application: *mut GApplication);
}
extern "C" {
pub fn _frida_g_application_release(application: *mut GApplication);
}
extern "C" {
pub fn _frida_g_application_activate(application: *mut GApplication);
}
extern "C" {
pub fn _frida_g_application_open(
application: *mut GApplication,
files: *mut *mut GFile,
n_files: gint,
hint: *const gchar,
);
}
extern "C" {
pub fn _frida_g_application_run(
application: *mut GApplication,
argc: ::std::os::raw::c_int,
argv: *mut *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_application_quit(application: *mut GApplication);
}
extern "C" {
pub fn _frida_g_application_get_default() -> *mut GApplication;
}
extern "C" {
pub fn _frida_g_application_set_default(application: *mut GApplication);
}
extern "C" {
pub fn _frida_g_application_mark_busy(application: *mut GApplication);
}
extern "C" {
pub fn _frida_g_application_unmark_busy(application: *mut GApplication);
}
extern "C" {
pub fn _frida_g_application_get_is_busy(application: *mut GApplication) -> gboolean;
}
extern "C" {
pub fn _frida_g_application_send_notification(
application: *mut GApplication,
id: *const gchar,
notification: *mut GNotification,
);
}
extern "C" {
pub fn _frida_g_application_withdraw_notification(
application: *mut GApplication,
id: *const gchar,
);
}
extern "C" {
pub fn _frida_g_application_bind_busy_property(
application: *mut GApplication,
object: gpointer,
property: *const gchar,
);
}
extern "C" {
pub fn _frida_g_application_unbind_busy_property(
application: *mut GApplication,
object: gpointer,
property: *const gchar,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GApplicationCommandLinePrivate {
_unused: [u8; 0],
}
pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate;
pub type GApplicationCommandLineClass = _GApplicationCommandLineClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GApplicationCommandLine {
pub parent_instance: GObject,
pub priv_: *mut GApplicationCommandLinePrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GApplicationCommandLineClass {
pub parent_class: GObjectClass,
pub print_literal: ::std::option::Option<
unsafe extern "C" fn(cmdline: *mut GApplicationCommandLine, message: *const gchar),
>,
pub printerr_literal: ::std::option::Option<
unsafe extern "C" fn(cmdline: *mut GApplicationCommandLine, message: *const gchar),
>,
pub get_stdin: ::std::option::Option<
unsafe extern "C" fn(cmdline: *mut GApplicationCommandLine) -> *mut GInputStream,
>,
pub padding: [gpointer; 11usize],
}
extern "C" {
pub fn _frida_g_application_command_line_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_application_command_line_get_arguments(
cmdline: *mut GApplicationCommandLine,
argc: *mut ::std::os::raw::c_int,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_application_command_line_get_options_dict(
cmdline: *mut GApplicationCommandLine,
) -> *mut GVariantDict;
}
extern "C" {
pub fn _frida_g_application_command_line_get_stdin(
cmdline: *mut GApplicationCommandLine,
) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_application_command_line_get_environ(
cmdline: *mut GApplicationCommandLine,
) -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_application_command_line_getenv(
cmdline: *mut GApplicationCommandLine,
name: *const gchar,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_application_command_line_get_cwd(
cmdline: *mut GApplicationCommandLine,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_application_command_line_get_is_remote(
cmdline: *mut GApplicationCommandLine,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_application_command_line_print(
cmdline: *mut GApplicationCommandLine,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_application_command_line_printerr(
cmdline: *mut GApplicationCommandLine,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_application_command_line_get_exit_status(
cmdline: *mut GApplicationCommandLine,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_application_command_line_set_exit_status(
cmdline: *mut GApplicationCommandLine,
exit_status: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn _frida_g_application_command_line_get_platform_data(
cmdline: *mut GApplicationCommandLine,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_application_command_line_create_file_for_arg(
cmdline: *mut GApplicationCommandLine,
arg: *const gchar,
) -> *mut GFile;
}
pub type GInitableIface = _GInitableIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInitableIface {
pub g_iface: GTypeInterface,
pub init: ::std::option::Option<
unsafe extern "C" fn(
initable: *mut GInitable,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_initable_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_initable_init(
initable: *mut GInitable,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_initable_new(
object_type: GType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
first_property_name: *const gchar,
...
) -> gpointer;
}
extern "C" {
pub fn _frida_g_initable_newv(
object_type: GType,
n_parameters: guint,
parameters: *mut GParameter,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_initable_new_valist(
object_type: GType,
first_property_name: *const gchar,
var_args: va_list,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GObject;
}
pub type GAsyncInitableIface = _GAsyncInitableIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAsyncInitableIface {
pub g_iface: GTypeInterface,
pub init_async: ::std::option::Option<
unsafe extern "C" fn(
initable: *mut GAsyncInitable,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub init_finish: ::std::option::Option<
unsafe extern "C" fn(
initable: *mut GAsyncInitable,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_async_initable_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_async_initable_init_async(
initable: *mut GAsyncInitable,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_async_initable_init_finish(
initable: *mut GAsyncInitable,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_async_initable_new_async(
object_type: GType,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
first_property_name: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_async_initable_newv_async(
object_type: GType,
n_parameters: guint,
parameters: *mut GParameter,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_async_initable_new_valist_async(
object_type: GType,
first_property_name: *const gchar,
var_args: va_list,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_async_initable_new_finish(
initable: *mut GAsyncInitable,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GObject;
}
pub type GAsyncResultIface = _GAsyncResultIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GAsyncResultIface {
pub g_iface: GTypeInterface,
pub get_user_data:
::std::option::Option<unsafe extern "C" fn(res: *mut GAsyncResult) -> gpointer>,
pub get_source_object:
::std::option::Option<unsafe extern "C" fn(res: *mut GAsyncResult) -> *mut GObject>,
pub is_tagged: ::std::option::Option<
unsafe extern "C" fn(res: *mut GAsyncResult, source_tag: gpointer) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_async_result_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_async_result_get_user_data(res: *mut GAsyncResult) -> gpointer;
}
extern "C" {
pub fn _frida_g_async_result_get_source_object(res: *mut GAsyncResult) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_async_result_legacy_propagate_error(
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_async_result_is_tagged(
res: *mut GAsyncResult,
source_tag: gpointer,
) -> gboolean;
}
pub type GInputStreamClass = _GInputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInputStreamPrivate {
_unused: [u8; 0],
}
pub type GInputStreamPrivate = _GInputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInputStream {
pub parent_instance: GObject,
pub priv_: *mut GInputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInputStreamClass {
pub parent_class: GObjectClass,
pub read_fn: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize,
>,
pub skip: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize,
>,
pub close_fn: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub read_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub read_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize,
>,
pub skip_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub skip_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize,
>,
pub close_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub close_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_input_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_input_stream_read(
stream: *mut GInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_input_stream_read_all(
stream: *mut GInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
bytes_read: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_input_stream_read_bytes(
stream: *mut GInputStream,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_input_stream_skip(
stream: *mut GInputStream,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_input_stream_close(
stream: *mut GInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_input_stream_read_async(
stream: *mut GInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_input_stream_read_finish(
stream: *mut GInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_input_stream_read_all_async(
stream: *mut GInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_input_stream_read_all_finish(
stream: *mut GInputStream,
result: *mut GAsyncResult,
bytes_read: *mut gsize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_input_stream_read_bytes_async(
stream: *mut GInputStream,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_input_stream_read_bytes_finish(
stream: *mut GInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_input_stream_skip_async(
stream: *mut GInputStream,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_input_stream_skip_finish(
stream: *mut GInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_input_stream_close_async(
stream: *mut GInputStream,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_input_stream_close_finish(
stream: *mut GInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_input_stream_is_closed(stream: *mut GInputStream) -> gboolean;
}
extern "C" {
pub fn _frida_g_input_stream_has_pending(stream: *mut GInputStream) -> gboolean;
}
extern "C" {
pub fn _frida_g_input_stream_set_pending(
stream: *mut GInputStream,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_input_stream_clear_pending(stream: *mut GInputStream);
}
pub type GFilterInputStreamClass = _GFilterInputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFilterInputStream {
pub parent_instance: GInputStream,
pub base_stream: *mut GInputStream,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFilterInputStreamClass {
pub parent_class: GInputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_filter_input_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_filter_input_stream_get_base_stream(
stream: *mut GFilterInputStream,
) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_filter_input_stream_get_close_base_stream(
stream: *mut GFilterInputStream,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_filter_input_stream_set_close_base_stream(
stream: *mut GFilterInputStream,
close_base: gboolean,
);
}
pub type GBufferedInputStreamClass = _GBufferedInputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBufferedInputStreamPrivate {
_unused: [u8; 0],
}
pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBufferedInputStream {
pub parent_instance: GFilterInputStream,
pub priv_: *mut GBufferedInputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBufferedInputStreamClass {
pub parent_class: GFilterInputStreamClass,
pub fill: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GBufferedInputStream,
count: gssize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize,
>,
pub fill_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GBufferedInputStream,
count: gssize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub fill_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GBufferedInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_buffered_input_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_new_sized(
base_stream: *mut GInputStream,
size: gsize,
) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_get_buffer_size(
stream: *mut GBufferedInputStream,
) -> gsize;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_set_buffer_size(
stream: *mut GBufferedInputStream,
size: gsize,
);
}
extern "C" {
pub fn _frida_g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream)
-> gsize;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_peek(
stream: *mut GBufferedInputStream,
buffer: *mut ::std::os::raw::c_void,
offset: gsize,
count: gsize,
) -> gsize;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_peek_buffer(
stream: *mut GBufferedInputStream,
count: *mut gsize,
) -> *const ::std::os::raw::c_void;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_fill(
stream: *mut GBufferedInputStream,
count: gssize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_fill_async(
stream: *mut GBufferedInputStream,
count: gssize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_buffered_input_stream_fill_finish(
stream: *mut GBufferedInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_buffered_input_stream_read_byte(
stream: *mut GBufferedInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> ::std::os::raw::c_int;
}
pub type GOutputStreamClass = _GOutputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOutputStreamPrivate {
_unused: [u8; 0],
}
pub type GOutputStreamPrivate = _GOutputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOutputStream {
pub parent_instance: GObject,
pub priv_: *mut GOutputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GOutputStreamClass {
pub parent_class: GObjectClass,
pub write_fn: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize,
>,
pub splice: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
source: *mut GInputStream,
flags: GOutputStreamSpliceFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize,
>,
pub flush: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub close_fn: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub write_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub write_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize,
>,
pub splice_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
source: *mut GInputStream,
flags: GOutputStreamSpliceFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub splice_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize,
>,
pub flush_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub flush_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub close_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub close_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub writev_fn: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
vectors: *const GOutputVector,
n_vectors: gsize,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub writev_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
vectors: *const GOutputVector,
n_vectors: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub writev_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> gboolean,
>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved7: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved8: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_output_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_output_stream_write(
stream: *mut GOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_output_stream_write_all(
stream: *mut GOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_writev(
stream: *mut GOutputStream,
vectors: *const GOutputVector,
n_vectors: gsize,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_writev_all(
stream: *mut GOutputStream,
vectors: *mut GOutputVector,
n_vectors: gsize,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_printf(
stream: *mut GOutputStream,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
format: *const gchar,
...
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_vprintf(
stream: *mut GOutputStream,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
format: *const gchar,
args: va_list,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_write_bytes(
stream: *mut GOutputStream,
bytes: *mut GBytes,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_output_stream_splice(
stream: *mut GOutputStream,
source: *mut GInputStream,
flags: GOutputStreamSpliceFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_output_stream_flush(
stream: *mut GOutputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_close(
stream: *mut GOutputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_write_async(
stream: *mut GOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_output_stream_write_finish(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_output_stream_write_all_async(
stream: *mut GOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_output_stream_write_all_finish(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_writev_async(
stream: *mut GOutputStream,
vectors: *const GOutputVector,
n_vectors: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_output_stream_writev_finish(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_writev_all_async(
stream: *mut GOutputStream,
vectors: *mut GOutputVector,
n_vectors: gsize,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_output_stream_writev_all_finish(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_write_bytes_async(
stream: *mut GOutputStream,
bytes: *mut GBytes,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_output_stream_write_bytes_finish(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_output_stream_splice_async(
stream: *mut GOutputStream,
source: *mut GInputStream,
flags: GOutputStreamSpliceFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_output_stream_splice_finish(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_output_stream_flush_async(
stream: *mut GOutputStream,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_output_stream_flush_finish(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_close_async(
stream: *mut GOutputStream,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_output_stream_close_finish(
stream: *mut GOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_is_closed(stream: *mut GOutputStream) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_is_closing(stream: *mut GOutputStream) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_has_pending(stream: *mut GOutputStream) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_set_pending(
stream: *mut GOutputStream,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_output_stream_clear_pending(stream: *mut GOutputStream);
}
pub type GFilterOutputStreamClass = _GFilterOutputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFilterOutputStream {
pub parent_instance: GOutputStream,
pub base_stream: *mut GOutputStream,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFilterOutputStreamClass {
pub parent_class: GOutputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_filter_output_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_filter_output_stream_get_base_stream(
stream: *mut GFilterOutputStream,
) -> *mut GOutputStream;
}
extern "C" {
pub fn _frida_g_filter_output_stream_get_close_base_stream(
stream: *mut GFilterOutputStream,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_filter_output_stream_set_close_base_stream(
stream: *mut GFilterOutputStream,
close_base: gboolean,
);
}
pub type GBufferedOutputStreamClass = _GBufferedOutputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBufferedOutputStreamPrivate {
_unused: [u8; 0],
}
pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBufferedOutputStream {
pub parent_instance: GFilterOutputStream,
pub priv_: *mut GBufferedOutputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GBufferedOutputStreamClass {
pub parent_class: GFilterOutputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_buffered_output_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_buffered_output_stream_new(
base_stream: *mut GOutputStream,
) -> *mut GOutputStream;
}
extern "C" {
pub fn _frida_g_buffered_output_stream_new_sized(
base_stream: *mut GOutputStream,
size: gsize,
) -> *mut GOutputStream;
}
extern "C" {
pub fn _frida_g_buffered_output_stream_get_buffer_size(
stream: *mut GBufferedOutputStream,
) -> gsize;
}
extern "C" {
pub fn _frida_g_buffered_output_stream_set_buffer_size(
stream: *mut GBufferedOutputStream,
size: gsize,
);
}
extern "C" {
pub fn _frida_g_buffered_output_stream_get_auto_grow(
stream: *mut GBufferedOutputStream,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_buffered_output_stream_set_auto_grow(
stream: *mut GBufferedOutputStream,
auto_grow: gboolean,
);
}
extern "C" {
pub fn _frida_g_bytes_icon_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_bytes_icon_new(bytes: *mut GBytes) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut GBytes;
}
pub type GCancellableClass = _GCancellableClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCancellablePrivate {
_unused: [u8; 0],
}
pub type GCancellablePrivate = _GCancellablePrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCancellable {
pub parent_instance: GObject,
pub priv_: *mut GCancellablePrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCancellableClass {
pub parent_class: GObjectClass,
pub cancelled: ::std::option::Option<unsafe extern "C" fn(cancellable: *mut GCancellable)>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_cancellable_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_cancellable_new() -> *mut GCancellable;
}
extern "C" {
pub fn _frida_g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean;
}
extern "C" {
pub fn _frida_g_cancellable_set_error_if_cancelled(
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_cancellable_get_fd(cancellable: *mut GCancellable) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_cancellable_make_pollfd(
cancellable: *mut GCancellable,
pollfd: *mut GPollFD,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_cancellable_release_fd(cancellable: *mut GCancellable);
}
extern "C" {
pub fn _frida_g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_cancellable_get_current() -> *mut GCancellable;
}
extern "C" {
pub fn _frida_g_cancellable_push_current(cancellable: *mut GCancellable);
}
extern "C" {
pub fn _frida_g_cancellable_pop_current(cancellable: *mut GCancellable);
}
extern "C" {
pub fn _frida_g_cancellable_reset(cancellable: *mut GCancellable);
}
extern "C" {
pub fn _frida_g_cancellable_connect(
cancellable: *mut GCancellable,
callback: GCallback,
data: gpointer,
data_destroy_func: GDestroyNotify,
) -> gulong;
}
extern "C" {
pub fn _frida_g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: gulong);
}
extern "C" {
pub fn _frida_g_cancellable_cancel(cancellable: *mut GCancellable);
}
pub type GConverterIface = _GConverterIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GConverterIface {
pub g_iface: GTypeInterface,
pub convert: ::std::option::Option<
unsafe extern "C" fn(
converter: *mut GConverter,
inbuf: *const ::std::os::raw::c_void,
inbuf_size: gsize,
outbuf: *mut ::std::os::raw::c_void,
outbuf_size: gsize,
flags: GConverterFlags,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> GConverterResult,
>,
pub reset: ::std::option::Option<unsafe extern "C" fn(converter: *mut GConverter)>,
}
extern "C" {
pub fn _frida_g_converter_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_converter_convert(
converter: *mut GConverter,
inbuf: *const ::std::os::raw::c_void,
inbuf_size: gsize,
outbuf: *mut ::std::os::raw::c_void,
outbuf_size: gsize,
flags: GConverterFlags,
bytes_read: *mut gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> GConverterResult;
}
extern "C" {
pub fn _frida_g_converter_reset(converter: *mut GConverter);
}
pub type GCharsetConverterClass = _GCharsetConverterClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCharsetConverterClass {
pub parent_class: GObjectClass,
}
extern "C" {
pub fn _frida_g_charset_converter_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_charset_converter_new(
to_charset: *const gchar,
from_charset: *const gchar,
error: *mut *mut GError,
) -> *mut GCharsetConverter;
}
extern "C" {
pub fn _frida_g_charset_converter_set_use_fallback(
converter: *mut GCharsetConverter,
use_fallback: gboolean,
);
}
extern "C" {
pub fn _frida_g_charset_converter_get_use_fallback(
converter: *mut GCharsetConverter,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter)
-> guint;
}
extern "C" {
pub fn _frida_g_content_type_equals(type1: *const gchar, type2: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_content_type_is_a(type_: *const gchar, supertype: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_content_type_is_mime_type(
type_: *const gchar,
mime_type: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_content_type_is_unknown(type_: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_content_type_get_description(type_: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_content_type_get_mime_type(type_: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_content_type_get_icon(type_: *const gchar) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_content_type_get_symbolic_icon(type_: *const gchar) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_content_type_get_generic_icon_name(type_: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_content_type_can_be_executable(type_: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_content_type_from_mime_type(mime_type: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_content_type_guess(
filename: *const gchar,
data: *const guchar,
data_size: gsize,
result_uncertain: *mut gboolean,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_content_type_guess_for_tree(root: *mut GFile) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_content_types_get_registered() -> *mut GList;
}
extern "C" {
pub fn _frida_g_content_type_get_mime_dirs() -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_content_type_set_mime_dirs(dirs: *const *const gchar);
}
pub type GConverterInputStreamClass = _GConverterInputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GConverterInputStreamPrivate {
_unused: [u8; 0],
}
pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GConverterInputStream {
pub parent_instance: GFilterInputStream,
pub priv_: *mut GConverterInputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GConverterInputStreamClass {
pub parent_class: GFilterInputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_converter_input_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_converter_input_stream_new(
base_stream: *mut GInputStream,
converter: *mut GConverter,
) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_converter_input_stream_get_converter(
converter_stream: *mut GConverterInputStream,
) -> *mut GConverter;
}
pub type GConverterOutputStreamClass = _GConverterOutputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GConverterOutputStreamPrivate {
_unused: [u8; 0],
}
pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GConverterOutputStream {
pub parent_instance: GFilterOutputStream,
pub priv_: *mut GConverterOutputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GConverterOutputStreamClass {
pub parent_class: GFilterOutputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_converter_output_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_converter_output_stream_new(
base_stream: *mut GOutputStream,
converter: *mut GConverter,
) -> *mut GOutputStream;
}
extern "C" {
pub fn _frida_g_converter_output_stream_get_converter(
converter_stream: *mut GConverterOutputStream,
) -> *mut GConverter;
}
pub type useconds_t = __useconds_t;
pub type socklen_t = __socklen_t;
extern "C" {
pub fn access(
__name: *const ::std::os::raw::c_char,
__type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn faccessat(
__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__type: ::std::os::raw::c_int,
__flag: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lseek(
__fd: ::std::os::raw::c_int,
__offset: __off_t,
__whence: ::std::os::raw::c_int,
) -> __off_t;
}
extern "C" {
pub fn close(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn closefrom(__lowfd: ::std::os::raw::c_int);
}
extern "C" {
pub fn read(
__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_void,
__nbytes: usize,
) -> isize;
}
extern "C" {
pub fn write(
__fd: ::std::os::raw::c_int,
__buf: *const ::std::os::raw::c_void,
__n: usize,
) -> isize;
}
extern "C" {
pub fn pread(
__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_void,
__nbytes: usize,
__offset: __off_t,
) -> isize;
}
extern "C" {
pub fn pwrite(
__fd: ::std::os::raw::c_int,
__buf: *const ::std::os::raw::c_void,
__n: usize,
__offset: __off_t,
) -> isize;
}
extern "C" {
pub fn pipe(__pipedes: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn alarm(__seconds: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn sleep(__seconds: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn ualarm(__value: __useconds_t, __interval: __useconds_t) -> __useconds_t;
}
extern "C" {
pub fn usleep(__useconds: __useconds_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pause() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn chown(
__file: *const ::std::os::raw::c_char,
__owner: __uid_t,
__group: __gid_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fchown(
__fd: ::std::os::raw::c_int,
__owner: __uid_t,
__group: __gid_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lchown(
__file: *const ::std::os::raw::c_char,
__owner: __uid_t,
__group: __gid_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fchownat(
__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__owner: __uid_t,
__group: __gid_t,
__flag: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn chdir(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fchdir(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getcwd(__buf: *mut ::std::os::raw::c_char, __size: usize)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn getwd(__buf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn dup(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn dup2(__fd: ::std::os::raw::c_int, __fd2: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub static mut __environ: *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn execve(
__path: *const ::std::os::raw::c_char,
__argv: *const *mut ::std::os::raw::c_char,
__envp: *const *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fexecve(
__fd: ::std::os::raw::c_int,
__argv: *const *mut ::std::os::raw::c_char,
__envp: *const *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn execv(
__path: *const ::std::os::raw::c_char,
__argv: *const *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn execle(
__path: *const ::std::os::raw::c_char,
__arg: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn execl(
__path: *const ::std::os::raw::c_char,
__arg: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn execvp(
__file: *const ::std::os::raw::c_char,
__argv: *const *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn execlp(
__file: *const ::std::os::raw::c_char,
__arg: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn nice(__inc: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _exit(__status: ::std::os::raw::c_int) -> !;
}
pub const _PC_LINK_MAX: _bindgen_ty_21 = 0;
pub const _PC_MAX_CANON: _bindgen_ty_21 = 1;
pub const _PC_MAX_INPUT: _bindgen_ty_21 = 2;
pub const _PC_NAME_MAX: _bindgen_ty_21 = 3;
pub const _PC_PATH_MAX: _bindgen_ty_21 = 4;
pub const _PC_PIPE_BUF: _bindgen_ty_21 = 5;
pub const _PC_CHOWN_RESTRICTED: _bindgen_ty_21 = 6;
pub const _PC_NO_TRUNC: _bindgen_ty_21 = 7;
pub const _PC_VDISABLE: _bindgen_ty_21 = 8;
pub const _PC_SYNC_IO: _bindgen_ty_21 = 9;
pub const _PC_ASYNC_IO: _bindgen_ty_21 = 10;
pub const _PC_PRIO_IO: _bindgen_ty_21 = 11;
pub const _PC_SOCK_MAXBUF: _bindgen_ty_21 = 12;
pub const _PC_FILESIZEBITS: _bindgen_ty_21 = 13;
pub const _PC_REC_INCR_XFER_SIZE: _bindgen_ty_21 = 14;
pub const _PC_REC_MAX_XFER_SIZE: _bindgen_ty_21 = 15;
pub const _PC_REC_MIN_XFER_SIZE: _bindgen_ty_21 = 16;
pub const _PC_REC_XFER_ALIGN: _bindgen_ty_21 = 17;
pub const _PC_ALLOC_SIZE_MIN: _bindgen_ty_21 = 18;
pub const _PC_SYMLINK_MAX: _bindgen_ty_21 = 19;
pub const _PC_2_SYMLINKS: _bindgen_ty_21 = 20;
pub type _bindgen_ty_21 = ::std::os::raw::c_uint;
pub const _SC_ARG_MAX: _bindgen_ty_22 = 0;
pub const _SC_CHILD_MAX: _bindgen_ty_22 = 1;
pub const _SC_CLK_TCK: _bindgen_ty_22 = 2;
pub const _SC_NGROUPS_MAX: _bindgen_ty_22 = 3;
pub const _SC_OPEN_MAX: _bindgen_ty_22 = 4;
pub const _SC_STREAM_MAX: _bindgen_ty_22 = 5;
pub const _SC_TZNAME_MAX: _bindgen_ty_22 = 6;
pub const _SC_JOB_CONTROL: _bindgen_ty_22 = 7;
pub const _SC_SAVED_IDS: _bindgen_ty_22 = 8;
pub const _SC_REALTIME_SIGNALS: _bindgen_ty_22 = 9;
pub const _SC_PRIORITY_SCHEDULING: _bindgen_ty_22 = 10;
pub const _SC_TIMERS: _bindgen_ty_22 = 11;
pub const _SC_ASYNCHRONOUS_IO: _bindgen_ty_22 = 12;
pub const _SC_PRIORITIZED_IO: _bindgen_ty_22 = 13;
pub const _SC_SYNCHRONIZED_IO: _bindgen_ty_22 = 14;
pub const _SC_FSYNC: _bindgen_ty_22 = 15;
pub const _SC_MAPPED_FILES: _bindgen_ty_22 = 16;
pub const _SC_MEMLOCK: _bindgen_ty_22 = 17;
pub const _SC_MEMLOCK_RANGE: _bindgen_ty_22 = 18;
pub const _SC_MEMORY_PROTECTION: _bindgen_ty_22 = 19;
pub const _SC_MESSAGE_PASSING: _bindgen_ty_22 = 20;
pub const _SC_SEMAPHORES: _bindgen_ty_22 = 21;
pub const _SC_SHARED_MEMORY_OBJECTS: _bindgen_ty_22 = 22;
pub const _SC_AIO_LISTIO_MAX: _bindgen_ty_22 = 23;
pub const _SC_AIO_MAX: _bindgen_ty_22 = 24;
pub const _SC_AIO_PRIO_DELTA_MAX: _bindgen_ty_22 = 25;
pub const _SC_DELAYTIMER_MAX: _bindgen_ty_22 = 26;
pub const _SC_MQ_OPEN_MAX: _bindgen_ty_22 = 27;
pub const _SC_MQ_PRIO_MAX: _bindgen_ty_22 = 28;
pub const _SC_VERSION: _bindgen_ty_22 = 29;
pub const _SC_PAGESIZE: _bindgen_ty_22 = 30;
pub const _SC_RTSIG_MAX: _bindgen_ty_22 = 31;
pub const _SC_SEM_NSEMS_MAX: _bindgen_ty_22 = 32;
pub const _SC_SEM_VALUE_MAX: _bindgen_ty_22 = 33;
pub const _SC_SIGQUEUE_MAX: _bindgen_ty_22 = 34;
pub const _SC_TIMER_MAX: _bindgen_ty_22 = 35;
pub const _SC_BC_BASE_MAX: _bindgen_ty_22 = 36;
pub const _SC_BC_DIM_MAX: _bindgen_ty_22 = 37;
pub const _SC_BC_SCALE_MAX: _bindgen_ty_22 = 38;
pub const _SC_BC_STRING_MAX: _bindgen_ty_22 = 39;
pub const _SC_COLL_WEIGHTS_MAX: _bindgen_ty_22 = 40;
pub const _SC_EQUIV_CLASS_MAX: _bindgen_ty_22 = 41;
pub const _SC_EXPR_NEST_MAX: _bindgen_ty_22 = 42;
pub const _SC_LINE_MAX: _bindgen_ty_22 = 43;
pub const _SC_RE_DUP_MAX: _bindgen_ty_22 = 44;
pub const _SC_CHARCLASS_NAME_MAX: _bindgen_ty_22 = 45;
pub const _SC_2_VERSION: _bindgen_ty_22 = 46;
pub const _SC_2_C_BIND: _bindgen_ty_22 = 47;
pub const _SC_2_C_DEV: _bindgen_ty_22 = 48;
pub const _SC_2_FORT_DEV: _bindgen_ty_22 = 49;
pub const _SC_2_FORT_RUN: _bindgen_ty_22 = 50;
pub const _SC_2_SW_DEV: _bindgen_ty_22 = 51;
pub const _SC_2_LOCALEDEF: _bindgen_ty_22 = 52;
pub const _SC_PII: _bindgen_ty_22 = 53;
pub const _SC_PII_XTI: _bindgen_ty_22 = 54;
pub const _SC_PII_SOCKET: _bindgen_ty_22 = 55;
pub const _SC_PII_INTERNET: _bindgen_ty_22 = 56;
pub const _SC_PII_OSI: _bindgen_ty_22 = 57;
pub const _SC_POLL: _bindgen_ty_22 = 58;
pub const _SC_SELECT: _bindgen_ty_22 = 59;
pub const _SC_UIO_MAXIOV: _bindgen_ty_22 = 60;
pub const _SC_IOV_MAX: _bindgen_ty_22 = 60;
pub const _SC_PII_INTERNET_STREAM: _bindgen_ty_22 = 61;
pub const _SC_PII_INTERNET_DGRAM: _bindgen_ty_22 = 62;
pub const _SC_PII_OSI_COTS: _bindgen_ty_22 = 63;
pub const _SC_PII_OSI_CLTS: _bindgen_ty_22 = 64;
pub const _SC_PII_OSI_M: _bindgen_ty_22 = 65;
pub const _SC_T_IOV_MAX: _bindgen_ty_22 = 66;
pub const _SC_THREADS: _bindgen_ty_22 = 67;
pub const _SC_THREAD_SAFE_FUNCTIONS: _bindgen_ty_22 = 68;
pub const _SC_GETGR_R_SIZE_MAX: _bindgen_ty_22 = 69;
pub const _SC_GETPW_R_SIZE_MAX: _bindgen_ty_22 = 70;
pub const _SC_LOGIN_NAME_MAX: _bindgen_ty_22 = 71;
pub const _SC_TTY_NAME_MAX: _bindgen_ty_22 = 72;
pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: _bindgen_ty_22 = 73;
pub const _SC_THREAD_KEYS_MAX: _bindgen_ty_22 = 74;
pub const _SC_THREAD_STACK_MIN: _bindgen_ty_22 = 75;
pub const _SC_THREAD_THREADS_MAX: _bindgen_ty_22 = 76;
pub const _SC_THREAD_ATTR_STACKADDR: _bindgen_ty_22 = 77;
pub const _SC_THREAD_ATTR_STACKSIZE: _bindgen_ty_22 = 78;
pub const _SC_THREAD_PRIORITY_SCHEDULING: _bindgen_ty_22 = 79;
pub const _SC_THREAD_PRIO_INHERIT: _bindgen_ty_22 = 80;
pub const _SC_THREAD_PRIO_PROTECT: _bindgen_ty_22 = 81;
pub const _SC_THREAD_PROCESS_SHARED: _bindgen_ty_22 = 82;
pub const _SC_NPROCESSORS_CONF: _bindgen_ty_22 = 83;
pub const _SC_NPROCESSORS_ONLN: _bindgen_ty_22 = 84;
pub const _SC_PHYS_PAGES: _bindgen_ty_22 = 85;
pub const _SC_AVPHYS_PAGES: _bindgen_ty_22 = 86;
pub const _SC_ATEXIT_MAX: _bindgen_ty_22 = 87;
pub const _SC_PASS_MAX: _bindgen_ty_22 = 88;
pub const _SC_XOPEN_VERSION: _bindgen_ty_22 = 89;
pub const _SC_XOPEN_XCU_VERSION: _bindgen_ty_22 = 90;
pub const _SC_XOPEN_UNIX: _bindgen_ty_22 = 91;
pub const _SC_XOPEN_CRYPT: _bindgen_ty_22 = 92;
pub const _SC_XOPEN_ENH_I18N: _bindgen_ty_22 = 93;
pub const _SC_XOPEN_SHM: _bindgen_ty_22 = 94;
pub const _SC_2_CHAR_TERM: _bindgen_ty_22 = 95;
pub const _SC_2_C_VERSION: _bindgen_ty_22 = 96;
pub const _SC_2_UPE: _bindgen_ty_22 = 97;
pub const _SC_XOPEN_XPG2: _bindgen_ty_22 = 98;
pub const _SC_XOPEN_XPG3: _bindgen_ty_22 = 99;
pub const _SC_XOPEN_XPG4: _bindgen_ty_22 = 100;
pub const _SC_CHAR_BIT: _bindgen_ty_22 = 101;
pub const _SC_CHAR_MAX: _bindgen_ty_22 = 102;
pub const _SC_CHAR_MIN: _bindgen_ty_22 = 103;
pub const _SC_INT_MAX: _bindgen_ty_22 = 104;
pub const _SC_INT_MIN: _bindgen_ty_22 = 105;
pub const _SC_LONG_BIT: _bindgen_ty_22 = 106;
pub const _SC_WORD_BIT: _bindgen_ty_22 = 107;
pub const _SC_MB_LEN_MAX: _bindgen_ty_22 = 108;
pub const _SC_NZERO: _bindgen_ty_22 = 109;
pub const _SC_SSIZE_MAX: _bindgen_ty_22 = 110;
pub const _SC_SCHAR_MAX: _bindgen_ty_22 = 111;
pub const _SC_SCHAR_MIN: _bindgen_ty_22 = 112;
pub const _SC_SHRT_MAX: _bindgen_ty_22 = 113;
pub const _SC_SHRT_MIN: _bindgen_ty_22 = 114;
pub const _SC_UCHAR_MAX: _bindgen_ty_22 = 115;
pub const _SC_UINT_MAX: _bindgen_ty_22 = 116;
pub const _SC_ULONG_MAX: _bindgen_ty_22 = 117;
pub const _SC_USHRT_MAX: _bindgen_ty_22 = 118;
pub const _SC_NL_ARGMAX: _bindgen_ty_22 = 119;
pub const _SC_NL_LANGMAX: _bindgen_ty_22 = 120;
pub const _SC_NL_MSGMAX: _bindgen_ty_22 = 121;
pub const _SC_NL_NMAX: _bindgen_ty_22 = 122;
pub const _SC_NL_SETMAX: _bindgen_ty_22 = 123;
pub const _SC_NL_TEXTMAX: _bindgen_ty_22 = 124;
pub const _SC_XBS5_ILP32_OFF32: _bindgen_ty_22 = 125;
pub const _SC_XBS5_ILP32_OFFBIG: _bindgen_ty_22 = 126;
pub const _SC_XBS5_LP64_OFF64: _bindgen_ty_22 = 127;
pub const _SC_XBS5_LPBIG_OFFBIG: _bindgen_ty_22 = 128;
pub const _SC_XOPEN_LEGACY: _bindgen_ty_22 = 129;
pub const _SC_XOPEN_REALTIME: _bindgen_ty_22 = 130;
pub const _SC_XOPEN_REALTIME_THREADS: _bindgen_ty_22 = 131;
pub const _SC_ADVISORY_INFO: _bindgen_ty_22 = 132;
pub const _SC_BARRIERS: _bindgen_ty_22 = 133;
pub const _SC_BASE: _bindgen_ty_22 = 134;
pub const _SC_C_LANG_SUPPORT: _bindgen_ty_22 = 135;
pub const _SC_C_LANG_SUPPORT_R: _bindgen_ty_22 = 136;
pub const _SC_CLOCK_SELECTION: _bindgen_ty_22 = 137;
pub const _SC_CPUTIME: _bindgen_ty_22 = 138;
pub const _SC_THREAD_CPUTIME: _bindgen_ty_22 = 139;
pub const _SC_DEVICE_IO: _bindgen_ty_22 = 140;
pub const _SC_DEVICE_SPECIFIC: _bindgen_ty_22 = 141;
pub const _SC_DEVICE_SPECIFIC_R: _bindgen_ty_22 = 142;
pub const _SC_FD_MGMT: _bindgen_ty_22 = 143;
pub const _SC_FIFO: _bindgen_ty_22 = 144;
pub const _SC_PIPE: _bindgen_ty_22 = 145;
pub const _SC_FILE_ATTRIBUTES: _bindgen_ty_22 = 146;
pub const _SC_FILE_LOCKING: _bindgen_ty_22 = 147;
pub const _SC_FILE_SYSTEM: _bindgen_ty_22 = 148;
pub const _SC_MONOTONIC_CLOCK: _bindgen_ty_22 = 149;
pub const _SC_MULTI_PROCESS: _bindgen_ty_22 = 150;
pub const _SC_SINGLE_PROCESS: _bindgen_ty_22 = 151;
pub const _SC_NETWORKING: _bindgen_ty_22 = 152;
pub const _SC_READER_WRITER_LOCKS: _bindgen_ty_22 = 153;
pub const _SC_SPIN_LOCKS: _bindgen_ty_22 = 154;
pub const _SC_REGEXP: _bindgen_ty_22 = 155;
pub const _SC_REGEX_VERSION: _bindgen_ty_22 = 156;
pub const _SC_SHELL: _bindgen_ty_22 = 157;
pub const _SC_SIGNALS: _bindgen_ty_22 = 158;
pub const _SC_SPAWN: _bindgen_ty_22 = 159;
pub const _SC_SPORADIC_SERVER: _bindgen_ty_22 = 160;
pub const _SC_THREAD_SPORADIC_SERVER: _bindgen_ty_22 = 161;
pub const _SC_SYSTEM_DATABASE: _bindgen_ty_22 = 162;
pub const _SC_SYSTEM_DATABASE_R: _bindgen_ty_22 = 163;
pub const _SC_TIMEOUTS: _bindgen_ty_22 = 164;
pub const _SC_TYPED_MEMORY_OBJECTS: _bindgen_ty_22 = 165;
pub const _SC_USER_GROUPS: _bindgen_ty_22 = 166;
pub const _SC_USER_GROUPS_R: _bindgen_ty_22 = 167;
pub const _SC_2_PBS: _bindgen_ty_22 = 168;
pub const _SC_2_PBS_ACCOUNTING: _bindgen_ty_22 = 169;
pub const _SC_2_PBS_LOCATE: _bindgen_ty_22 = 170;
pub const _SC_2_PBS_MESSAGE: _bindgen_ty_22 = 171;
pub const _SC_2_PBS_TRACK: _bindgen_ty_22 = 172;
pub const _SC_SYMLOOP_MAX: _bindgen_ty_22 = 173;
pub const _SC_STREAMS: _bindgen_ty_22 = 174;
pub const _SC_2_PBS_CHECKPOINT: _bindgen_ty_22 = 175;
pub const _SC_V6_ILP32_OFF32: _bindgen_ty_22 = 176;
pub const _SC_V6_ILP32_OFFBIG: _bindgen_ty_22 = 177;
pub const _SC_V6_LP64_OFF64: _bindgen_ty_22 = 178;
pub const _SC_V6_LPBIG_OFFBIG: _bindgen_ty_22 = 179;
pub const _SC_HOST_NAME_MAX: _bindgen_ty_22 = 180;
pub const _SC_TRACE: _bindgen_ty_22 = 181;
pub const _SC_TRACE_EVENT_FILTER: _bindgen_ty_22 = 182;
pub const _SC_TRACE_INHERIT: _bindgen_ty_22 = 183;
pub const _SC_TRACE_LOG: _bindgen_ty_22 = 184;
pub const _SC_LEVEL1_ICACHE_SIZE: _bindgen_ty_22 = 185;
pub const _SC_LEVEL1_ICACHE_ASSOC: _bindgen_ty_22 = 186;
pub const _SC_LEVEL1_ICACHE_LINESIZE: _bindgen_ty_22 = 187;
pub const _SC_LEVEL1_DCACHE_SIZE: _bindgen_ty_22 = 188;
pub const _SC_LEVEL1_DCACHE_ASSOC: _bindgen_ty_22 = 189;
pub const _SC_LEVEL1_DCACHE_LINESIZE: _bindgen_ty_22 = 190;
pub const _SC_LEVEL2_CACHE_SIZE: _bindgen_ty_22 = 191;
pub const _SC_LEVEL2_CACHE_ASSOC: _bindgen_ty_22 = 192;
pub const _SC_LEVEL2_CACHE_LINESIZE: _bindgen_ty_22 = 193;
pub const _SC_LEVEL3_CACHE_SIZE: _bindgen_ty_22 = 194;
pub const _SC_LEVEL3_CACHE_ASSOC: _bindgen_ty_22 = 195;
pub const _SC_LEVEL3_CACHE_LINESIZE: _bindgen_ty_22 = 196;
pub const _SC_LEVEL4_CACHE_SIZE: _bindgen_ty_22 = 197;
pub const _SC_LEVEL4_CACHE_ASSOC: _bindgen_ty_22 = 198;
pub const _SC_LEVEL4_CACHE_LINESIZE: _bindgen_ty_22 = 199;
pub const _SC_IPV6: _bindgen_ty_22 = 235;
pub const _SC_RAW_SOCKETS: _bindgen_ty_22 = 236;
pub const _SC_V7_ILP32_OFF32: _bindgen_ty_22 = 237;
pub const _SC_V7_ILP32_OFFBIG: _bindgen_ty_22 = 238;
pub const _SC_V7_LP64_OFF64: _bindgen_ty_22 = 239;
pub const _SC_V7_LPBIG_OFFBIG: _bindgen_ty_22 = 240;
pub const _SC_SS_REPL_MAX: _bindgen_ty_22 = 241;
pub const _SC_TRACE_EVENT_NAME_MAX: _bindgen_ty_22 = 242;
pub const _SC_TRACE_NAME_MAX: _bindgen_ty_22 = 243;
pub const _SC_TRACE_SYS_MAX: _bindgen_ty_22 = 244;
pub const _SC_TRACE_USER_EVENT_MAX: _bindgen_ty_22 = 245;
pub const _SC_XOPEN_STREAMS: _bindgen_ty_22 = 246;
pub const _SC_THREAD_ROBUST_PRIO_INHERIT: _bindgen_ty_22 = 247;
pub const _SC_THREAD_ROBUST_PRIO_PROTECT: _bindgen_ty_22 = 248;
pub const _SC_MINSIGSTKSZ: _bindgen_ty_22 = 249;
pub const _SC_SIGSTKSZ: _bindgen_ty_22 = 250;
pub type _bindgen_ty_22 = ::std::os::raw::c_uint;
pub const _CS_PATH: _bindgen_ty_23 = 0;
pub const _CS_V6_WIDTH_RESTRICTED_ENVS: _bindgen_ty_23 = 1;
pub const _CS_GNU_LIBC_VERSION: _bindgen_ty_23 = 2;
pub const _CS_GNU_LIBPTHREAD_VERSION: _bindgen_ty_23 = 3;
pub const _CS_V5_WIDTH_RESTRICTED_ENVS: _bindgen_ty_23 = 4;
pub const _CS_V7_WIDTH_RESTRICTED_ENVS: _bindgen_ty_23 = 5;
pub const _CS_LFS_CFLAGS: _bindgen_ty_23 = 1000;
pub const _CS_LFS_LDFLAGS: _bindgen_ty_23 = 1001;
pub const _CS_LFS_LIBS: _bindgen_ty_23 = 1002;
pub const _CS_LFS_LINTFLAGS: _bindgen_ty_23 = 1003;
pub const _CS_LFS64_CFLAGS: _bindgen_ty_23 = 1004;
pub const _CS_LFS64_LDFLAGS: _bindgen_ty_23 = 1005;
pub const _CS_LFS64_LIBS: _bindgen_ty_23 = 1006;
pub const _CS_LFS64_LINTFLAGS: _bindgen_ty_23 = 1007;
pub const _CS_XBS5_ILP32_OFF32_CFLAGS: _bindgen_ty_23 = 1100;
pub const _CS_XBS5_ILP32_OFF32_LDFLAGS: _bindgen_ty_23 = 1101;
pub const _CS_XBS5_ILP32_OFF32_LIBS: _bindgen_ty_23 = 1102;
pub const _CS_XBS5_ILP32_OFF32_LINTFLAGS: _bindgen_ty_23 = 1103;
pub const _CS_XBS5_ILP32_OFFBIG_CFLAGS: _bindgen_ty_23 = 1104;
pub const _CS_XBS5_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_23 = 1105;
pub const _CS_XBS5_ILP32_OFFBIG_LIBS: _bindgen_ty_23 = 1106;
pub const _CS_XBS5_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_23 = 1107;
pub const _CS_XBS5_LP64_OFF64_CFLAGS: _bindgen_ty_23 = 1108;
pub const _CS_XBS5_LP64_OFF64_LDFLAGS: _bindgen_ty_23 = 1109;
pub const _CS_XBS5_LP64_OFF64_LIBS: _bindgen_ty_23 = 1110;
pub const _CS_XBS5_LP64_OFF64_LINTFLAGS: _bindgen_ty_23 = 1111;
pub const _CS_XBS5_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_23 = 1112;
pub const _CS_XBS5_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_23 = 1113;
pub const _CS_XBS5_LPBIG_OFFBIG_LIBS: _bindgen_ty_23 = 1114;
pub const _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_23 = 1115;
pub const _CS_POSIX_V6_ILP32_OFF32_CFLAGS: _bindgen_ty_23 = 1116;
pub const _CS_POSIX_V6_ILP32_OFF32_LDFLAGS: _bindgen_ty_23 = 1117;
pub const _CS_POSIX_V6_ILP32_OFF32_LIBS: _bindgen_ty_23 = 1118;
pub const _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS: _bindgen_ty_23 = 1119;
pub const _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS: _bindgen_ty_23 = 1120;
pub const _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_23 = 1121;
pub const _CS_POSIX_V6_ILP32_OFFBIG_LIBS: _bindgen_ty_23 = 1122;
pub const _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_23 = 1123;
pub const _CS_POSIX_V6_LP64_OFF64_CFLAGS: _bindgen_ty_23 = 1124;
pub const _CS_POSIX_V6_LP64_OFF64_LDFLAGS: _bindgen_ty_23 = 1125;
pub const _CS_POSIX_V6_LP64_OFF64_LIBS: _bindgen_ty_23 = 1126;
pub const _CS_POSIX_V6_LP64_OFF64_LINTFLAGS: _bindgen_ty_23 = 1127;
pub const _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_23 = 1128;
pub const _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_23 = 1129;
pub const _CS_POSIX_V6_LPBIG_OFFBIG_LIBS: _bindgen_ty_23 = 1130;
pub const _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_23 = 1131;
pub const _CS_POSIX_V7_ILP32_OFF32_CFLAGS: _bindgen_ty_23 = 1132;
pub const _CS_POSIX_V7_ILP32_OFF32_LDFLAGS: _bindgen_ty_23 = 1133;
pub const _CS_POSIX_V7_ILP32_OFF32_LIBS: _bindgen_ty_23 = 1134;
pub const _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS: _bindgen_ty_23 = 1135;
pub const _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS: _bindgen_ty_23 = 1136;
pub const _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_23 = 1137;
pub const _CS_POSIX_V7_ILP32_OFFBIG_LIBS: _bindgen_ty_23 = 1138;
pub const _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_23 = 1139;
pub const _CS_POSIX_V7_LP64_OFF64_CFLAGS: _bindgen_ty_23 = 1140;
pub const _CS_POSIX_V7_LP64_OFF64_LDFLAGS: _bindgen_ty_23 = 1141;
pub const _CS_POSIX_V7_LP64_OFF64_LIBS: _bindgen_ty_23 = 1142;
pub const _CS_POSIX_V7_LP64_OFF64_LINTFLAGS: _bindgen_ty_23 = 1143;
pub const _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_23 = 1144;
pub const _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_23 = 1145;
pub const _CS_POSIX_V7_LPBIG_OFFBIG_LIBS: _bindgen_ty_23 = 1146;
pub const _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_23 = 1147;
pub const _CS_V6_ENV: _bindgen_ty_23 = 1148;
pub const _CS_V7_ENV: _bindgen_ty_23 = 1149;
pub type _bindgen_ty_23 = ::std::os::raw::c_uint;
extern "C" {
pub fn pathconf(
__path: *const ::std::os::raw::c_char,
__name: ::std::os::raw::c_int,
) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn fpathconf(
__fd: ::std::os::raw::c_int,
__name: ::std::os::raw::c_int,
) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn sysconf(__name: ::std::os::raw::c_int) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn confstr(
__name: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__len: usize,
) -> usize;
}
extern "C" {
pub fn getpid() -> __pid_t;
}
extern "C" {
pub fn getppid() -> __pid_t;
}
extern "C" {
pub fn getpgrp() -> __pid_t;
}
extern "C" {
pub fn __getpgid(__pid: __pid_t) -> __pid_t;
}
extern "C" {
pub fn getpgid(__pid: __pid_t) -> __pid_t;
}
extern "C" {
pub fn setpgid(__pid: __pid_t, __pgid: __pid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setpgrp() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setsid() -> __pid_t;
}
extern "C" {
pub fn getsid(__pid: __pid_t) -> __pid_t;
}
extern "C" {
pub fn getuid() -> __uid_t;
}
extern "C" {
pub fn geteuid() -> __uid_t;
}
extern "C" {
pub fn getgid() -> __gid_t;
}
extern "C" {
pub fn getegid() -> __gid_t;
}
extern "C" {
pub fn getgroups(__size: ::std::os::raw::c_int, __list: *mut __gid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setuid(__uid: __uid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setreuid(__ruid: __uid_t, __euid: __uid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn seteuid(__uid: __uid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setgid(__gid: __gid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setregid(__rgid: __gid_t, __egid: __gid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setegid(__gid: __gid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fork() -> __pid_t;
}
extern "C" {
pub fn vfork() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ttyname(__fd: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ttyname_r(
__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isatty(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ttyslot() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn link(
__from: *const ::std::os::raw::c_char,
__to: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn linkat(
__fromfd: ::std::os::raw::c_int,
__from: *const ::std::os::raw::c_char,
__tofd: ::std::os::raw::c_int,
__to: *const ::std::os::raw::c_char,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn symlink(
__from: *const ::std::os::raw::c_char,
__to: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn readlink(
__path: *const ::std::os::raw::c_char,
__buf: *mut ::std::os::raw::c_char,
__len: usize,
) -> isize;
}
extern "C" {
pub fn symlinkat(
__from: *const ::std::os::raw::c_char,
__tofd: ::std::os::raw::c_int,
__to: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn readlinkat(
__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__buf: *mut ::std::os::raw::c_char,
__len: usize,
) -> isize;
}
extern "C" {
pub fn unlink(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn unlinkat(
__fd: ::std::os::raw::c_int,
__name: *const ::std::os::raw::c_char,
__flag: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rmdir(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn tcgetpgrp(__fd: ::std::os::raw::c_int) -> __pid_t;
}
extern "C" {
pub fn tcsetpgrp(__fd: ::std::os::raw::c_int, __pgrp_id: __pid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getlogin() -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn getlogin_r(
__name: *mut ::std::os::raw::c_char,
__name_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setlogin(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub static mut optarg: *mut ::std::os::raw::c_char;
}
extern "C" {
pub static mut optind: ::std::os::raw::c_int;
}
extern "C" {
pub static mut opterr: ::std::os::raw::c_int;
}
extern "C" {
pub static mut optopt: ::std::os::raw::c_int;
}
extern "C" {
pub fn getopt(
___argc: ::std::os::raw::c_int,
___argv: *const *mut ::std::os::raw::c_char,
__shortopts: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn gethostname(__name: *mut ::std::os::raw::c_char, __len: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sethostname(
__name: *const ::std::os::raw::c_char,
__len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sethostid(__id: ::std::os::raw::c_long) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getdomainname(
__name: *mut ::std::os::raw::c_char,
__len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setdomainname(
__name: *const ::std::os::raw::c_char,
__len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vhangup() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn revoke(__file: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn profil(
__sample_buffer: *mut ::std::os::raw::c_ushort,
__size: usize,
__offset: usize,
__scale: ::std::os::raw::c_uint,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn acct(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getusershell() -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn endusershell();
}
extern "C" {
pub fn setusershell();
}
extern "C" {
pub fn daemon(
__nochdir: ::std::os::raw::c_int,
__noclose: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn chroot(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpass(__prompt: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn fsync(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn gethostid() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn sync();
}
extern "C" {
pub fn getpagesize() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getdtablesize() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn truncate(
__file: *const ::std::os::raw::c_char,
__length: __off_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ftruncate(__fd: ::std::os::raw::c_int, __length: __off_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn brk(__addr: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sbrk(__delta: isize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn lockf(
__fd: ::std::os::raw::c_int,
__cmd: ::std::os::raw::c_int,
__len: __off_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fdatasync(__fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn crypt(
__key: *const ::std::os::raw::c_char,
__salt: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn getentropy(
__buffer: *mut ::std::os::raw::c_void,
__length: usize,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GCredentialsClass {
_unused: [u8; 0],
}
pub type GCredentialsClass = _GCredentialsClass;
extern "C" {
pub fn _frida_g_credentials_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_credentials_new() -> *mut GCredentials;
}
extern "C" {
pub fn _frida_g_credentials_to_string(credentials: *mut GCredentials) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_credentials_get_native(
credentials: *mut GCredentials,
native_type: GCredentialsType,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_credentials_set_native(
credentials: *mut GCredentials,
native_type: GCredentialsType,
native: gpointer,
);
}
extern "C" {
pub fn _frida_g_credentials_is_same_user(
credentials: *mut GCredentials,
other_credentials: *mut GCredentials,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_credentials_get_unix_pid(
credentials: *mut GCredentials,
error: *mut *mut GError,
) -> pid_t;
}
extern "C" {
pub fn _frida_g_credentials_get_unix_user(
credentials: *mut GCredentials,
error: *mut *mut GError,
) -> uid_t;
}
extern "C" {
pub fn _frida_g_credentials_set_unix_user(
credentials: *mut GCredentials,
uid: uid_t,
error: *mut *mut GError,
) -> gboolean;
}
pub type GDatagramBasedInterface = _GDatagramBasedInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDatagramBasedInterface {
pub g_iface: GTypeInterface,
pub receive_messages: ::std::option::Option<
unsafe extern "C" fn(
datagram_based: *mut GDatagramBased,
messages: *mut GInputMessage,
num_messages: guint,
flags: gint,
timeout: gint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint,
>,
pub send_messages: ::std::option::Option<
unsafe extern "C" fn(
datagram_based: *mut GDatagramBased,
messages: *mut GOutputMessage,
num_messages: guint,
flags: gint,
timeout: gint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint,
>,
pub create_source: ::std::option::Option<
unsafe extern "C" fn(
datagram_based: *mut GDatagramBased,
condition: GIOCondition,
cancellable: *mut GCancellable,
) -> *mut GSource,
>,
pub condition_check: ::std::option::Option<
unsafe extern "C" fn(
datagram_based: *mut GDatagramBased,
condition: GIOCondition,
) -> GIOCondition,
>,
pub condition_wait: ::std::option::Option<
unsafe extern "C" fn(
datagram_based: *mut GDatagramBased,
condition: GIOCondition,
timeout: gint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_datagram_based_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_datagram_based_receive_messages(
datagram_based: *mut GDatagramBased,
messages: *mut GInputMessage,
num_messages: guint,
flags: gint,
timeout: gint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_datagram_based_send_messages(
datagram_based: *mut GDatagramBased,
messages: *mut GOutputMessage,
num_messages: guint,
flags: gint,
timeout: gint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_datagram_based_create_source(
datagram_based: *mut GDatagramBased,
condition: GIOCondition,
cancellable: *mut GCancellable,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_datagram_based_condition_check(
datagram_based: *mut GDatagramBased,
condition: GIOCondition,
) -> GIOCondition;
}
extern "C" {
pub fn _frida_g_datagram_based_condition_wait(
datagram_based: *mut GDatagramBased,
condition: GIOCondition,
timeout: gint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
pub type GDataInputStreamClass = _GDataInputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDataInputStreamPrivate {
_unused: [u8; 0],
}
pub type GDataInputStreamPrivate = _GDataInputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDataInputStream {
pub parent_instance: GBufferedInputStream,
pub priv_: *mut GDataInputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDataInputStreamClass {
pub parent_class: GBufferedInputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_data_input_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_data_input_stream_new(base_stream: *mut GInputStream) -> *mut GDataInputStream;
}
extern "C" {
pub fn _frida_g_data_input_stream_set_byte_order(
stream: *mut GDataInputStream,
order: GDataStreamByteOrder,
);
}
extern "C" {
pub fn _frida_g_data_input_stream_get_byte_order(
stream: *mut GDataInputStream,
) -> GDataStreamByteOrder;
}
extern "C" {
pub fn _frida_g_data_input_stream_set_newline_type(
stream: *mut GDataInputStream,
type_: GDataStreamNewlineType,
);
}
extern "C" {
pub fn _frida_g_data_input_stream_get_newline_type(
stream: *mut GDataInputStream,
) -> GDataStreamNewlineType;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_byte(
stream: *mut GDataInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guchar;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_int16(
stream: *mut GDataInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint16;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_uint16(
stream: *mut GDataInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint16;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_int32(
stream: *mut GDataInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint32;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_uint32(
stream: *mut GDataInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint32;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_int64(
stream: *mut GDataInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint64;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_uint64(
stream: *mut GDataInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint64;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_line(
stream: *mut GDataInputStream,
length: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_line_utf8(
stream: *mut GDataInputStream,
length: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_line_async(
stream: *mut GDataInputStream,
io_priority: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_data_input_stream_read_line_finish(
stream: *mut GDataInputStream,
result: *mut GAsyncResult,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_line_finish_utf8(
stream: *mut GDataInputStream,
result: *mut GAsyncResult,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_until(
stream: *mut GDataInputStream,
stop_chars: *const gchar,
length: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_until_async(
stream: *mut GDataInputStream,
stop_chars: *const gchar,
io_priority: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_data_input_stream_read_until_finish(
stream: *mut GDataInputStream,
result: *mut GAsyncResult,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_upto(
stream: *mut GDataInputStream,
stop_chars: *const gchar,
stop_chars_len: gssize,
length: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_data_input_stream_read_upto_async(
stream: *mut GDataInputStream,
stop_chars: *const gchar,
stop_chars_len: gssize,
io_priority: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_data_input_stream_read_upto_finish(
stream: *mut GDataInputStream,
result: *mut GAsyncResult,
length: *mut gsize,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
pub type GDataOutputStream = _GDataOutputStream;
pub type GDataOutputStreamClass = _GDataOutputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDataOutputStreamPrivate {
_unused: [u8; 0],
}
pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDataOutputStream {
pub parent_instance: GFilterOutputStream,
pub priv_: *mut GDataOutputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDataOutputStreamClass {
pub parent_class: GFilterOutputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_data_output_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_data_output_stream_new(
base_stream: *mut GOutputStream,
) -> *mut GDataOutputStream;
}
extern "C" {
pub fn _frida_g_data_output_stream_set_byte_order(
stream: *mut GDataOutputStream,
order: GDataStreamByteOrder,
);
}
extern "C" {
pub fn _frida_g_data_output_stream_get_byte_order(
stream: *mut GDataOutputStream,
) -> GDataStreamByteOrder;
}
extern "C" {
pub fn _frida_g_data_output_stream_put_byte(
stream: *mut GDataOutputStream,
data: guchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_data_output_stream_put_int16(
stream: *mut GDataOutputStream,
data: gint16,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_data_output_stream_put_uint16(
stream: *mut GDataOutputStream,
data: guint16,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_data_output_stream_put_int32(
stream: *mut GDataOutputStream,
data: gint32,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_data_output_stream_put_uint32(
stream: *mut GDataOutputStream,
data: guint32,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_data_output_stream_put_int64(
stream: *mut GDataOutputStream,
data: gint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_data_output_stream_put_uint64(
stream: *mut GDataOutputStream,
data: guint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_data_output_stream_put_string(
stream: *mut GDataOutputStream,
str_: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_action_group_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_action_group_get(
connection: *mut GDBusConnection,
bus_name: *const gchar,
object_path: *const gchar,
) -> *mut GDBusActionGroup;
}
extern "C" {
pub fn _frida_g_dbus_address_escape_value(string: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_is_address(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_is_supported_address(
string: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_address_get_stream(
address: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_address_get_stream_finish(
res: *mut GAsyncResult,
out_guid: *mut *mut gchar,
error: *mut *mut GError,
) -> *mut GIOStream;
}
extern "C" {
pub fn _frida_g_dbus_address_get_stream_sync(
address: *const gchar,
out_guid: *mut *mut gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GIOStream;
}
extern "C" {
pub fn _frida_g_dbus_address_get_for_bus_sync(
bus_type: GBusType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_auth_observer_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_auth_observer_new() -> *mut GDBusAuthObserver;
}
extern "C" {
pub fn _frida_g_dbus_auth_observer_authorize_authenticated_peer(
observer: *mut GDBusAuthObserver,
stream: *mut GIOStream,
credentials: *mut GCredentials,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_auth_observer_allow_mechanism(
observer: *mut GDBusAuthObserver,
mechanism: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_bus_get(
bus_type: GBusType,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_bus_get_finish(
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_bus_get_sync(
bus_type: GBusType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_connection_new(
stream: *mut GIOStream,
guid: *const gchar,
flags: GDBusConnectionFlags,
observer: *mut GDBusAuthObserver,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_connection_new_finish(
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_connection_new_sync(
stream: *mut GIOStream,
guid: *const gchar,
flags: GDBusConnectionFlags,
observer: *mut GDBusAuthObserver,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_connection_new_for_address(
address: *const gchar,
flags: GDBusConnectionFlags,
observer: *mut GDBusAuthObserver,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_connection_new_for_address_finish(
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_connection_new_for_address_sync(
address: *const gchar,
flags: GDBusConnectionFlags,
observer: *mut GDBusAuthObserver,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_connection_start_message_processing(connection: *mut GDBusConnection);
}
extern "C" {
pub fn _frida_g_dbus_connection_is_closed(connection: *mut GDBusConnection) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_get_stream(connection: *mut GDBusConnection) -> *mut GIOStream;
}
extern "C" {
pub fn _frida_g_dbus_connection_get_guid(connection: *mut GDBusConnection) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_connection_get_unique_name(
connection: *mut GDBusConnection,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_connection_get_peer_credentials(
connection: *mut GDBusConnection,
) -> *mut GCredentials;
}
extern "C" {
pub fn _frida_g_dbus_connection_get_last_serial(connection: *mut GDBusConnection) -> guint32;
}
extern "C" {
pub fn _frida_g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection)
-> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_set_exit_on_close(
connection: *mut GDBusConnection,
exit_on_close: gboolean,
);
}
extern "C" {
pub fn _frida_g_dbus_connection_get_capabilities(
connection: *mut GDBusConnection,
) -> GDBusCapabilityFlags;
}
extern "C" {
pub fn _frida_g_dbus_connection_get_flags(
connection: *mut GDBusConnection,
) -> GDBusConnectionFlags;
}
extern "C" {
pub fn _frida_g_dbus_connection_close(
connection: *mut GDBusConnection,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_connection_close_finish(
connection: *mut GDBusConnection,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_close_sync(
connection: *mut GDBusConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_flush(
connection: *mut GDBusConnection,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_connection_flush_finish(
connection: *mut GDBusConnection,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_flush_sync(
connection: *mut GDBusConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_send_message(
connection: *mut GDBusConnection,
message: *mut GDBusMessage,
flags: GDBusSendMessageFlags,
out_serial: *mut guint32,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_send_message_with_reply(
connection: *mut GDBusConnection,
message: *mut GDBusMessage,
flags: GDBusSendMessageFlags,
timeout_msec: gint,
out_serial: *mut guint32,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_connection_send_message_with_reply_finish(
connection: *mut GDBusConnection,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_connection_send_message_with_reply_sync(
connection: *mut GDBusConnection,
message: *mut GDBusMessage,
flags: GDBusSendMessageFlags,
timeout_msec: gint,
out_serial: *mut guint32,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_connection_emit_signal(
connection: *mut GDBusConnection,
destination_bus_name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
signal_name: *const gchar,
parameters: *mut GVariant,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_connection_call(
connection: *mut GDBusConnection,
bus_name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
method_name: *const gchar,
parameters: *mut GVariant,
reply_type: *const GVariantType,
flags: GDBusCallFlags,
timeout_msec: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_connection_call_finish(
connection: *mut GDBusConnection,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_connection_call_sync(
connection: *mut GDBusConnection,
bus_name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
method_name: *const gchar,
parameters: *mut GVariant,
reply_type: *const GVariantType,
flags: GDBusCallFlags,
timeout_msec: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_connection_call_with_unix_fd_list(
connection: *mut GDBusConnection,
bus_name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
method_name: *const gchar,
parameters: *mut GVariant,
reply_type: *const GVariantType,
flags: GDBusCallFlags,
timeout_msec: gint,
fd_list: *mut GUnixFDList,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_connection_call_with_unix_fd_list_finish(
connection: *mut GDBusConnection,
out_fd_list: *mut *mut GUnixFDList,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_connection_call_with_unix_fd_list_sync(
connection: *mut GDBusConnection,
bus_name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
method_name: *const gchar,
parameters: *mut GVariant,
reply_type: *const GVariantType,
flags: GDBusCallFlags,
timeout_msec: gint,
fd_list: *mut GUnixFDList,
out_fd_list: *mut *mut GUnixFDList,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GVariant;
}
pub type GDBusInterfaceMethodCallFunc = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
sender: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
method_name: *const gchar,
parameters: *mut GVariant,
invocation: *mut GDBusMethodInvocation,
user_data: gpointer,
),
>;
pub type GDBusInterfaceGetPropertyFunc = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
sender: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
property_name: *const gchar,
error: *mut *mut GError,
user_data: gpointer,
) -> *mut GVariant,
>;
pub type GDBusInterfaceSetPropertyFunc = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
sender: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
property_name: *const gchar,
value: *mut GVariant,
error: *mut *mut GError,
user_data: gpointer,
) -> gboolean,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusInterfaceVTable {
pub method_call: GDBusInterfaceMethodCallFunc,
pub get_property: GDBusInterfaceGetPropertyFunc,
pub set_property: GDBusInterfaceSetPropertyFunc,
pub padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_dbus_connection_register_object(
connection: *mut GDBusConnection,
object_path: *const gchar,
interface_info: *mut GDBusInterfaceInfo,
vtable: *const GDBusInterfaceVTable,
user_data: gpointer,
user_data_free_func: GDestroyNotify,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn _frida_g_dbus_connection_register_object_with_closures(
connection: *mut GDBusConnection,
object_path: *const gchar,
interface_info: *mut GDBusInterfaceInfo,
method_call_closure: *mut GClosure,
get_property_closure: *mut GClosure,
set_property_closure: *mut GClosure,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn _frida_g_dbus_connection_unregister_object(
connection: *mut GDBusConnection,
registration_id: guint,
) -> gboolean;
}
pub type GDBusSubtreeEnumerateFunc = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
sender: *const gchar,
object_path: *const gchar,
user_data: gpointer,
) -> *mut *mut gchar,
>;
pub type GDBusSubtreeIntrospectFunc = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
sender: *const gchar,
object_path: *const gchar,
node: *const gchar,
user_data: gpointer,
) -> *mut *mut GDBusInterfaceInfo,
>;
pub type GDBusSubtreeDispatchFunc = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
sender: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
node: *const gchar,
out_user_data: *mut gpointer,
user_data: gpointer,
) -> *const GDBusInterfaceVTable,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusSubtreeVTable {
pub enumerate: GDBusSubtreeEnumerateFunc,
pub introspect: GDBusSubtreeIntrospectFunc,
pub dispatch: GDBusSubtreeDispatchFunc,
pub padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_dbus_connection_register_subtree(
connection: *mut GDBusConnection,
object_path: *const gchar,
vtable: *const GDBusSubtreeVTable,
flags: GDBusSubtreeFlags,
user_data: gpointer,
user_data_free_func: GDestroyNotify,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn _frida_g_dbus_connection_unregister_subtree(
connection: *mut GDBusConnection,
registration_id: guint,
) -> gboolean;
}
pub type GDBusSignalCallback = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
sender_name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
signal_name: *const gchar,
parameters: *mut GVariant,
user_data: gpointer,
),
>;
extern "C" {
pub fn _frida_g_dbus_connection_signal_subscribe(
connection: *mut GDBusConnection,
sender: *const gchar,
interface_name: *const gchar,
member: *const gchar,
object_path: *const gchar,
arg0: *const gchar,
flags: GDBusSignalFlags,
callback: GDBusSignalCallback,
user_data: gpointer,
user_data_free_func: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_dbus_connection_signal_unsubscribe(
connection: *mut GDBusConnection,
subscription_id: guint,
);
}
pub type GDBusMessageFilterFunction = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
message: *mut GDBusMessage,
incoming: gboolean,
user_data: gpointer,
) -> *mut GDBusMessage,
>;
extern "C" {
pub fn _frida_g_dbus_connection_add_filter(
connection: *mut GDBusConnection,
filter_function: GDBusMessageFilterFunction,
user_data: gpointer,
user_data_free_func: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_dbus_connection_remove_filter(
connection: *mut GDBusConnection,
filter_id: guint,
);
}
extern "C" {
pub fn _frida_g_dbus_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_dbus_error_is_remote_error(error: *const GError) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_error_get_remote_error(error: *const GError) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_error_strip_remote_error(error: *mut GError) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusErrorEntry {
pub error_code: gint,
pub dbus_error_name: *const gchar,
}
extern "C" {
pub fn _frida_g_dbus_error_register_error(
error_domain: GQuark,
error_code: gint,
dbus_error_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_error_unregister_error(
error_domain: GQuark,
error_code: gint,
dbus_error_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_error_register_error_domain(
error_domain_quark_name: *const gchar,
quark_volatile: *mut gsize,
entries: *const GDBusErrorEntry,
num_entries: guint,
);
}
extern "C" {
pub fn _frida_g_dbus_error_new_for_dbus_error(
dbus_error_name: *const gchar,
dbus_error_message: *const gchar,
) -> *mut GError;
}
extern "C" {
pub fn _frida_g_dbus_error_set_dbus_error(
error: *mut *mut GError,
dbus_error_name: *const gchar,
dbus_error_message: *const gchar,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_dbus_error_set_dbus_error_valist(
error: *mut *mut GError,
dbus_error_name: *const gchar,
dbus_error_message: *const gchar,
format: *const gchar,
var_args: va_list,
);
}
extern "C" {
pub fn _frida_g_dbus_error_encode_gerror(error: *const GError) -> *mut gchar;
}
pub type GDBusInterfaceIface = _GDBusInterfaceIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusInterfaceIface {
pub parent_iface: GTypeInterface,
pub get_info: ::std::option::Option<
unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusInterfaceInfo,
>,
pub get_object: ::std::option::Option<
unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusObject,
>,
pub set_object: ::std::option::Option<
unsafe extern "C" fn(interface_: *mut GDBusInterface, object: *mut GDBusObject),
>,
pub dup_object: ::std::option::Option<
unsafe extern "C" fn(interface_: *mut GDBusInterface) -> *mut GDBusObject,
>,
}
extern "C" {
pub fn _frida_g_dbus_interface_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_interface_get_info(
interface_: *mut GDBusInterface,
) -> *mut GDBusInterfaceInfo;
}
extern "C" {
pub fn _frida_g_dbus_interface_get_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
}
extern "C" {
pub fn _frida_g_dbus_interface_set_object(
interface_: *mut GDBusInterface,
object: *mut GDBusObject,
);
}
extern "C" {
pub fn _frida_g_dbus_interface_dup_object(interface_: *mut GDBusInterface) -> *mut GDBusObject;
}
pub type GDBusInterfaceSkeletonClass = _GDBusInterfaceSkeletonClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusInterfaceSkeletonPrivate {
_unused: [u8; 0],
}
pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusInterfaceSkeleton {
pub parent_instance: GObject,
pub priv_: *mut GDBusInterfaceSkeletonPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusInterfaceSkeletonClass {
pub parent_class: GObjectClass,
pub get_info: ::std::option::Option<
unsafe extern "C" fn(interface_: *mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo,
>,
pub get_vtable: ::std::option::Option<
unsafe extern "C" fn(interface_: *mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable,
>,
pub get_properties: ::std::option::Option<
unsafe extern "C" fn(interface_: *mut GDBusInterfaceSkeleton) -> *mut GVariant,
>,
pub flush: ::std::option::Option<unsafe extern "C" fn(interface_: *mut GDBusInterfaceSkeleton)>,
pub vfunc_padding: [gpointer; 8usize],
pub g_authorize_method: ::std::option::Option<
unsafe extern "C" fn(
interface_: *mut GDBusInterfaceSkeleton,
invocation: *mut GDBusMethodInvocation,
) -> gboolean,
>,
pub signal_padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_get_flags(
interface_: *mut GDBusInterfaceSkeleton,
) -> GDBusInterfaceSkeletonFlags;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_set_flags(
interface_: *mut GDBusInterfaceSkeleton,
flags: GDBusInterfaceSkeletonFlags,
);
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_get_info(
interface_: *mut GDBusInterfaceSkeleton,
) -> *mut GDBusInterfaceInfo;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_get_vtable(
interface_: *mut GDBusInterfaceSkeleton,
) -> *mut GDBusInterfaceVTable;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_get_properties(
interface_: *mut GDBusInterfaceSkeleton,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_flush(interface_: *mut GDBusInterfaceSkeleton);
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_export(
interface_: *mut GDBusInterfaceSkeleton,
connection: *mut GDBusConnection,
object_path: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_unexport(interface_: *mut GDBusInterfaceSkeleton);
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_unexport_from_connection(
interface_: *mut GDBusInterfaceSkeleton,
connection: *mut GDBusConnection,
);
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_get_connection(
interface_: *mut GDBusInterfaceSkeleton,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_get_connections(
interface_: *mut GDBusInterfaceSkeleton,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_has_connection(
interface_: *mut GDBusInterfaceSkeleton,
connection: *mut GDBusConnection,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_get_object_path(
interface_: *mut GDBusInterfaceSkeleton,
) -> *const gchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusAnnotationInfo {
pub ref_count: gint,
pub key: *mut gchar,
pub value: *mut gchar,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusArgInfo {
pub ref_count: gint,
pub name: *mut gchar,
pub signature: *mut gchar,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusMethodInfo {
pub ref_count: gint,
pub name: *mut gchar,
pub in_args: *mut *mut GDBusArgInfo,
pub out_args: *mut *mut GDBusArgInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusSignalInfo {
pub ref_count: gint,
pub name: *mut gchar,
pub args: *mut *mut GDBusArgInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusPropertyInfo {
pub ref_count: gint,
pub name: *mut gchar,
pub signature: *mut gchar,
pub flags: GDBusPropertyInfoFlags,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusInterfaceInfo {
pub ref_count: gint,
pub name: *mut gchar,
pub methods: *mut *mut GDBusMethodInfo,
pub signals: *mut *mut GDBusSignalInfo,
pub properties: *mut *mut GDBusPropertyInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusNodeInfo {
pub ref_count: gint,
pub path: *mut gchar,
pub interfaces: *mut *mut GDBusInterfaceInfo,
pub nodes: *mut *mut GDBusNodeInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
extern "C" {
pub fn _frida_g_dbus_annotation_info_lookup(
annotations: *mut *mut GDBusAnnotationInfo,
name: *const gchar,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_interface_info_lookup_method(
info: *mut GDBusInterfaceInfo,
name: *const gchar,
) -> *mut GDBusMethodInfo;
}
extern "C" {
pub fn _frida_g_dbus_interface_info_lookup_signal(
info: *mut GDBusInterfaceInfo,
name: *const gchar,
) -> *mut GDBusSignalInfo;
}
extern "C" {
pub fn _frida_g_dbus_interface_info_lookup_property(
info: *mut GDBusInterfaceInfo,
name: *const gchar,
) -> *mut GDBusPropertyInfo;
}
extern "C" {
pub fn _frida_g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo);
}
extern "C" {
pub fn _frida_g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo);
}
extern "C" {
pub fn _frida_g_dbus_interface_info_generate_xml(
info: *mut GDBusInterfaceInfo,
indent: guint,
string_builder: *mut GString,
);
}
extern "C" {
pub fn _frida_g_dbus_node_info_new_for_xml(
xml_data: *const gchar,
error: *mut *mut GError,
) -> *mut GDBusNodeInfo;
}
extern "C" {
pub fn _frida_g_dbus_node_info_lookup_interface(
info: *mut GDBusNodeInfo,
name: *const gchar,
) -> *mut GDBusInterfaceInfo;
}
extern "C" {
pub fn _frida_g_dbus_node_info_generate_xml(
info: *mut GDBusNodeInfo,
indent: guint,
string_builder: *mut GString,
);
}
extern "C" {
pub fn _frida_g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo;
}
extern "C" {
pub fn _frida_g_dbus_interface_info_ref(
info: *mut GDBusInterfaceInfo,
) -> *mut GDBusInterfaceInfo;
}
extern "C" {
pub fn _frida_g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo;
}
extern "C" {
pub fn _frida_g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo;
}
extern "C" {
pub fn _frida_g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo;
}
extern "C" {
pub fn _frida_g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo;
}
extern "C" {
pub fn _frida_g_dbus_annotation_info_ref(
info: *mut GDBusAnnotationInfo,
) -> *mut GDBusAnnotationInfo;
}
extern "C" {
pub fn _frida_g_dbus_node_info_unref(info: *mut GDBusNodeInfo);
}
extern "C" {
pub fn _frida_g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo);
}
extern "C" {
pub fn _frida_g_dbus_method_info_unref(info: *mut GDBusMethodInfo);
}
extern "C" {
pub fn _frida_g_dbus_signal_info_unref(info: *mut GDBusSignalInfo);
}
extern "C" {
pub fn _frida_g_dbus_property_info_unref(info: *mut GDBusPropertyInfo);
}
extern "C" {
pub fn _frida_g_dbus_arg_info_unref(info: *mut GDBusArgInfo);
}
extern "C" {
pub fn _frida_g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo);
}
extern "C" {
pub fn _frida_g_dbus_node_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_interface_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_method_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_signal_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_property_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_arg_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_annotation_info_get_type() -> GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusMenuModel {
_unused: [u8; 0],
}
pub type GDBusMenuModel = _GDBusMenuModel;
extern "C" {
pub fn _frida_g_dbus_menu_model_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_menu_model_get(
connection: *mut GDBusConnection,
bus_name: *const gchar,
object_path: *const gchar,
) -> *mut GDBusMenuModel;
}
extern "C" {
pub fn _frida_g_dbus_message_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_message_new() -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_new_signal(
path: *const gchar,
interface_: *const gchar,
signal: *const gchar,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_new_method_call(
name: *const gchar,
path: *const gchar,
interface_: *const gchar,
method: *const gchar,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_new_method_reply(
method_call_message: *mut GDBusMessage,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_new_method_error(
method_call_message: *mut GDBusMessage,
error_name: *const gchar,
error_message_format: *const gchar,
...
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_new_method_error_valist(
method_call_message: *mut GDBusMessage,
error_name: *const gchar,
error_message_format: *const gchar,
var_args: va_list,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_new_method_error_literal(
method_call_message: *mut GDBusMessage,
error_name: *const gchar,
error_message: *const gchar,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_print(message: *mut GDBusMessage, indent: guint) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_get_locked(message: *mut GDBusMessage) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_message_lock(message: *mut GDBusMessage);
}
extern "C" {
pub fn _frida_g_dbus_message_copy(
message: *mut GDBusMessage,
error: *mut *mut GError,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_get_byte_order(
message: *mut GDBusMessage,
) -> GDBusMessageByteOrder;
}
extern "C" {
pub fn _frida_g_dbus_message_set_byte_order(
message: *mut GDBusMessage,
byte_order: GDBusMessageByteOrder,
);
}
extern "C" {
pub fn _frida_g_dbus_message_get_message_type(message: *mut GDBusMessage) -> GDBusMessageType;
}
extern "C" {
pub fn _frida_g_dbus_message_set_message_type(
message: *mut GDBusMessage,
type_: GDBusMessageType,
);
}
extern "C" {
pub fn _frida_g_dbus_message_get_flags(message: *mut GDBusMessage) -> GDBusMessageFlags;
}
extern "C" {
pub fn _frida_g_dbus_message_set_flags(message: *mut GDBusMessage, flags: GDBusMessageFlags);
}
extern "C" {
pub fn _frida_g_dbus_message_get_serial(message: *mut GDBusMessage) -> guint32;
}
extern "C" {
pub fn _frida_g_dbus_message_set_serial(message: *mut GDBusMessage, serial: guint32);
}
extern "C" {
pub fn _frida_g_dbus_message_get_header(
message: *mut GDBusMessage,
header_field: GDBusMessageHeaderField,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_message_set_header(
message: *mut GDBusMessage,
header_field: GDBusMessageHeaderField,
value: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_dbus_message_get_header_fields(message: *mut GDBusMessage) -> *mut guchar;
}
extern "C" {
pub fn _frida_g_dbus_message_get_body(message: *mut GDBusMessage) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_message_set_body(message: *mut GDBusMessage, body: *mut GVariant);
}
extern "C" {
pub fn _frida_g_dbus_message_get_unix_fd_list(message: *mut GDBusMessage) -> *mut GUnixFDList;
}
extern "C" {
pub fn _frida_g_dbus_message_set_unix_fd_list(
message: *mut GDBusMessage,
fd_list: *mut GUnixFDList,
);
}
extern "C" {
pub fn _frida_g_dbus_message_get_reply_serial(message: *mut GDBusMessage) -> guint32;
}
extern "C" {
pub fn _frida_g_dbus_message_set_reply_serial(message: *mut GDBusMessage, value: guint32);
}
extern "C" {
pub fn _frida_g_dbus_message_get_interface(message: *mut GDBusMessage) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_set_interface(message: *mut GDBusMessage, value: *const gchar);
}
extern "C" {
pub fn _frida_g_dbus_message_get_member(message: *mut GDBusMessage) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_set_member(message: *mut GDBusMessage, value: *const gchar);
}
extern "C" {
pub fn _frida_g_dbus_message_get_path(message: *mut GDBusMessage) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_set_path(message: *mut GDBusMessage, value: *const gchar);
}
extern "C" {
pub fn _frida_g_dbus_message_get_sender(message: *mut GDBusMessage) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_set_sender(message: *mut GDBusMessage, value: *const gchar);
}
extern "C" {
pub fn _frida_g_dbus_message_get_destination(message: *mut GDBusMessage) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_set_destination(message: *mut GDBusMessage, value: *const gchar);
}
extern "C" {
pub fn _frida_g_dbus_message_get_error_name(message: *mut GDBusMessage) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_set_error_name(message: *mut GDBusMessage, value: *const gchar);
}
extern "C" {
pub fn _frida_g_dbus_message_get_signature(message: *mut GDBusMessage) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_set_signature(message: *mut GDBusMessage, value: *const gchar);
}
extern "C" {
pub fn _frida_g_dbus_message_get_num_unix_fds(message: *mut GDBusMessage) -> guint32;
}
extern "C" {
pub fn _frida_g_dbus_message_set_num_unix_fds(message: *mut GDBusMessage, value: guint32);
}
extern "C" {
pub fn _frida_g_dbus_message_get_arg0(message: *mut GDBusMessage) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_message_new_from_blob(
blob: *mut guchar,
blob_len: gsize,
capabilities: GDBusCapabilityFlags,
error: *mut *mut GError,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_message_bytes_needed(
blob: *mut guchar,
blob_len: gsize,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_dbus_message_to_blob(
message: *mut GDBusMessage,
out_size: *mut gsize,
capabilities: GDBusCapabilityFlags,
error: *mut *mut GError,
) -> *mut guchar;
}
extern "C" {
pub fn _frida_g_dbus_message_to_gerror(
message: *mut GDBusMessage,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_sender(
invocation: *mut GDBusMethodInvocation,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_object_path(
invocation: *mut GDBusMethodInvocation,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_interface_name(
invocation: *mut GDBusMethodInvocation,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_method_name(
invocation: *mut GDBusMethodInvocation,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_method_info(
invocation: *mut GDBusMethodInvocation,
) -> *const GDBusMethodInfo;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_property_info(
invocation: *mut GDBusMethodInvocation,
) -> *const GDBusPropertyInfo;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_connection(
invocation: *mut GDBusMethodInvocation,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_message(
invocation: *mut GDBusMethodInvocation,
) -> *mut GDBusMessage;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_parameters(
invocation: *mut GDBusMethodInvocation,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_get_user_data(
invocation: *mut GDBusMethodInvocation,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_return_value(
invocation: *mut GDBusMethodInvocation,
parameters: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_return_value_with_unix_fd_list(
invocation: *mut GDBusMethodInvocation,
parameters: *mut GVariant,
fd_list: *mut GUnixFDList,
);
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_return_error(
invocation: *mut GDBusMethodInvocation,
domain: GQuark,
code: gint,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_return_error_valist(
invocation: *mut GDBusMethodInvocation,
domain: GQuark,
code: gint,
format: *const gchar,
var_args: va_list,
);
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_return_error_literal(
invocation: *mut GDBusMethodInvocation,
domain: GQuark,
code: gint,
message: *const gchar,
);
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_return_gerror(
invocation: *mut GDBusMethodInvocation,
error: *const GError,
);
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_take_error(
invocation: *mut GDBusMethodInvocation,
error: *mut GError,
);
}
extern "C" {
pub fn _frida_g_dbus_method_invocation_return_dbus_error(
invocation: *mut GDBusMethodInvocation,
error_name: *const gchar,
error_message: *const gchar,
);
}
pub type GBusAcquiredCallback = ::std::option::Option<
unsafe extern "C" fn(connection: *mut GDBusConnection, name: *const gchar, user_data: gpointer),
>;
pub type GBusNameAcquiredCallback = ::std::option::Option<
unsafe extern "C" fn(connection: *mut GDBusConnection, name: *const gchar, user_data: gpointer),
>;
pub type GBusNameLostCallback = ::std::option::Option<
unsafe extern "C" fn(connection: *mut GDBusConnection, name: *const gchar, user_data: gpointer),
>;
extern "C" {
pub fn _frida_g_bus_own_name(
bus_type: GBusType,
name: *const gchar,
flags: GBusNameOwnerFlags,
bus_acquired_handler: GBusAcquiredCallback,
name_acquired_handler: GBusNameAcquiredCallback,
name_lost_handler: GBusNameLostCallback,
user_data: gpointer,
user_data_free_func: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_bus_own_name_on_connection(
connection: *mut GDBusConnection,
name: *const gchar,
flags: GBusNameOwnerFlags,
name_acquired_handler: GBusNameAcquiredCallback,
name_lost_handler: GBusNameLostCallback,
user_data: gpointer,
user_data_free_func: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_bus_own_name_with_closures(
bus_type: GBusType,
name: *const gchar,
flags: GBusNameOwnerFlags,
bus_acquired_closure: *mut GClosure,
name_acquired_closure: *mut GClosure,
name_lost_closure: *mut GClosure,
) -> guint;
}
extern "C" {
pub fn _frida_g_bus_own_name_on_connection_with_closures(
connection: *mut GDBusConnection,
name: *const gchar,
flags: GBusNameOwnerFlags,
name_acquired_closure: *mut GClosure,
name_lost_closure: *mut GClosure,
) -> guint;
}
extern "C" {
pub fn _frida_g_bus_unown_name(owner_id: guint);
}
pub type GBusNameAppearedCallback = ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDBusConnection,
name: *const gchar,
name_owner: *const gchar,
user_data: gpointer,
),
>;
pub type GBusNameVanishedCallback = ::std::option::Option<
unsafe extern "C" fn(connection: *mut GDBusConnection, name: *const gchar, user_data: gpointer),
>;
extern "C" {
pub fn _frida_g_bus_watch_name(
bus_type: GBusType,
name: *const gchar,
flags: GBusNameWatcherFlags,
name_appeared_handler: GBusNameAppearedCallback,
name_vanished_handler: GBusNameVanishedCallback,
user_data: gpointer,
user_data_free_func: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_bus_watch_name_on_connection(
connection: *mut GDBusConnection,
name: *const gchar,
flags: GBusNameWatcherFlags,
name_appeared_handler: GBusNameAppearedCallback,
name_vanished_handler: GBusNameVanishedCallback,
user_data: gpointer,
user_data_free_func: GDestroyNotify,
) -> guint;
}
extern "C" {
pub fn _frida_g_bus_watch_name_with_closures(
bus_type: GBusType,
name: *const gchar,
flags: GBusNameWatcherFlags,
name_appeared_closure: *mut GClosure,
name_vanished_closure: *mut GClosure,
) -> guint;
}
extern "C" {
pub fn _frida_g_bus_watch_name_on_connection_with_closures(
connection: *mut GDBusConnection,
name: *const gchar,
flags: GBusNameWatcherFlags,
name_appeared_closure: *mut GClosure,
name_vanished_closure: *mut GClosure,
) -> guint;
}
extern "C" {
pub fn _frida_g_bus_unwatch_name(watcher_id: guint);
}
pub type GDBusObjectIface = _GDBusObjectIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectIface {
pub parent_iface: GTypeInterface,
pub get_object_path:
::std::option::Option<unsafe extern "C" fn(object: *mut GDBusObject) -> *const gchar>,
pub get_interfaces:
::std::option::Option<unsafe extern "C" fn(object: *mut GDBusObject) -> *mut GList>,
pub get_interface: ::std::option::Option<
unsafe extern "C" fn(
object: *mut GDBusObject,
interface_name: *const gchar,
) -> *mut GDBusInterface,
>,
pub interface_added: ::std::option::Option<
unsafe extern "C" fn(object: *mut GDBusObject, interface_: *mut GDBusInterface),
>,
pub interface_removed: ::std::option::Option<
unsafe extern "C" fn(object: *mut GDBusObject, interface_: *mut GDBusInterface),
>,
}
extern "C" {
pub fn _frida_g_dbus_object_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_object_get_object_path(object: *mut GDBusObject) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_object_get_interfaces(object: *mut GDBusObject) -> *mut GList;
}
extern "C" {
pub fn _frida_g_dbus_object_get_interface(
object: *mut GDBusObject,
interface_name: *const gchar,
) -> *mut GDBusInterface;
}
pub type GDBusObjectManagerIface = _GDBusObjectManagerIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectManagerIface {
pub parent_iface: GTypeInterface,
pub get_object_path: ::std::option::Option<
unsafe extern "C" fn(manager: *mut GDBusObjectManager) -> *const gchar,
>,
pub get_objects:
::std::option::Option<unsafe extern "C" fn(manager: *mut GDBusObjectManager) -> *mut GList>,
pub get_object: ::std::option::Option<
unsafe extern "C" fn(
manager: *mut GDBusObjectManager,
object_path: *const gchar,
) -> *mut GDBusObject,
>,
pub get_interface: ::std::option::Option<
unsafe extern "C" fn(
manager: *mut GDBusObjectManager,
object_path: *const gchar,
interface_name: *const gchar,
) -> *mut GDBusInterface,
>,
pub object_added: ::std::option::Option<
unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject),
>,
pub object_removed: ::std::option::Option<
unsafe extern "C" fn(manager: *mut GDBusObjectManager, object: *mut GDBusObject),
>,
pub interface_added: ::std::option::Option<
unsafe extern "C" fn(
manager: *mut GDBusObjectManager,
object: *mut GDBusObject,
interface_: *mut GDBusInterface,
),
>,
pub interface_removed: ::std::option::Option<
unsafe extern "C" fn(
manager: *mut GDBusObjectManager,
object: *mut GDBusObject,
interface_: *mut GDBusInterface,
),
>,
}
extern "C" {
pub fn _frida_g_dbus_object_manager_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_get_object_path(
manager: *mut GDBusObjectManager,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_get_objects(manager: *mut GDBusObjectManager)
-> *mut GList;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_get_object(
manager: *mut GDBusObjectManager,
object_path: *const gchar,
) -> *mut GDBusObject;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_get_interface(
manager: *mut GDBusObjectManager,
object_path: *const gchar,
interface_name: *const gchar,
) -> *mut GDBusInterface;
}
pub type GDBusObjectManagerClientClass = _GDBusObjectManagerClientClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectManagerClientPrivate {
_unused: [u8; 0],
}
pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectManagerClient {
pub parent_instance: GObject,
pub priv_: *mut GDBusObjectManagerClientPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectManagerClientClass {
pub parent_class: GObjectClass,
pub interface_proxy_signal: ::std::option::Option<
unsafe extern "C" fn(
manager: *mut GDBusObjectManagerClient,
object_proxy: *mut GDBusObjectProxy,
interface_proxy: *mut GDBusProxy,
sender_name: *const gchar,
signal_name: *const gchar,
parameters: *mut GVariant,
),
>,
pub interface_proxy_properties_changed: ::std::option::Option<
unsafe extern "C" fn(
manager: *mut GDBusObjectManagerClient,
object_proxy: *mut GDBusObjectProxy,
interface_proxy: *mut GDBusProxy,
changed_properties: *mut GVariant,
invalidated_properties: *const *const gchar,
),
>,
pub padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_new(
connection: *mut GDBusConnection,
flags: GDBusObjectManagerClientFlags,
name: *const gchar,
object_path: *const gchar,
get_proxy_type_func: GDBusProxyTypeFunc,
get_proxy_type_user_data: gpointer,
get_proxy_type_destroy_notify: GDestroyNotify,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_new_finish(
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GDBusObjectManager;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_new_sync(
connection: *mut GDBusConnection,
flags: GDBusObjectManagerClientFlags,
name: *const gchar,
object_path: *const gchar,
get_proxy_type_func: GDBusProxyTypeFunc,
get_proxy_type_user_data: gpointer,
get_proxy_type_destroy_notify: GDestroyNotify,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusObjectManager;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_new_for_bus(
bus_type: GBusType,
flags: GDBusObjectManagerClientFlags,
name: *const gchar,
object_path: *const gchar,
get_proxy_type_func: GDBusProxyTypeFunc,
get_proxy_type_user_data: gpointer,
get_proxy_type_destroy_notify: GDestroyNotify,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_new_for_bus_finish(
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GDBusObjectManager;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_new_for_bus_sync(
bus_type: GBusType,
flags: GDBusObjectManagerClientFlags,
name: *const gchar,
object_path: *const gchar,
get_proxy_type_func: GDBusProxyTypeFunc,
get_proxy_type_user_data: gpointer,
get_proxy_type_destroy_notify: GDestroyNotify,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusObjectManager;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_get_connection(
manager: *mut GDBusObjectManagerClient,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_get_flags(
manager: *mut GDBusObjectManagerClient,
) -> GDBusObjectManagerClientFlags;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_get_name(
manager: *mut GDBusObjectManagerClient,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_get_name_owner(
manager: *mut GDBusObjectManagerClient,
) -> *mut gchar;
}
pub type GDBusObjectManagerServerClass = _GDBusObjectManagerServerClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectManagerServerPrivate {
_unused: [u8; 0],
}
pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectManagerServer {
pub parent_instance: GObject,
pub priv_: *mut GDBusObjectManagerServerPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectManagerServerClass {
pub parent_class: GObjectClass,
pub padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_dbus_object_manager_server_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_server_new(
object_path: *const gchar,
) -> *mut GDBusObjectManagerServer;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_server_get_connection(
manager: *mut GDBusObjectManagerServer,
) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_server_set_connection(
manager: *mut GDBusObjectManagerServer,
connection: *mut GDBusConnection,
);
}
extern "C" {
pub fn _frida_g_dbus_object_manager_server_export(
manager: *mut GDBusObjectManagerServer,
object: *mut GDBusObjectSkeleton,
);
}
extern "C" {
pub fn _frida_g_dbus_object_manager_server_export_uniquely(
manager: *mut GDBusObjectManagerServer,
object: *mut GDBusObjectSkeleton,
);
}
extern "C" {
pub fn _frida_g_dbus_object_manager_server_is_exported(
manager: *mut GDBusObjectManagerServer,
object: *mut GDBusObjectSkeleton,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_server_unexport(
manager: *mut GDBusObjectManagerServer,
object_path: *const gchar,
) -> gboolean;
}
pub type GDBusObjectProxyClass = _GDBusObjectProxyClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectProxyPrivate {
_unused: [u8; 0],
}
pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectProxy {
pub parent_instance: GObject,
pub priv_: *mut GDBusObjectProxyPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectProxyClass {
pub parent_class: GObjectClass,
pub padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_dbus_object_proxy_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_object_proxy_new(
connection: *mut GDBusConnection,
object_path: *const gchar,
) -> *mut GDBusObjectProxy;
}
extern "C" {
pub fn _frida_g_dbus_object_proxy_get_connection(
proxy: *mut GDBusObjectProxy,
) -> *mut GDBusConnection;
}
pub type GDBusObjectSkeletonClass = _GDBusObjectSkeletonClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectSkeletonPrivate {
_unused: [u8; 0],
}
pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectSkeleton {
pub parent_instance: GObject,
pub priv_: *mut GDBusObjectSkeletonPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusObjectSkeletonClass {
pub parent_class: GObjectClass,
pub authorize_method: ::std::option::Option<
unsafe extern "C" fn(
object: *mut GDBusObjectSkeleton,
interface_: *mut GDBusInterfaceSkeleton,
invocation: *mut GDBusMethodInvocation,
) -> gboolean,
>,
pub padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_dbus_object_skeleton_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_object_skeleton_new(object_path: *const gchar)
-> *mut GDBusObjectSkeleton;
}
extern "C" {
pub fn _frida_g_dbus_object_skeleton_flush(object: *mut GDBusObjectSkeleton);
}
extern "C" {
pub fn _frida_g_dbus_object_skeleton_add_interface(
object: *mut GDBusObjectSkeleton,
interface_: *mut GDBusInterfaceSkeleton,
);
}
extern "C" {
pub fn _frida_g_dbus_object_skeleton_remove_interface(
object: *mut GDBusObjectSkeleton,
interface_: *mut GDBusInterfaceSkeleton,
);
}
extern "C" {
pub fn _frida_g_dbus_object_skeleton_remove_interface_by_name(
object: *mut GDBusObjectSkeleton,
interface_name: *const gchar,
);
}
extern "C" {
pub fn _frida_g_dbus_object_skeleton_set_object_path(
object: *mut GDBusObjectSkeleton,
object_path: *const gchar,
);
}
pub type GDBusProxyClass = _GDBusProxyClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusProxyPrivate {
_unused: [u8; 0],
}
pub type GDBusProxyPrivate = _GDBusProxyPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusProxy {
pub parent_instance: GObject,
pub priv_: *mut GDBusProxyPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDBusProxyClass {
pub parent_class: GObjectClass,
pub g_properties_changed: ::std::option::Option<
unsafe extern "C" fn(
proxy: *mut GDBusProxy,
changed_properties: *mut GVariant,
invalidated_properties: *const *const gchar,
),
>,
pub g_signal: ::std::option::Option<
unsafe extern "C" fn(
proxy: *mut GDBusProxy,
sender_name: *const gchar,
signal_name: *const gchar,
parameters: *mut GVariant,
),
>,
pub padding: [gpointer; 32usize],
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_proxy_new(
connection: *mut GDBusConnection,
flags: GDBusProxyFlags,
info: *mut GDBusInterfaceInfo,
name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_proxy_new_finish(
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GDBusProxy;
}
extern "C" {
pub fn _frida_g_dbus_proxy_new_sync(
connection: *mut GDBusConnection,
flags: GDBusProxyFlags,
info: *mut GDBusInterfaceInfo,
name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusProxy;
}
extern "C" {
pub fn _frida_g_dbus_proxy_new_for_bus(
bus_type: GBusType,
flags: GDBusProxyFlags,
info: *mut GDBusInterfaceInfo,
name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_proxy_new_for_bus_finish(
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GDBusProxy;
}
extern "C" {
pub fn _frida_g_dbus_proxy_new_for_bus_sync(
bus_type: GBusType,
flags: GDBusProxyFlags,
info: *mut GDBusInterfaceInfo,
name: *const gchar,
object_path: *const gchar,
interface_name: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusProxy;
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_connection(proxy: *mut GDBusProxy) -> *mut GDBusConnection;
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_flags(proxy: *mut GDBusProxy) -> GDBusProxyFlags;
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_name(proxy: *mut GDBusProxy) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_name_owner(proxy: *mut GDBusProxy) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_object_path(proxy: *mut GDBusProxy) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_interface_name(proxy: *mut GDBusProxy) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_default_timeout(proxy: *mut GDBusProxy) -> gint;
}
extern "C" {
pub fn _frida_g_dbus_proxy_set_default_timeout(proxy: *mut GDBusProxy, timeout_msec: gint);
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_interface_info(
proxy: *mut GDBusProxy,
) -> *mut GDBusInterfaceInfo;
}
extern "C" {
pub fn _frida_g_dbus_proxy_set_interface_info(
proxy: *mut GDBusProxy,
info: *mut GDBusInterfaceInfo,
);
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_cached_property(
proxy: *mut GDBusProxy,
property_name: *const gchar,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_proxy_set_cached_property(
proxy: *mut GDBusProxy,
property_name: *const gchar,
value: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_dbus_proxy_get_cached_property_names(proxy: *mut GDBusProxy)
-> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_proxy_call(
proxy: *mut GDBusProxy,
method_name: *const gchar,
parameters: *mut GVariant,
flags: GDBusCallFlags,
timeout_msec: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_proxy_call_finish(
proxy: *mut GDBusProxy,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_proxy_call_sync(
proxy: *mut GDBusProxy,
method_name: *const gchar,
parameters: *mut GVariant,
flags: GDBusCallFlags,
timeout_msec: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_proxy_call_with_unix_fd_list(
proxy: *mut GDBusProxy,
method_name: *const gchar,
parameters: *mut GVariant,
flags: GDBusCallFlags,
timeout_msec: gint,
fd_list: *mut GUnixFDList,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dbus_proxy_call_with_unix_fd_list_finish(
proxy: *mut GDBusProxy,
out_fd_list: *mut *mut GUnixFDList,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_proxy_call_with_unix_fd_list_sync(
proxy: *mut GDBusProxy,
method_name: *const gchar,
parameters: *mut GVariant,
flags: GDBusCallFlags,
timeout_msec: gint,
fd_list: *mut GUnixFDList,
out_fd_list: *mut *mut GUnixFDList,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_server_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_server_new_sync(
address: *const gchar,
flags: GDBusServerFlags,
guid: *const gchar,
observer: *mut GDBusAuthObserver,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDBusServer;
}
extern "C" {
pub fn _frida_g_dbus_server_get_client_address(server: *mut GDBusServer) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_server_get_guid(server: *mut GDBusServer) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dbus_server_get_flags(server: *mut GDBusServer) -> GDBusServerFlags;
}
extern "C" {
pub fn _frida_g_dbus_server_start(server: *mut GDBusServer);
}
extern "C" {
pub fn _frida_g_dbus_server_stop(server: *mut GDBusServer);
}
extern "C" {
pub fn _frida_g_dbus_server_is_active(server: *mut GDBusServer) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_is_guid(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_generate_guid() -> *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_is_name(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_is_unique_name(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_is_member_name(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_is_interface_name(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_is_error_name(string: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_dbus_gvariant_to_gvalue(value: *mut GVariant, out_gvalue: *mut GValue);
}
extern "C" {
pub fn _frida_g_dbus_gvalue_to_gvariant(
gvalue: *const GValue,
type_: *const GVariantType,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_dbus_escape_object_path_bytestring(bytes: *const guint8) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_escape_object_path(s: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_dbus_unescape_object_path(s: *const gchar) -> *mut guint8;
}
extern "C" {
pub fn _frida_g_debug_controller_get_type() -> GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDebugController {
_unused: [u8; 0],
}
pub type GDebugController = _GDebugController;
pub type GDebugControllerInterface = _GDebugControllerInterface;
pub type GDebugController_autoptr = *mut GDebugController;
pub type GDebugController_listautoptr = *mut GList;
pub type GDebugController_slistautoptr = *mut GSList;
pub type GDebugController_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDebugControllerInterface {
pub g_iface: GTypeInterface,
}
extern "C" {
pub fn _frida_g_debug_controller_get_debug_enabled(self_: *mut GDebugController) -> gboolean;
}
extern "C" {
pub fn _frida_g_debug_controller_set_debug_enabled(
self_: *mut GDebugController,
debug_enabled: gboolean,
);
}
extern "C" {
pub fn _frida_g_debug_controller_dbus_get_type() -> GType;
}
pub type GDebugControllerDBus = _GDebugControllerDBus;
pub type GDebugControllerDBusClass = _GDebugControllerDBusClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDebugControllerDBus {
pub parent_instance: GObject,
}
pub type GDebugControllerDBus_autoptr = *mut GDebugControllerDBus;
pub type GDebugControllerDBus_listautoptr = *mut GList;
pub type GDebugControllerDBus_slistautoptr = *mut GSList;
pub type GDebugControllerDBus_queueautoptr = *mut GQueue;
pub type GDebugControllerDBusClass_autoptr = *mut GDebugControllerDBusClass;
pub type GDebugControllerDBusClass_listautoptr = *mut GList;
pub type GDebugControllerDBusClass_slistautoptr = *mut GSList;
pub type GDebugControllerDBusClass_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDebugControllerDBusClass {
pub parent_class: GObjectClass,
pub authorize: ::std::option::Option<
unsafe extern "C" fn(
controller: *mut GDebugControllerDBus,
invocation: *mut GDBusMethodInvocation,
) -> gboolean,
>,
pub padding: [gpointer; 12usize],
}
extern "C" {
pub fn _frida_g_debug_controller_dbus_new(
connection: *mut GDBusConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GDebugControllerDBus;
}
extern "C" {
pub fn _frida_g_debug_controller_dbus_stop(self_: *mut GDebugControllerDBus);
}
pub type GDriveIface = _GDriveIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDriveIface {
pub g_iface: GTypeInterface,
pub changed: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive)>,
pub disconnected: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive)>,
pub eject_button: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive)>,
pub get_name: ::std::option::Option<
unsafe extern "C" fn(drive: *mut GDrive) -> *mut ::std::os::raw::c_char,
>,
pub get_icon: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GIcon>,
pub has_volumes: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub get_volumes: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GList>,
pub is_media_removable:
::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub has_media: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub is_media_check_automatic:
::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub can_eject: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub can_poll_for_media:
::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub eject: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub eject_finish: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub poll_for_media: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub poll_for_media_finish: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub get_identifier: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
kind: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char,
>,
pub enumerate_identifiers: ::std::option::Option<
unsafe extern "C" fn(drive: *mut GDrive) -> *mut *mut ::std::os::raw::c_char,
>,
pub get_start_stop_type:
::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> GDriveStartStopType>,
pub can_start: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub can_start_degraded:
::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub start: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
flags: GDriveStartFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub start_finish: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub can_stop: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
pub stop: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub stop_finish: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub stop_button: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive)>,
pub eject_with_operation: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub eject_with_operation_finish: ::std::option::Option<
unsafe extern "C" fn(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub get_sort_key:
::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> *const gchar>,
pub get_symbolic_icon:
::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GIcon>,
pub is_removable: ::std::option::Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
}
extern "C" {
pub fn _frida_g_drive_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_drive_get_name(drive: *mut GDrive) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_drive_get_icon(drive: *mut GDrive) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_drive_get_symbolic_icon(drive: *mut GDrive) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_drive_has_volumes(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_get_volumes(drive: *mut GDrive) -> *mut GList;
}
extern "C" {
pub fn _frida_g_drive_is_removable(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_is_media_removable(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_has_media(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_is_media_check_automatic(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_can_poll_for_media(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_can_eject(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_eject(
drive: *mut GDrive,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_drive_eject_finish(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_poll_for_media(
drive: *mut GDrive,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_drive_poll_for_media_finish(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_get_identifier(
drive: *mut GDrive,
kind: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_drive_enumerate_identifiers(
drive: *mut GDrive,
) -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_drive_get_start_stop_type(drive: *mut GDrive) -> GDriveStartStopType;
}
extern "C" {
pub fn _frida_g_drive_can_start(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_can_start_degraded(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_start(
drive: *mut GDrive,
flags: GDriveStartFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_drive_start_finish(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_can_stop(drive: *mut GDrive) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_stop(
drive: *mut GDrive,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_drive_stop_finish(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_eject_with_operation(
drive: *mut GDrive,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_drive_eject_with_operation_finish(
drive: *mut GDrive,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_drive_get_sort_key(drive: *mut GDrive) -> *const gchar;
}
pub type GDtlsConnectionInterface = _GDtlsConnectionInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDtlsConnectionInterface {
pub g_iface: GTypeInterface,
pub accept_certificate: ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GDtlsConnection,
peer_cert: *mut GTlsCertificate,
errors: GTlsCertificateFlags,
) -> gboolean,
>,
pub handshake: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GDtlsConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub handshake_async: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GDtlsConnection,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub handshake_finish: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GDtlsConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub shutdown: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GDtlsConnection,
shutdown_read: gboolean,
shutdown_write: gboolean,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub shutdown_async: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GDtlsConnection,
shutdown_read: gboolean,
shutdown_write: gboolean,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub shutdown_finish: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GDtlsConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub set_advertised_protocols: ::std::option::Option<
unsafe extern "C" fn(conn: *mut GDtlsConnection, protocols: *const *const gchar),
>,
pub get_negotiated_protocol:
::std::option::Option<unsafe extern "C" fn(conn: *mut GDtlsConnection) -> *const gchar>,
pub get_binding_data: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GDtlsConnection,
type_: GTlsChannelBindingType,
data: *mut GByteArray,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_dtls_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dtls_connection_set_database(
conn: *mut GDtlsConnection,
database: *mut GTlsDatabase,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_get_database(conn: *mut GDtlsConnection) -> *mut GTlsDatabase;
}
extern "C" {
pub fn _frida_g_dtls_connection_set_certificate(
conn: *mut GDtlsConnection,
certificate: *mut GTlsCertificate,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_get_certificate(
conn: *mut GDtlsConnection,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_dtls_connection_set_interaction(
conn: *mut GDtlsConnection,
interaction: *mut GTlsInteraction,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_get_interaction(
conn: *mut GDtlsConnection,
) -> *mut GTlsInteraction;
}
extern "C" {
pub fn _frida_g_dtls_connection_get_peer_certificate(
conn: *mut GDtlsConnection,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_dtls_connection_get_peer_certificate_errors(
conn: *mut GDtlsConnection,
) -> GTlsCertificateFlags;
}
extern "C" {
pub fn _frida_g_dtls_connection_set_require_close_notify(
conn: *mut GDtlsConnection,
require_close_notify: gboolean,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_get_require_close_notify(
conn: *mut GDtlsConnection,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_set_rehandshake_mode(
conn: *mut GDtlsConnection,
mode: GTlsRehandshakeMode,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_get_rehandshake_mode(
conn: *mut GDtlsConnection,
) -> GTlsRehandshakeMode;
}
extern "C" {
pub fn _frida_g_dtls_connection_handshake(
conn: *mut GDtlsConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_handshake_async(
conn: *mut GDtlsConnection,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_handshake_finish(
conn: *mut GDtlsConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_shutdown(
conn: *mut GDtlsConnection,
shutdown_read: gboolean,
shutdown_write: gboolean,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_shutdown_async(
conn: *mut GDtlsConnection,
shutdown_read: gboolean,
shutdown_write: gboolean,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_shutdown_finish(
conn: *mut GDtlsConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_close(
conn: *mut GDtlsConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_close_async(
conn: *mut GDtlsConnection,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_close_finish(
conn: *mut GDtlsConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_emit_accept_certificate(
conn: *mut GDtlsConnection,
peer_cert: *mut GTlsCertificate,
errors: GTlsCertificateFlags,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_set_advertised_protocols(
conn: *mut GDtlsConnection,
protocols: *const *const gchar,
);
}
extern "C" {
pub fn _frida_g_dtls_connection_get_negotiated_protocol(
conn: *mut GDtlsConnection,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_dtls_connection_get_channel_binding_data(
conn: *mut GDtlsConnection,
type_: GTlsChannelBindingType,
data: *mut GByteArray,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_dtls_connection_get_protocol_version(
conn: *mut GDtlsConnection,
) -> GTlsProtocolVersion;
}
extern "C" {
pub fn _frida_g_dtls_connection_get_ciphersuite_name(conn: *mut GDtlsConnection) -> *mut gchar;
}
pub type GDtlsClientConnectionInterface = _GDtlsClientConnectionInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDtlsClientConnectionInterface {
pub g_iface: GTypeInterface,
}
extern "C" {
pub fn _frida_g_dtls_client_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dtls_client_connection_new(
base_socket: *mut GDatagramBased,
server_identity: *mut GSocketConnectable,
error: *mut *mut GError,
) -> *mut GDatagramBased;
}
extern "C" {
pub fn _frida_g_dtls_client_connection_get_validation_flags(
conn: *mut GDtlsClientConnection,
) -> GTlsCertificateFlags;
}
extern "C" {
pub fn _frida_g_dtls_client_connection_set_validation_flags(
conn: *mut GDtlsClientConnection,
flags: GTlsCertificateFlags,
);
}
extern "C" {
pub fn _frida_g_dtls_client_connection_get_server_identity(
conn: *mut GDtlsClientConnection,
) -> *mut GSocketConnectable;
}
extern "C" {
pub fn _frida_g_dtls_client_connection_set_server_identity(
conn: *mut GDtlsClientConnection,
identity: *mut GSocketConnectable,
);
}
extern "C" {
pub fn _frida_g_dtls_client_connection_get_accepted_cas(
conn: *mut GDtlsClientConnection,
) -> *mut GList;
}
pub type GDtlsServerConnectionInterface = _GDtlsServerConnectionInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GDtlsServerConnectionInterface {
pub g_iface: GTypeInterface,
}
extern "C" {
pub fn _frida_g_dtls_server_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dtls_server_connection_new(
base_socket: *mut GDatagramBased,
certificate: *mut GTlsCertificate,
error: *mut *mut GError,
) -> *mut GDatagramBased;
}
pub type GIconIface = _GIconIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIconIface {
pub g_iface: GTypeInterface,
pub hash: ::std::option::Option<unsafe extern "C" fn(icon: *mut GIcon) -> guint>,
pub equal: ::std::option::Option<
unsafe extern "C" fn(icon1: *mut GIcon, icon2: *mut GIcon) -> gboolean,
>,
pub to_tokens: ::std::option::Option<
unsafe extern "C" fn(
icon: *mut GIcon,
tokens: *mut GPtrArray,
out_version: *mut gint,
) -> gboolean,
>,
pub from_tokens: ::std::option::Option<
unsafe extern "C" fn(
tokens: *mut *mut gchar,
num_tokens: gint,
version: gint,
error: *mut *mut GError,
) -> *mut GIcon,
>,
pub serialize: ::std::option::Option<unsafe extern "C" fn(icon: *mut GIcon) -> *mut GVariant>,
}
extern "C" {
pub fn _frida_g_icon_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_icon_hash(icon: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_icon_equal(icon1: *mut GIcon, icon2: *mut GIcon) -> gboolean;
}
extern "C" {
pub fn _frida_g_icon_to_string(icon: *mut GIcon) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_icon_new_for_string(str_: *const gchar, error: *mut *mut GError) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_icon_serialize(icon: *mut GIcon) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_icon_deserialize(value: *mut GVariant) -> *mut GIcon;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GEmblem {
_unused: [u8; 0],
}
pub type GEmblem = _GEmblem;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GEmblemClass {
_unused: [u8; 0],
}
pub type GEmblemClass = _GEmblemClass;
extern "C" {
pub fn _frida_g_emblem_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_emblem_new(icon: *mut GIcon) -> *mut GEmblem;
}
extern "C" {
pub fn _frida_g_emblem_new_with_origin(icon: *mut GIcon, origin: GEmblemOrigin)
-> *mut GEmblem;
}
extern "C" {
pub fn _frida_g_emblem_get_icon(emblem: *mut GEmblem) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_emblem_get_origin(emblem: *mut GEmblem) -> GEmblemOrigin;
}
pub type GEmblemedIcon = _GEmblemedIcon;
pub type GEmblemedIconClass = _GEmblemedIconClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GEmblemedIconPrivate {
_unused: [u8; 0],
}
pub type GEmblemedIconPrivate = _GEmblemedIconPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GEmblemedIcon {
pub parent_instance: GObject,
pub priv_: *mut GEmblemedIconPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GEmblemedIconClass {
pub parent_class: GObjectClass,
}
extern "C" {
pub fn _frida_g_emblemed_icon_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_emblemed_icon_new(icon: *mut GIcon, emblem: *mut GEmblem) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_emblemed_icon_get_icon(emblemed: *mut GEmblemedIcon) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_emblemed_icon_get_emblems(emblemed: *mut GEmblemedIcon) -> *mut GList;
}
extern "C" {
pub fn _frida_g_emblemed_icon_add_emblem(emblemed: *mut GEmblemedIcon, emblem: *mut GEmblem);
}
extern "C" {
pub fn _frida_g_emblemed_icon_clear_emblems(emblemed: *mut GEmblemedIcon);
}
pub type GFileIface = _GFileIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileIface {
pub g_iface: GTypeInterface,
pub dup: ::std::option::Option<unsafe extern "C" fn(file: *mut GFile) -> *mut GFile>,
pub hash: ::std::option::Option<unsafe extern "C" fn(file: *mut GFile) -> guint>,
pub equal: ::std::option::Option<
unsafe extern "C" fn(file1: *mut GFile, file2: *mut GFile) -> gboolean,
>,
pub is_native: ::std::option::Option<unsafe extern "C" fn(file: *mut GFile) -> gboolean>,
pub has_uri_scheme: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
uri_scheme: *const ::std::os::raw::c_char,
) -> gboolean,
>,
pub get_uri_scheme: ::std::option::Option<
unsafe extern "C" fn(file: *mut GFile) -> *mut ::std::os::raw::c_char,
>,
pub get_basename: ::std::option::Option<
unsafe extern "C" fn(file: *mut GFile) -> *mut ::std::os::raw::c_char,
>,
pub get_path: ::std::option::Option<
unsafe extern "C" fn(file: *mut GFile) -> *mut ::std::os::raw::c_char,
>,
pub get_uri: ::std::option::Option<
unsafe extern "C" fn(file: *mut GFile) -> *mut ::std::os::raw::c_char,
>,
pub get_parse_name: ::std::option::Option<
unsafe extern "C" fn(file: *mut GFile) -> *mut ::std::os::raw::c_char,
>,
pub get_parent: ::std::option::Option<unsafe extern "C" fn(file: *mut GFile) -> *mut GFile>,
pub prefix_matches: ::std::option::Option<
unsafe extern "C" fn(prefix: *mut GFile, file: *mut GFile) -> gboolean,
>,
pub get_relative_path: ::std::option::Option<
unsafe extern "C" fn(
parent: *mut GFile,
descendant: *mut GFile,
) -> *mut ::std::os::raw::c_char,
>,
pub resolve_relative_path: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
relative_path: *const ::std::os::raw::c_char,
) -> *mut GFile,
>,
pub get_child_for_display_name: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
display_name: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut GFile,
>,
pub enumerate_children: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileEnumerator,
>,
pub enumerate_children_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub enumerate_children_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileEnumerator,
>,
pub query_info: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub query_info_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub query_info_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub query_filesystem_info: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub query_filesystem_info_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub query_filesystem_info_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub find_enclosing_mount: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GMount,
>,
pub find_enclosing_mount_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub find_enclosing_mount_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GMount,
>,
pub set_display_name: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
display_name: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFile,
>,
pub set_display_name_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
display_name: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub set_display_name_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFile,
>,
pub query_settable_attributes: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileAttributeInfoList,
>,
pub _query_settable_attributes_async: ::std::option::Option<unsafe extern "C" fn()>,
pub _query_settable_attributes_finish: ::std::option::Option<unsafe extern "C" fn()>,
pub query_writable_namespaces: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileAttributeInfoList,
>,
pub _query_writable_namespaces_async: ::std::option::Option<unsafe extern "C" fn()>,
pub _query_writable_namespaces_finish: ::std::option::Option<unsafe extern "C" fn()>,
pub set_attribute: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
attribute: *const ::std::os::raw::c_char,
type_: GFileAttributeType,
value_p: gpointer,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub set_attributes_from_info: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
info: *mut GFileInfo,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub set_attributes_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
info: *mut GFileInfo,
flags: GFileQueryInfoFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub set_attributes_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
info: *mut *mut GFileInfo,
error: *mut *mut GError,
) -> gboolean,
>,
pub read_fn: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInputStream,
>,
pub read_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub read_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInputStream,
>,
pub append_to: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileOutputStream,
>,
pub append_to_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub append_to_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileOutputStream,
>,
pub create: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileOutputStream,
>,
pub create_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub create_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileOutputStream,
>,
pub replace: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileOutputStream,
>,
pub replace_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub replace_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileOutputStream,
>,
pub delete_file: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub delete_file_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub delete_file_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub trash: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub trash_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub trash_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub make_directory: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub make_directory_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub make_directory_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub make_symbolic_link: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
symlink_value: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub make_symbolic_link_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
symlink_value: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub make_symbolic_link_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub copy: ::std::option::Option<
unsafe extern "C" fn(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
cancellable: *mut GCancellable,
progress_callback: GFileProgressCallback,
progress_callback_data: gpointer,
error: *mut *mut GError,
) -> gboolean,
>,
pub copy_async: ::std::option::Option<
unsafe extern "C" fn(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
progress_callback: GFileProgressCallback,
progress_callback_data: gpointer,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub copy_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub move_: ::std::option::Option<
unsafe extern "C" fn(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
cancellable: *mut GCancellable,
progress_callback: GFileProgressCallback,
progress_callback_data: gpointer,
error: *mut *mut GError,
) -> gboolean,
>,
pub move_async: ::std::option::Option<
unsafe extern "C" fn(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
progress_callback: GFileProgressCallback,
progress_callback_data: gpointer,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub move_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub mount_mountable: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GMountMountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub mount_mountable_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFile,
>,
pub unmount_mountable: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub unmount_mountable_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub eject_mountable: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub eject_mountable_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub mount_enclosing_volume: ::std::option::Option<
unsafe extern "C" fn(
location: *mut GFile,
flags: GMountMountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub mount_enclosing_volume_finish: ::std::option::Option<
unsafe extern "C" fn(
location: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub monitor_dir: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileMonitorFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileMonitor,
>,
pub monitor_file: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileMonitorFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileMonitor,
>,
pub open_readwrite: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileIOStream,
>,
pub open_readwrite_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub open_readwrite_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileIOStream,
>,
pub create_readwrite: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileIOStream,
>,
pub create_readwrite_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub create_readwrite_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileIOStream,
>,
pub replace_readwrite: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileIOStream,
>,
pub replace_readwrite_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub replace_readwrite_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileIOStream,
>,
pub start_mountable: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GDriveStartFlags,
start_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub start_mountable_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub stop_mountable: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub stop_mountable_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub supports_thread_contexts: gboolean,
pub unmount_mountable_with_operation: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub unmount_mountable_with_operation_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub eject_mountable_with_operation: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub eject_mountable_with_operation_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub poll_mountable: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub poll_mountable_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub measure_disk_usage: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileMeasureFlags,
cancellable: *mut GCancellable,
progress_callback: GFileMeasureProgressCallback,
progress_data: gpointer,
disk_usage: *mut guint64,
num_dirs: *mut guint64,
num_files: *mut guint64,
error: *mut *mut GError,
) -> gboolean,
>,
pub measure_disk_usage_async: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
flags: GFileMeasureFlags,
io_priority: gint,
cancellable: *mut GCancellable,
progress_callback: GFileMeasureProgressCallback,
progress_data: gpointer,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub measure_disk_usage_finish: ::std::option::Option<
unsafe extern "C" fn(
file: *mut GFile,
result: *mut GAsyncResult,
disk_usage: *mut guint64,
num_dirs: *mut guint64,
num_files: *mut guint64,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_file_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_new_for_path(path: *const ::std::os::raw::c_char) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_new_for_uri(uri: *const ::std::os::raw::c_char) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_new_for_commandline_arg(arg: *const ::std::os::raw::c_char) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_new_for_commandline_arg_and_cwd(
arg: *const gchar,
cwd: *const gchar,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_new_tmp(
tmpl: *const ::std::os::raw::c_char,
iostream: *mut *mut GFileIOStream,
error: *mut *mut GError,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_new_tmp_async(
tmpl: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_new_tmp_finish(
result: *mut GAsyncResult,
iostream: *mut *mut GFileIOStream,
error: *mut *mut GError,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_new_tmp_dir_async(
tmpl: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_new_tmp_dir_finish(
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_parse_name(parse_name: *const ::std::os::raw::c_char) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_new_build_filename(first_element: *const gchar, ...) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_dup(file: *mut GFile) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_hash(file: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_g_file_equal(file1: *mut GFile, file2: *mut GFile) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_get_basename(file: *mut GFile) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_get_path(file: *mut GFile) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_peek_path(file: *mut GFile) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_get_uri(file: *mut GFile) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_get_parse_name(file: *mut GFile) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_get_parent(file: *mut GFile) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_has_parent(file: *mut GFile, parent: *mut GFile) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_get_child(
file: *mut GFile,
name: *const ::std::os::raw::c_char,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_get_child_for_display_name(
file: *mut GFile,
display_name: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_has_prefix(file: *mut GFile, prefix: *mut GFile) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_get_relative_path(
parent: *mut GFile,
descendant: *mut GFile,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_resolve_relative_path(
file: *mut GFile,
relative_path: *const ::std::os::raw::c_char,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_is_native(file: *mut GFile) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_has_uri_scheme(
file: *mut GFile,
uri_scheme: *const ::std::os::raw::c_char,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_get_uri_scheme(file: *mut GFile) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_read(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInputStream;
}
extern "C" {
pub fn _frida_g_file_read_async(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_read_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInputStream;
}
extern "C" {
pub fn _frida_g_file_append_to(
file: *mut GFile,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileOutputStream;
}
extern "C" {
pub fn _frida_g_file_create(
file: *mut GFile,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileOutputStream;
}
extern "C" {
pub fn _frida_g_file_replace(
file: *mut GFile,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileOutputStream;
}
extern "C" {
pub fn _frida_g_file_append_to_async(
file: *mut GFile,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_append_to_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileOutputStream;
}
extern "C" {
pub fn _frida_g_file_create_async(
file: *mut GFile,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_create_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileOutputStream;
}
extern "C" {
pub fn _frida_g_file_replace_async(
file: *mut GFile,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_replace_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileOutputStream;
}
extern "C" {
pub fn _frida_g_file_open_readwrite(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileIOStream;
}
extern "C" {
pub fn _frida_g_file_open_readwrite_async(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_open_readwrite_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileIOStream;
}
extern "C" {
pub fn _frida_g_file_create_readwrite(
file: *mut GFile,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileIOStream;
}
extern "C" {
pub fn _frida_g_file_create_readwrite_async(
file: *mut GFile,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_create_readwrite_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileIOStream;
}
extern "C" {
pub fn _frida_g_file_replace_readwrite(
file: *mut GFile,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileIOStream;
}
extern "C" {
pub fn _frida_g_file_replace_readwrite_async(
file: *mut GFile,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_replace_readwrite_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileIOStream;
}
extern "C" {
pub fn _frida_g_file_query_exists(file: *mut GFile, cancellable: *mut GCancellable)
-> gboolean;
}
extern "C" {
pub fn _frida_g_file_query_file_type(
file: *mut GFile,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
) -> GFileType;
}
extern "C" {
pub fn _frida_g_file_query_info(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_query_info_async(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_query_info_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_query_filesystem_info(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_query_filesystem_info_async(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_query_filesystem_info_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_find_enclosing_mount(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GMount;
}
extern "C" {
pub fn _frida_g_file_find_enclosing_mount_async(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_find_enclosing_mount_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GMount;
}
extern "C" {
pub fn _frida_g_file_enumerate_children(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileEnumerator;
}
extern "C" {
pub fn _frida_g_file_enumerate_children_async(
file: *mut GFile,
attributes: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_enumerate_children_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileEnumerator;
}
extern "C" {
pub fn _frida_g_file_set_display_name(
file: *mut GFile,
display_name: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_set_display_name_async(
file: *mut GFile,
display_name: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_set_display_name_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_delete(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_delete_async(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_delete_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_trash(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_trash_async(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_trash_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_copy(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
cancellable: *mut GCancellable,
progress_callback: GFileProgressCallback,
progress_callback_data: gpointer,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_copy_async(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
progress_callback: GFileProgressCallback,
progress_callback_data: gpointer,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_copy_finish(
file: *mut GFile,
res: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_move(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
cancellable: *mut GCancellable,
progress_callback: GFileProgressCallback,
progress_callback_data: gpointer,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_move_async(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
progress_callback: GFileProgressCallback,
progress_callback_data: gpointer,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_move_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_make_directory(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_make_directory_async(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_make_directory_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_make_directory_with_parents(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_make_symbolic_link(
file: *mut GFile,
symlink_value: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_make_symbolic_link_async(
file: *mut GFile,
symlink_value: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_make_symbolic_link_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_query_settable_attributes(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileAttributeInfoList;
}
extern "C" {
pub fn _frida_g_file_query_writable_namespaces(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileAttributeInfoList;
}
extern "C" {
pub fn _frida_g_file_set_attribute(
file: *mut GFile,
attribute: *const ::std::os::raw::c_char,
type_: GFileAttributeType,
value_p: gpointer,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_attributes_from_info(
file: *mut GFile,
info: *mut GFileInfo,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_attributes_async(
file: *mut GFile,
info: *mut GFileInfo,
flags: GFileQueryInfoFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_set_attributes_finish(
file: *mut GFile,
result: *mut GAsyncResult,
info: *mut *mut GFileInfo,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_attribute_string(
file: *mut GFile,
attribute: *const ::std::os::raw::c_char,
value: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_attribute_byte_string(
file: *mut GFile,
attribute: *const ::std::os::raw::c_char,
value: *const ::std::os::raw::c_char,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_attribute_uint32(
file: *mut GFile,
attribute: *const ::std::os::raw::c_char,
value: guint32,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_attribute_int32(
file: *mut GFile,
attribute: *const ::std::os::raw::c_char,
value: gint32,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_attribute_uint64(
file: *mut GFile,
attribute: *const ::std::os::raw::c_char,
value: guint64,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_set_attribute_int64(
file: *mut GFile,
attribute: *const ::std::os::raw::c_char,
value: gint64,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_mount_enclosing_volume(
location: *mut GFile,
flags: GMountMountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_mount_enclosing_volume_finish(
location: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_mount_mountable(
file: *mut GFile,
flags: GMountMountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_mount_mountable_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_unmount_mountable(
file: *mut GFile,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_unmount_mountable_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_unmount_mountable_with_operation(
file: *mut GFile,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_unmount_mountable_with_operation_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_eject_mountable(
file: *mut GFile,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_eject_mountable_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_eject_mountable_with_operation(
file: *mut GFile,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_eject_mountable_with_operation_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_build_attribute_list_for_copy(
file: *mut GFile,
flags: GFileCopyFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_copy_attributes(
source: *mut GFile,
destination: *mut GFile,
flags: GFileCopyFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_monitor_directory(
file: *mut GFile,
flags: GFileMonitorFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileMonitor;
}
extern "C" {
pub fn _frida_g_file_monitor_file(
file: *mut GFile,
flags: GFileMonitorFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileMonitor;
}
extern "C" {
pub fn _frida_g_file_monitor(
file: *mut GFile,
flags: GFileMonitorFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileMonitor;
}
extern "C" {
pub fn _frida_g_file_measure_disk_usage(
file: *mut GFile,
flags: GFileMeasureFlags,
cancellable: *mut GCancellable,
progress_callback: GFileMeasureProgressCallback,
progress_data: gpointer,
disk_usage: *mut guint64,
num_dirs: *mut guint64,
num_files: *mut guint64,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_measure_disk_usage_async(
file: *mut GFile,
flags: GFileMeasureFlags,
io_priority: gint,
cancellable: *mut GCancellable,
progress_callback: GFileMeasureProgressCallback,
progress_data: gpointer,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_measure_disk_usage_finish(
file: *mut GFile,
result: *mut GAsyncResult,
disk_usage: *mut guint64,
num_dirs: *mut guint64,
num_files: *mut guint64,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_start_mountable(
file: *mut GFile,
flags: GDriveStartFlags,
start_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_start_mountable_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_stop_mountable(
file: *mut GFile,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_stop_mountable_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_poll_mountable(
file: *mut GFile,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_poll_mountable_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_query_default_handler(
file: *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GAppInfo;
}
extern "C" {
pub fn _frida_g_file_query_default_handler_async(
file: *mut GFile,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_query_default_handler_finish(
file: *mut GFile,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GAppInfo;
}
extern "C" {
pub fn _frida_g_file_load_contents(
file: *mut GFile,
cancellable: *mut GCancellable,
contents: *mut *mut ::std::os::raw::c_char,
length: *mut gsize,
etag_out: *mut *mut ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_load_contents_async(
file: *mut GFile,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_load_contents_finish(
file: *mut GFile,
res: *mut GAsyncResult,
contents: *mut *mut ::std::os::raw::c_char,
length: *mut gsize,
etag_out: *mut *mut ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_load_partial_contents_async(
file: *mut GFile,
cancellable: *mut GCancellable,
read_more_callback: GFileReadMoreCallback,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_load_partial_contents_finish(
file: *mut GFile,
res: *mut GAsyncResult,
contents: *mut *mut ::std::os::raw::c_char,
length: *mut gsize,
etag_out: *mut *mut ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_replace_contents(
file: *mut GFile,
contents: *const ::std::os::raw::c_char,
length: gsize,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
new_etag: *mut *mut ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_replace_contents_async(
file: *mut GFile,
contents: *const ::std::os::raw::c_char,
length: gsize,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_replace_contents_bytes_async(
file: *mut GFile,
contents: *mut GBytes,
etag: *const ::std::os::raw::c_char,
make_backup: gboolean,
flags: GFileCreateFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_replace_contents_finish(
file: *mut GFile,
res: *mut GAsyncResult,
new_etag: *mut *mut ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_supports_thread_contexts(file: *mut GFile) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_load_bytes(
file: *mut GFile,
cancellable: *mut GCancellable,
etag_out: *mut *mut gchar,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_file_load_bytes_async(
file: *mut GFile,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_load_bytes_finish(
file: *mut GFile,
result: *mut GAsyncResult,
etag_out: *mut *mut gchar,
error: *mut *mut GError,
) -> *mut GBytes;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileAttributeInfo {
pub name: *mut ::std::os::raw::c_char,
pub type_: GFileAttributeType,
pub flags: GFileAttributeInfoFlags,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileAttributeInfoList {
pub infos: *mut GFileAttributeInfo,
pub n_infos: ::std::os::raw::c_int,
}
extern "C" {
pub fn _frida_g_file_attribute_info_list_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList;
}
extern "C" {
pub fn _frida_g_file_attribute_info_list_ref(
list: *mut GFileAttributeInfoList,
) -> *mut GFileAttributeInfoList;
}
extern "C" {
pub fn _frida_g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList);
}
extern "C" {
pub fn _frida_g_file_attribute_info_list_dup(
list: *mut GFileAttributeInfoList,
) -> *mut GFileAttributeInfoList;
}
extern "C" {
pub fn _frida_g_file_attribute_info_list_lookup(
list: *mut GFileAttributeInfoList,
name: *const ::std::os::raw::c_char,
) -> *const GFileAttributeInfo;
}
extern "C" {
pub fn _frida_g_file_attribute_info_list_add(
list: *mut GFileAttributeInfoList,
name: *const ::std::os::raw::c_char,
type_: GFileAttributeType,
flags: GFileAttributeInfoFlags,
);
}
pub type GFileEnumeratorClass = _GFileEnumeratorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileEnumeratorPrivate {
_unused: [u8; 0],
}
pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileEnumerator {
pub parent_instance: GObject,
pub priv_: *mut GFileEnumeratorPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileEnumeratorClass {
pub parent_class: GObjectClass,
pub next_file: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GFileEnumerator,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub close_fn: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GFileEnumerator,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub next_files_async: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GFileEnumerator,
num_files: ::std::os::raw::c_int,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub next_files_finish: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GFileEnumerator,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList,
>,
pub close_async: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GFileEnumerator,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub close_finish: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GFileEnumerator,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved7: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_file_enumerator_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_enumerator_next_file(
enumerator: *mut GFileEnumerator,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_enumerator_close(
enumerator: *mut GFileEnumerator,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_enumerator_next_files_async(
enumerator: *mut GFileEnumerator,
num_files: ::std::os::raw::c_int,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_enumerator_next_files_finish(
enumerator: *mut GFileEnumerator,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_file_enumerator_close_async(
enumerator: *mut GFileEnumerator,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_enumerator_close_finish(
enumerator: *mut GFileEnumerator,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_enumerator_is_closed(enumerator: *mut GFileEnumerator) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_enumerator_has_pending(enumerator: *mut GFileEnumerator) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_enumerator_set_pending(
enumerator: *mut GFileEnumerator,
pending: gboolean,
);
}
extern "C" {
pub fn _frida_g_file_enumerator_get_container(enumerator: *mut GFileEnumerator) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_enumerator_get_child(
enumerator: *mut GFileEnumerator,
info: *mut GFileInfo,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_file_enumerator_iterate(
direnum: *mut GFileEnumerator,
out_info: *mut *mut GFileInfo,
out_child: *mut *mut GFile,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileIconClass {
_unused: [u8; 0],
}
pub type GFileIconClass = _GFileIconClass;
extern "C" {
pub fn _frida_g_file_icon_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_icon_new(file: *mut GFile) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_file_icon_get_file(icon: *mut GFileIcon) -> *mut GFile;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileInfoClass {
_unused: [u8; 0],
}
pub type GFileInfoClass = _GFileInfoClass;
extern "C" {
pub fn _frida_g_file_info_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_info_new() -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_info_dup(other: *mut GFileInfo) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_info_copy_into(src_info: *mut GFileInfo, dest_info: *mut GFileInfo);
}
extern "C" {
pub fn _frida_g_file_info_has_attribute(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_info_has_namespace(
info: *mut GFileInfo,
name_space: *const ::std::os::raw::c_char,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_info_list_attributes(
info: *mut GFileInfo,
name_space: *const ::std::os::raw::c_char,
) -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_data(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
type_: *mut GFileAttributeType,
value_pp: *mut gpointer,
status: *mut GFileAttributeStatus,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_type(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> GFileAttributeType;
}
extern "C" {
pub fn _frida_g_file_info_remove_attribute(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_status(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> GFileAttributeStatus;
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_status(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
status: GFileAttributeStatus,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_as_string(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_string(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_byte_string(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_boolean(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_uint32(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> guint32;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_int32(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> gint32;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_uint64(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> guint64;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_int64(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> gint64;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_object(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_file_info_get_attribute_stringv(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
) -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_set_attribute(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
type_: GFileAttributeType,
value_p: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_string(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_byte_string(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_boolean(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: gboolean,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_uint32(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: guint32,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_int32(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: gint32,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_uint64(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: guint64,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_int64(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: gint64,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_object(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: *mut GObject,
);
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_stringv(
info: *mut GFileInfo,
attribute: *const ::std::os::raw::c_char,
attr_value: *mut *mut ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_file_info_clear_status(info: *mut GFileInfo);
}
extern "C" {
pub fn _frida_g_file_info_get_deletion_date(info: *mut GFileInfo) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_file_info_get_file_type(info: *mut GFileInfo) -> GFileType;
}
extern "C" {
pub fn _frida_g_file_info_get_is_hidden(info: *mut GFileInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_info_get_is_backup(info: *mut GFileInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_info_get_is_symlink(info: *mut GFileInfo) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_info_get_name(info: *mut GFileInfo) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_display_name(
info: *mut GFileInfo,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_edit_name(info: *mut GFileInfo) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_icon(info: *mut GFileInfo) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_file_info_get_symbolic_icon(info: *mut GFileInfo) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_file_info_get_content_type(
info: *mut GFileInfo,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_size(info: *mut GFileInfo) -> goffset;
}
extern "C" {
pub fn _frida_g_file_info_get_modification_time(info: *mut GFileInfo, result: *mut GTimeVal);
}
extern "C" {
pub fn _frida_g_file_info_get_modification_date_time(info: *mut GFileInfo) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_file_info_get_access_date_time(info: *mut GFileInfo) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_file_info_get_creation_date_time(info: *mut GFileInfo) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_file_info_get_symlink_target(
info: *mut GFileInfo,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_etag(info: *mut GFileInfo) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_info_get_sort_order(info: *mut GFileInfo) -> gint32;
}
extern "C" {
pub fn _frida_g_file_info_set_attribute_mask(
info: *mut GFileInfo,
mask: *mut GFileAttributeMatcher,
);
}
extern "C" {
pub fn _frida_g_file_info_unset_attribute_mask(info: *mut GFileInfo);
}
extern "C" {
pub fn _frida_g_file_info_set_file_type(info: *mut GFileInfo, type_: GFileType);
}
extern "C" {
pub fn _frida_g_file_info_set_is_hidden(info: *mut GFileInfo, is_hidden: gboolean);
}
extern "C" {
pub fn _frida_g_file_info_set_is_symlink(info: *mut GFileInfo, is_symlink: gboolean);
}
extern "C" {
pub fn _frida_g_file_info_set_name(info: *mut GFileInfo, name: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_file_info_set_display_name(
info: *mut GFileInfo,
display_name: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_file_info_set_edit_name(
info: *mut GFileInfo,
edit_name: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_file_info_set_icon(info: *mut GFileInfo, icon: *mut GIcon);
}
extern "C" {
pub fn _frida_g_file_info_set_symbolic_icon(info: *mut GFileInfo, icon: *mut GIcon);
}
extern "C" {
pub fn _frida_g_file_info_set_content_type(
info: *mut GFileInfo,
content_type: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_file_info_set_size(info: *mut GFileInfo, size: goffset);
}
extern "C" {
pub fn _frida_g_file_info_set_modification_time(info: *mut GFileInfo, mtime: *mut GTimeVal);
}
extern "C" {
pub fn _frida_g_file_info_set_modification_date_time(
info: *mut GFileInfo,
mtime: *mut GDateTime,
);
}
extern "C" {
pub fn _frida_g_file_info_set_access_date_time(info: *mut GFileInfo, atime: *mut GDateTime);
}
extern "C" {
pub fn _frida_g_file_info_set_creation_date_time(
info: *mut GFileInfo,
creation_time: *mut GDateTime,
);
}
extern "C" {
pub fn _frida_g_file_info_set_symlink_target(
info: *mut GFileInfo,
symlink_target: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_file_info_set_sort_order(info: *mut GFileInfo, sort_order: gint32);
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_new(
attributes: *const ::std::os::raw::c_char,
) -> *mut GFileAttributeMatcher;
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_ref(
matcher: *mut GFileAttributeMatcher,
) -> *mut GFileAttributeMatcher;
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher);
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_subtract(
matcher: *mut GFileAttributeMatcher,
subtract: *mut GFileAttributeMatcher,
) -> *mut GFileAttributeMatcher;
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_matches(
matcher: *mut GFileAttributeMatcher,
attribute: *const ::std::os::raw::c_char,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_matches_only(
matcher: *mut GFileAttributeMatcher,
attribute: *const ::std::os::raw::c_char,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_enumerate_namespace(
matcher: *mut GFileAttributeMatcher,
ns: *const ::std::os::raw::c_char,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_enumerate_next(
matcher: *mut GFileAttributeMatcher,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_file_attribute_matcher_to_string(
matcher: *mut GFileAttributeMatcher,
) -> *mut ::std::os::raw::c_char;
}
pub type GFileInputStreamClass = _GFileInputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileInputStreamPrivate {
_unused: [u8; 0],
}
pub type GFileInputStreamPrivate = _GFileInputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileInputStream {
pub parent_instance: GInputStream,
pub priv_: *mut GFileInputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileInputStreamClass {
pub parent_class: GInputStreamClass,
pub tell: ::std::option::Option<unsafe extern "C" fn(stream: *mut GFileInputStream) -> goffset>,
pub can_seek:
::std::option::Option<unsafe extern "C" fn(stream: *mut GFileInputStream) -> gboolean>,
pub seek: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileInputStream,
offset: goffset,
type_: GSeekType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub query_info: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileInputStream,
attributes: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub query_info_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileInputStream,
attributes: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub query_info_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_file_input_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_input_stream_query_info(
stream: *mut GFileInputStream,
attributes: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_input_stream_query_info_async(
stream: *mut GFileInputStream,
attributes: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_input_stream_query_info_finish(
stream: *mut GFileInputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_io_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_io_error_from_errno(err_no: gint) -> GIOErrorEnum;
}
extern "C" {
pub fn _frida_g_io_error_from_file_error(file_error: GFileError) -> GIOErrorEnum;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOStreamPrivate {
_unused: [u8; 0],
}
pub type GIOStreamPrivate = _GIOStreamPrivate;
pub type GIOStreamClass = _GIOStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOStream {
pub parent_instance: GObject,
pub priv_: *mut GIOStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOStreamClass {
pub parent_class: GObjectClass,
pub get_input_stream:
::std::option::Option<unsafe extern "C" fn(stream: *mut GIOStream) -> *mut GInputStream>,
pub get_output_stream:
::std::option::Option<unsafe extern "C" fn(stream: *mut GIOStream) -> *mut GOutputStream>,
pub close_fn: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GIOStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub close_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GIOStream,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub close_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GIOStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved7: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved8: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved9: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved10: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_io_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_io_stream_get_input_stream(stream: *mut GIOStream) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_io_stream_get_output_stream(stream: *mut GIOStream) -> *mut GOutputStream;
}
extern "C" {
pub fn _frida_g_io_stream_splice_async(
stream1: *mut GIOStream,
stream2: *mut GIOStream,
flags: GIOStreamSpliceFlags,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_io_stream_splice_finish(
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_stream_close(
stream: *mut GIOStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_stream_close_async(
stream: *mut GIOStream,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_io_stream_close_finish(
stream: *mut GIOStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_stream_is_closed(stream: *mut GIOStream) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_stream_has_pending(stream: *mut GIOStream) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_stream_set_pending(
stream: *mut GIOStream,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_stream_clear_pending(stream: *mut GIOStream);
}
pub type GFileIOStreamClass = _GFileIOStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileIOStreamPrivate {
_unused: [u8; 0],
}
pub type GFileIOStreamPrivate = _GFileIOStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileIOStream {
pub parent_instance: GIOStream,
pub priv_: *mut GFileIOStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileIOStreamClass {
pub parent_class: GIOStreamClass,
pub tell: ::std::option::Option<unsafe extern "C" fn(stream: *mut GFileIOStream) -> goffset>,
pub can_seek:
::std::option::Option<unsafe extern "C" fn(stream: *mut GFileIOStream) -> gboolean>,
pub seek: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileIOStream,
offset: goffset,
type_: GSeekType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub can_truncate:
::std::option::Option<unsafe extern "C" fn(stream: *mut GFileIOStream) -> gboolean>,
pub truncate_fn: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileIOStream,
size: goffset,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub query_info: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileIOStream,
attributes: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub query_info_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileIOStream,
attributes: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub query_info_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileIOStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub get_etag: ::std::option::Option<
unsafe extern "C" fn(stream: *mut GFileIOStream) -> *mut ::std::os::raw::c_char,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_file_io_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_io_stream_query_info(
stream: *mut GFileIOStream,
attributes: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_io_stream_query_info_async(
stream: *mut GFileIOStream,
attributes: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_io_stream_query_info_finish(
stream: *mut GFileIOStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_io_stream_get_etag(
stream: *mut GFileIOStream,
) -> *mut ::std::os::raw::c_char;
}
pub type GFileMonitorClass = _GFileMonitorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileMonitorPrivate {
_unused: [u8; 0],
}
pub type GFileMonitorPrivate = _GFileMonitorPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileMonitor {
pub parent_instance: GObject,
pub priv_: *mut GFileMonitorPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileMonitorClass {
pub parent_class: GObjectClass,
pub changed: ::std::option::Option<
unsafe extern "C" fn(
monitor: *mut GFileMonitor,
file: *mut GFile,
other_file: *mut GFile,
event_type: GFileMonitorEvent,
),
>,
pub cancel: ::std::option::Option<unsafe extern "C" fn(monitor: *mut GFileMonitor) -> gboolean>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_file_monitor_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_monitor_cancel(monitor: *mut GFileMonitor) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_monitor_is_cancelled(monitor: *mut GFileMonitor) -> gboolean;
}
extern "C" {
pub fn _frida_g_file_monitor_set_rate_limit(monitor: *mut GFileMonitor, limit_msecs: gint);
}
extern "C" {
pub fn _frida_g_file_monitor_emit_event(
monitor: *mut GFileMonitor,
child: *mut GFile,
other_file: *mut GFile,
event_type: GFileMonitorEvent,
);
}
pub type GFilenameCompleterClass = _GFilenameCompleterClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFilenameCompleterClass {
pub parent_class: GObjectClass,
pub got_completion_data:
::std::option::Option<unsafe extern "C" fn(filename_completer: *mut GFilenameCompleter)>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_filename_completer_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_filename_completer_new() -> *mut GFilenameCompleter;
}
extern "C" {
pub fn _frida_g_filename_completer_get_completion_suffix(
completer: *mut GFilenameCompleter,
initial_text: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_filename_completer_get_completions(
completer: *mut GFilenameCompleter,
initial_text: *const ::std::os::raw::c_char,
) -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_filename_completer_set_dirs_only(
completer: *mut GFilenameCompleter,
dirs_only: gboolean,
);
}
pub type GFileOutputStreamClass = _GFileOutputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileOutputStreamPrivate {
_unused: [u8; 0],
}
pub type GFileOutputStreamPrivate = _GFileOutputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileOutputStream {
pub parent_instance: GOutputStream,
pub priv_: *mut GFileOutputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GFileOutputStreamClass {
pub parent_class: GOutputStreamClass,
pub tell:
::std::option::Option<unsafe extern "C" fn(stream: *mut GFileOutputStream) -> goffset>,
pub can_seek:
::std::option::Option<unsafe extern "C" fn(stream: *mut GFileOutputStream) -> gboolean>,
pub seek: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileOutputStream,
offset: goffset,
type_: GSeekType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub can_truncate:
::std::option::Option<unsafe extern "C" fn(stream: *mut GFileOutputStream) -> gboolean>,
pub truncate_fn: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileOutputStream,
size: goffset,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub query_info: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileOutputStream,
attributes: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub query_info_async: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileOutputStream,
attributes: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub query_info_finish: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GFileOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo,
>,
pub get_etag: ::std::option::Option<
unsafe extern "C" fn(stream: *mut GFileOutputStream) -> *mut ::std::os::raw::c_char,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_file_output_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_output_stream_query_info(
stream: *mut GFileOutputStream,
attributes: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_output_stream_query_info_async(
stream: *mut GFileOutputStream,
attributes: *const ::std::os::raw::c_char,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_file_output_stream_query_info_finish(
stream: *mut GFileOutputStream,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_file_output_stream_get_etag(
stream: *mut GFileOutputStream,
) -> *mut ::std::os::raw::c_char;
}
pub type GInetAddressClass = _GInetAddressClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetAddressPrivate {
_unused: [u8; 0],
}
pub type GInetAddressPrivate = _GInetAddressPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetAddress {
pub parent_instance: GObject,
pub priv_: *mut GInetAddressPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetAddressClass {
pub parent_class: GObjectClass,
pub to_string:
::std::option::Option<unsafe extern "C" fn(address: *mut GInetAddress) -> *mut gchar>,
pub to_bytes:
::std::option::Option<unsafe extern "C" fn(address: *mut GInetAddress) -> *const guint8>,
}
extern "C" {
pub fn _frida_g_inet_address_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_inet_address_new_from_string(string: *const gchar) -> *mut GInetAddress;
}
extern "C" {
pub fn _frida_g_inet_address_new_from_bytes(
bytes: *const guint8,
family: GSocketFamily,
) -> *mut GInetAddress;
}
extern "C" {
pub fn _frida_g_inet_address_new_loopback(family: GSocketFamily) -> *mut GInetAddress;
}
extern "C" {
pub fn _frida_g_inet_address_new_any(family: GSocketFamily) -> *mut GInetAddress;
}
extern "C" {
pub fn _frida_g_inet_address_equal(
address: *mut GInetAddress,
other_address: *mut GInetAddress,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_to_string(address: *mut GInetAddress) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_inet_address_to_bytes(address: *mut GInetAddress) -> *const guint8;
}
extern "C" {
pub fn _frida_g_inet_address_get_native_size(address: *mut GInetAddress) -> gsize;
}
extern "C" {
pub fn _frida_g_inet_address_get_family(address: *mut GInetAddress) -> GSocketFamily;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_any(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_loopback(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_link_local(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_site_local(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_multicast(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_mc_global(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_mc_link_local(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_mc_node_local(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_mc_org_local(address: *mut GInetAddress) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_get_is_mc_site_local(address: *mut GInetAddress) -> gboolean;
}
pub type GInetAddressMaskClass = _GInetAddressMaskClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetAddressMaskPrivate {
_unused: [u8; 0],
}
pub type GInetAddressMaskPrivate = _GInetAddressMaskPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetAddressMask {
pub parent_instance: GObject,
pub priv_: *mut GInetAddressMaskPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetAddressMaskClass {
pub parent_class: GObjectClass,
}
extern "C" {
pub fn _frida_g_inet_address_mask_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_inet_address_mask_new(
addr: *mut GInetAddress,
length: guint,
error: *mut *mut GError,
) -> *mut GInetAddressMask;
}
extern "C" {
pub fn _frida_g_inet_address_mask_new_from_string(
mask_string: *const gchar,
error: *mut *mut GError,
) -> *mut GInetAddressMask;
}
extern "C" {
pub fn _frida_g_inet_address_mask_to_string(mask: *mut GInetAddressMask) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_inet_address_mask_get_family(mask: *mut GInetAddressMask) -> GSocketFamily;
}
extern "C" {
pub fn _frida_g_inet_address_mask_get_address(mask: *mut GInetAddressMask)
-> *mut GInetAddress;
}
extern "C" {
pub fn _frida_g_inet_address_mask_get_length(mask: *mut GInetAddressMask) -> guint;
}
extern "C" {
pub fn _frida_g_inet_address_mask_matches(
mask: *mut GInetAddressMask,
address: *mut GInetAddress,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_inet_address_mask_equal(
mask: *mut GInetAddressMask,
mask2: *mut GInetAddressMask,
) -> gboolean;
}
pub type GSocketAddressClass = _GSocketAddressClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketAddress {
pub parent_instance: GObject,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketAddressClass {
pub parent_class: GObjectClass,
pub get_family:
::std::option::Option<unsafe extern "C" fn(address: *mut GSocketAddress) -> GSocketFamily>,
pub get_native_size:
::std::option::Option<unsafe extern "C" fn(address: *mut GSocketAddress) -> gssize>,
pub to_native: ::std::option::Option<
unsafe extern "C" fn(
address: *mut GSocketAddress,
dest: gpointer,
destlen: gsize,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_socket_address_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_address_get_family(address: *mut GSocketAddress) -> GSocketFamily;
}
extern "C" {
pub fn _frida_g_socket_address_new_from_native(
native: gpointer,
len: gsize,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_socket_address_to_native(
address: *mut GSocketAddress,
dest: gpointer,
destlen: gsize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_address_get_native_size(address: *mut GSocketAddress) -> gssize;
}
pub type GInetSocketAddressClass = _GInetSocketAddressClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetSocketAddressPrivate {
_unused: [u8; 0],
}
pub type GInetSocketAddressPrivate = _GInetSocketAddressPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetSocketAddress {
pub parent_instance: GSocketAddress,
pub priv_: *mut GInetSocketAddressPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GInetSocketAddressClass {
pub parent_class: GSocketAddressClass,
}
extern "C" {
pub fn _frida_g_inet_socket_address_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_inet_socket_address_new(
address: *mut GInetAddress,
port: guint16,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_inet_socket_address_new_from_string(
address: *const ::std::os::raw::c_char,
port: guint,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_inet_socket_address_get_address(
address: *mut GInetSocketAddress,
) -> *mut GInetAddress;
}
extern "C" {
pub fn _frida_g_inet_socket_address_get_port(address: *mut GInetSocketAddress) -> guint16;
}
extern "C" {
pub fn _frida_g_inet_socket_address_get_flowinfo(address: *mut GInetSocketAddress) -> guint32;
}
extern "C" {
pub fn _frida_g_inet_socket_address_get_scope_id(address: *mut GInetSocketAddress) -> guint32;
}
extern "C" {
pub fn _frida_g_app_info_create_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_converter_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_converter_result_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_data_stream_byte_order_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_data_stream_newline_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_attribute_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_attribute_info_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_attribute_status_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_query_info_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_create_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_measure_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_mount_mount_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_mount_unmount_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_drive_start_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_drive_start_stop_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_copy_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_monitor_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_filesystem_preview_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_file_monitor_event_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_io_error_enum_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_ask_password_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_password_save_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_mount_operation_result_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_output_stream_splice_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_io_stream_splice_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_emblem_origin_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_resolver_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_resolver_record_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_resource_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_resource_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_resource_lookup_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_family_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_msg_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_protocol_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_zlib_compressor_format_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_unix_socket_address_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_bus_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_bus_name_owner_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_bus_name_watcher_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_proxy_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_connection_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_capability_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_call_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_message_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_message_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_message_header_field_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_property_info_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_subtree_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_server_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_signal_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_send_message_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_credentials_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_message_byte_order_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_application_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_certificate_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_authentication_mode_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_channel_binding_type_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_channel_binding_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_rehandshake_mode_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_password_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_interaction_result_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_interface_skeleton_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_dbus_object_manager_client_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_database_verify_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_database_lookup_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_certificate_request_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_protocol_version_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_io_module_scope_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_client_event_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_listener_event_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_test_dbus_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_subprocess_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_notification_priority_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_network_connectivity_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_pollable_return_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_memory_monitor_warning_level_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_resolver_name_lookup_flags_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_settings_bind_flags_get_type() -> GType;
}
pub const GModuleFlags_G_MODULE_BIND_LAZY: GModuleFlags = 1;
pub const GModuleFlags_G_MODULE_BIND_LOCAL: GModuleFlags = 2;
pub const GModuleFlags_G_MODULE_BIND_MASK: GModuleFlags = 3;
pub type GModuleFlags = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GModule {
_unused: [u8; 0],
}
pub type GModule = _GModule;
pub type GModuleCheckInit =
::std::option::Option<unsafe extern "C" fn(module: *mut GModule) -> *const gchar>;
pub type GModuleUnload = ::std::option::Option<unsafe extern "C" fn(module: *mut GModule)>;
extern "C" {
pub fn _frida_g_module_error_quark() -> GQuark;
}
pub const GModuleError_G_MODULE_ERROR_FAILED: GModuleError = 0;
pub const GModuleError_G_MODULE_ERROR_CHECK_FAILED: GModuleError = 1;
pub type GModuleError = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_module_supported() -> gboolean;
}
extern "C" {
pub fn _frida_g_module_open(file_name: *const gchar, flags: GModuleFlags) -> *mut GModule;
}
extern "C" {
pub fn _frida_g_module_open_full(
file_name: *const gchar,
flags: GModuleFlags,
error: *mut *mut GError,
) -> *mut GModule;
}
extern "C" {
pub fn _frida_g_module_close(module: *mut GModule) -> gboolean;
}
extern "C" {
pub fn _frida_g_module_make_resident(module: *mut GModule);
}
extern "C" {
pub fn _frida_g_module_error() -> *const gchar;
}
extern "C" {
pub fn _frida_g_module_symbol(
module: *mut GModule,
symbol_name: *const gchar,
symbol: *mut gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_module_name(module: *mut GModule) -> *const gchar;
}
extern "C" {
pub fn _frida_g_module_build_path(
directory: *const gchar,
module_name: *const gchar,
) -> *mut gchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOModuleScope {
_unused: [u8; 0],
}
pub type GIOModuleScope = _GIOModuleScope;
extern "C" {
pub fn _frida_g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope;
}
extern "C" {
pub fn _frida_g_io_module_scope_free(scope: *mut GIOModuleScope);
}
extern "C" {
pub fn _frida_g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const gchar);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GIOModuleClass {
_unused: [u8; 0],
}
pub type GIOModuleClass = _GIOModuleClass;
extern "C" {
pub fn _frida_g_io_module_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_io_module_new(filename: *const gchar) -> *mut GIOModule;
}
extern "C" {
pub fn _frida_g_io_modules_scan_all_in_directory(dirname: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn _frida_g_io_modules_load_all_in_directory(dirname: *const gchar) -> *mut GList;
}
extern "C" {
pub fn _frida_g_io_modules_scan_all_in_directory_with_scope(
dirname: *const gchar,
scope: *mut GIOModuleScope,
);
}
extern "C" {
pub fn _frida_g_io_modules_load_all_in_directory_with_scope(
dirname: *const gchar,
scope: *mut GIOModuleScope,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_io_extension_point_register(
name: *const ::std::os::raw::c_char,
) -> *mut GIOExtensionPoint;
}
extern "C" {
pub fn _frida_g_io_extension_point_lookup(
name: *const ::std::os::raw::c_char,
) -> *mut GIOExtensionPoint;
}
extern "C" {
pub fn _frida_g_io_extension_point_set_required_type(
extension_point: *mut GIOExtensionPoint,
type_: GType,
);
}
extern "C" {
pub fn _frida_g_io_extension_point_get_required_type(
extension_point: *mut GIOExtensionPoint,
) -> GType;
}
extern "C" {
pub fn _frida_g_io_extension_point_get_extensions(
extension_point: *mut GIOExtensionPoint,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_io_extension_point_get_extension_by_name(
extension_point: *mut GIOExtensionPoint,
name: *const ::std::os::raw::c_char,
) -> *mut GIOExtension;
}
extern "C" {
pub fn _frida_g_io_extension_point_implement(
extension_point_name: *const ::std::os::raw::c_char,
type_: GType,
extension_name: *const ::std::os::raw::c_char,
priority: gint,
) -> *mut GIOExtension;
}
extern "C" {
pub fn _frida_g_io_extension_get_type(extension: *mut GIOExtension) -> GType;
}
extern "C" {
pub fn _frida_g_io_extension_get_name(
extension: *mut GIOExtension,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_io_extension_get_priority(extension: *mut GIOExtension) -> gint;
}
extern "C" {
pub fn _frida_g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut GTypeClass;
}
extern "C" {
pub fn g_io_module_load(module: *mut GIOModule);
}
extern "C" {
pub fn g_io_module_unload(module: *mut GIOModule);
}
extern "C" {
pub fn g_io_module_query() -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_io_scheduler_push_job(
job_func: GIOSchedulerJobFunc,
user_data: gpointer,
notify: GDestroyNotify,
io_priority: gint,
cancellable: *mut GCancellable,
);
}
extern "C" {
pub fn _frida_g_io_scheduler_cancel_all_jobs();
}
extern "C" {
pub fn _frida_g_io_scheduler_job_send_to_mainloop(
job: *mut GIOSchedulerJob,
func: GSourceFunc,
user_data: gpointer,
notify: GDestroyNotify,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_io_scheduler_job_send_to_mainloop_async(
job: *mut GIOSchedulerJob,
func: GSourceFunc,
user_data: gpointer,
notify: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_list_model_get_type() -> GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GListModel {
_unused: [u8; 0],
}
pub type GListModel = _GListModel;
pub type GListModelInterface = _GListModelInterface;
pub type GListModel_autoptr = *mut GListModel;
pub type GListModel_listautoptr = *mut GList;
pub type GListModel_slistautoptr = *mut GSList;
pub type GListModel_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GListModelInterface {
pub g_iface: GTypeInterface,
pub get_item_type: ::std::option::Option<unsafe extern "C" fn(list: *mut GListModel) -> GType>,
pub get_n_items: ::std::option::Option<unsafe extern "C" fn(list: *mut GListModel) -> guint>,
pub get_item: ::std::option::Option<
unsafe extern "C" fn(list: *mut GListModel, position: guint) -> gpointer,
>,
}
extern "C" {
pub fn _frida_g_list_model_get_item_type(list: *mut GListModel) -> GType;
}
extern "C" {
pub fn _frida_g_list_model_get_n_items(list: *mut GListModel) -> guint;
}
extern "C" {
pub fn _frida_g_list_model_get_item(list: *mut GListModel, position: guint) -> gpointer;
}
extern "C" {
pub fn _frida_g_list_model_get_object(list: *mut GListModel, position: guint) -> *mut GObject;
}
extern "C" {
pub fn _frida_g_list_model_items_changed(
list: *mut GListModel,
position: guint,
removed: guint,
added: guint,
);
}
extern "C" {
pub fn _frida_g_list_store_get_type() -> GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GListStore {
_unused: [u8; 0],
}
pub type GListStore = _GListStore;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct GListStoreClass {
pub parent_class: GObjectClass,
}
pub type GListStore_autoptr = *mut GListStore;
pub type GListStore_listautoptr = *mut GList;
pub type GListStore_slistautoptr = *mut GSList;
pub type GListStore_queueautoptr = *mut GQueue;
pub type GListStoreClass_autoptr = *mut GListStoreClass;
pub type GListStoreClass_listautoptr = *mut GList;
pub type GListStoreClass_slistautoptr = *mut GSList;
pub type GListStoreClass_queueautoptr = *mut GQueue;
extern "C" {
pub fn _frida_g_list_store_new(item_type: GType) -> *mut GListStore;
}
extern "C" {
pub fn _frida_g_list_store_insert(store: *mut GListStore, position: guint, item: gpointer);
}
extern "C" {
pub fn _frida_g_list_store_insert_sorted(
store: *mut GListStore,
item: gpointer,
compare_func: GCompareDataFunc,
user_data: gpointer,
) -> guint;
}
extern "C" {
pub fn _frida_g_list_store_sort(
store: *mut GListStore,
compare_func: GCompareDataFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_list_store_append(store: *mut GListStore, item: gpointer);
}
extern "C" {
pub fn _frida_g_list_store_remove(store: *mut GListStore, position: guint);
}
extern "C" {
pub fn _frida_g_list_store_remove_all(store: *mut GListStore);
}
extern "C" {
pub fn _frida_g_list_store_splice(
store: *mut GListStore,
position: guint,
n_removals: guint,
additions: *mut gpointer,
n_additions: guint,
);
}
extern "C" {
pub fn _frida_g_list_store_find(
store: *mut GListStore,
item: gpointer,
position: *mut guint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_list_store_find_with_equal_func(
store: *mut GListStore,
item: gpointer,
equal_func: GEqualFunc,
position: *mut guint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_list_store_find_with_equal_func_full(
store: *mut GListStore,
item: gpointer,
equal_func: GEqualFuncFull,
user_data: gpointer,
position: *mut guint,
) -> gboolean;
}
pub type GLoadableIconIface = _GLoadableIconIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GLoadableIconIface {
pub g_iface: GTypeInterface,
pub load: ::std::option::Option<
unsafe extern "C" fn(
icon: *mut GLoadableIcon,
size: ::std::os::raw::c_int,
type_: *mut *mut ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GInputStream,
>,
pub load_async: ::std::option::Option<
unsafe extern "C" fn(
icon: *mut GLoadableIcon,
size: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub load_finish: ::std::option::Option<
unsafe extern "C" fn(
icon: *mut GLoadableIcon,
res: *mut GAsyncResult,
type_: *mut *mut ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut GInputStream,
>,
}
extern "C" {
pub fn _frida_g_loadable_icon_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_loadable_icon_load(
icon: *mut GLoadableIcon,
size: ::std::os::raw::c_int,
type_: *mut *mut ::std::os::raw::c_char,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_loadable_icon_load_async(
icon: *mut GLoadableIcon,
size: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_loadable_icon_load_finish(
icon: *mut GLoadableIcon,
res: *mut GAsyncResult,
type_: *mut *mut ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut GInputStream;
}
pub type GMemoryInputStreamClass = _GMemoryInputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemoryInputStreamPrivate {
_unused: [u8; 0],
}
pub type GMemoryInputStreamPrivate = _GMemoryInputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemoryInputStream {
pub parent_instance: GInputStream,
pub priv_: *mut GMemoryInputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemoryInputStreamClass {
pub parent_class: GInputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_memory_input_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_memory_input_stream_new() -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_memory_input_stream_new_from_data(
data: *const ::std::os::raw::c_void,
len: gssize,
destroy: GDestroyNotify,
) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_memory_input_stream_new_from_bytes(bytes: *mut GBytes) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_memory_input_stream_add_data(
stream: *mut GMemoryInputStream,
data: *const ::std::os::raw::c_void,
len: gssize,
destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_memory_input_stream_add_bytes(
stream: *mut GMemoryInputStream,
bytes: *mut GBytes,
);
}
extern "C" {
pub fn _frida_g_memory_monitor_get_type() -> GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemoryMonitor {
_unused: [u8; 0],
}
pub type GMemoryMonitor = _GMemoryMonitor;
pub type GMemoryMonitorInterface = _GMemoryMonitorInterface;
pub type GMemoryMonitor_autoptr = *mut GMemoryMonitor;
pub type GMemoryMonitor_listautoptr = *mut GList;
pub type GMemoryMonitor_slistautoptr = *mut GSList;
pub type GMemoryMonitor_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemoryMonitorInterface {
pub g_iface: GTypeInterface,
pub low_memory_warning: ::std::option::Option<
unsafe extern "C" fn(monitor: *mut GMemoryMonitor, level: GMemoryMonitorWarningLevel),
>,
}
extern "C" {
pub fn _frida_g_memory_monitor_dup_default() -> *mut GMemoryMonitor;
}
pub type GMemoryOutputStreamClass = _GMemoryOutputStreamClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemoryOutputStreamPrivate {
_unused: [u8; 0],
}
pub type GMemoryOutputStreamPrivate = _GMemoryOutputStreamPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemoryOutputStream {
pub parent_instance: GOutputStream,
pub priv_: *mut GMemoryOutputStreamPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMemoryOutputStreamClass {
pub parent_class: GOutputStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
pub type GReallocFunc =
::std::option::Option<unsafe extern "C" fn(data: gpointer, size: gsize) -> gpointer>;
extern "C" {
pub fn _frida_g_memory_output_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_memory_output_stream_new(
data: gpointer,
size: gsize,
realloc_function: GReallocFunc,
destroy_function: GDestroyNotify,
) -> *mut GOutputStream;
}
extern "C" {
pub fn _frida_g_memory_output_stream_new_resizable() -> *mut GOutputStream;
}
extern "C" {
pub fn _frida_g_memory_output_stream_get_data(ostream: *mut GMemoryOutputStream) -> gpointer;
}
extern "C" {
pub fn _frida_g_memory_output_stream_get_size(ostream: *mut GMemoryOutputStream) -> gsize;
}
extern "C" {
pub fn _frida_g_memory_output_stream_get_data_size(ostream: *mut GMemoryOutputStream) -> gsize;
}
extern "C" {
pub fn _frida_g_memory_output_stream_steal_data(ostream: *mut GMemoryOutputStream) -> gpointer;
}
extern "C" {
pub fn _frida_g_memory_output_stream_steal_as_bytes(
ostream: *mut GMemoryOutputStream,
) -> *mut GBytes;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuModelPrivate {
_unused: [u8; 0],
}
pub type GMenuModelPrivate = _GMenuModelPrivate;
pub type GMenuModelClass = _GMenuModelClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuAttributeIterPrivate {
_unused: [u8; 0],
}
pub type GMenuAttributeIterPrivate = _GMenuAttributeIterPrivate;
pub type GMenuAttributeIterClass = _GMenuAttributeIterClass;
pub type GMenuAttributeIter = _GMenuAttributeIter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuLinkIterPrivate {
_unused: [u8; 0],
}
pub type GMenuLinkIterPrivate = _GMenuLinkIterPrivate;
pub type GMenuLinkIterClass = _GMenuLinkIterClass;
pub type GMenuLinkIter = _GMenuLinkIter;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuModel {
pub parent_instance: GObject,
pub priv_: *mut GMenuModelPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuModelClass {
pub parent_class: GObjectClass,
pub is_mutable: ::std::option::Option<unsafe extern "C" fn(model: *mut GMenuModel) -> gboolean>,
pub get_n_items: ::std::option::Option<unsafe extern "C" fn(model: *mut GMenuModel) -> gint>,
pub get_item_attributes: ::std::option::Option<
unsafe extern "C" fn(
model: *mut GMenuModel,
item_index: gint,
attributes: *mut *mut GHashTable,
),
>,
pub iterate_item_attributes: ::std::option::Option<
unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint) -> *mut GMenuAttributeIter,
>,
pub get_item_attribute_value: ::std::option::Option<
unsafe extern "C" fn(
model: *mut GMenuModel,
item_index: gint,
attribute: *const gchar,
expected_type: *const GVariantType,
) -> *mut GVariant,
>,
pub get_item_links: ::std::option::Option<
unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint, links: *mut *mut GHashTable),
>,
pub iterate_item_links: ::std::option::Option<
unsafe extern "C" fn(model: *mut GMenuModel, item_index: gint) -> *mut GMenuLinkIter,
>,
pub get_item_link: ::std::option::Option<
unsafe extern "C" fn(
model: *mut GMenuModel,
item_index: gint,
link: *const gchar,
) -> *mut GMenuModel,
>,
}
extern "C" {
pub fn _frida_g_menu_model_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_menu_model_is_mutable(model: *mut GMenuModel) -> gboolean;
}
extern "C" {
pub fn _frida_g_menu_model_get_n_items(model: *mut GMenuModel) -> gint;
}
extern "C" {
pub fn _frida_g_menu_model_iterate_item_attributes(
model: *mut GMenuModel,
item_index: gint,
) -> *mut GMenuAttributeIter;
}
extern "C" {
pub fn _frida_g_menu_model_get_item_attribute_value(
model: *mut GMenuModel,
item_index: gint,
attribute: *const gchar,
expected_type: *const GVariantType,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_menu_model_get_item_attribute(
model: *mut GMenuModel,
item_index: gint,
attribute: *const gchar,
format_string: *const gchar,
...
) -> gboolean;
}
extern "C" {
pub fn _frida_g_menu_model_iterate_item_links(
model: *mut GMenuModel,
item_index: gint,
) -> *mut GMenuLinkIter;
}
extern "C" {
pub fn _frida_g_menu_model_get_item_link(
model: *mut GMenuModel,
item_index: gint,
link: *const gchar,
) -> *mut GMenuModel;
}
extern "C" {
pub fn _frida_g_menu_model_items_changed(
model: *mut GMenuModel,
position: gint,
removed: gint,
added: gint,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuAttributeIter {
pub parent_instance: GObject,
pub priv_: *mut GMenuAttributeIterPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuAttributeIterClass {
pub parent_class: GObjectClass,
pub get_next: ::std::option::Option<
unsafe extern "C" fn(
iter: *mut GMenuAttributeIter,
out_name: *mut *const gchar,
value: *mut *mut GVariant,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_menu_attribute_iter_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_menu_attribute_iter_get_next(
iter: *mut GMenuAttributeIter,
out_name: *mut *const gchar,
value: *mut *mut GVariant,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_menu_attribute_iter_next(iter: *mut GMenuAttributeIter) -> gboolean;
}
extern "C" {
pub fn _frida_g_menu_attribute_iter_get_name(iter: *mut GMenuAttributeIter) -> *const gchar;
}
extern "C" {
pub fn _frida_g_menu_attribute_iter_get_value(iter: *mut GMenuAttributeIter) -> *mut GVariant;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuLinkIter {
pub parent_instance: GObject,
pub priv_: *mut GMenuLinkIterPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuLinkIterClass {
pub parent_class: GObjectClass,
pub get_next: ::std::option::Option<
unsafe extern "C" fn(
iter: *mut GMenuLinkIter,
out_link: *mut *const gchar,
value: *mut *mut GMenuModel,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_menu_link_iter_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_menu_link_iter_get_next(
iter: *mut GMenuLinkIter,
out_link: *mut *const gchar,
value: *mut *mut GMenuModel,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_menu_link_iter_next(iter: *mut GMenuLinkIter) -> gboolean;
}
extern "C" {
pub fn _frida_g_menu_link_iter_get_name(iter: *mut GMenuLinkIter) -> *const gchar;
}
extern "C" {
pub fn _frida_g_menu_link_iter_get_value(iter: *mut GMenuLinkIter) -> *mut GMenuModel;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenuItem {
_unused: [u8; 0],
}
pub type GMenuItem = _GMenuItem;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMenu {
_unused: [u8; 0],
}
pub type GMenu = _GMenu;
extern "C" {
pub fn _frida_g_menu_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_menu_new() -> *mut GMenu;
}
extern "C" {
pub fn _frida_g_menu_freeze(menu: *mut GMenu);
}
extern "C" {
pub fn _frida_g_menu_insert_item(menu: *mut GMenu, position: gint, item: *mut GMenuItem);
}
extern "C" {
pub fn _frida_g_menu_prepend_item(menu: *mut GMenu, item: *mut GMenuItem);
}
extern "C" {
pub fn _frida_g_menu_append_item(menu: *mut GMenu, item: *mut GMenuItem);
}
extern "C" {
pub fn _frida_g_menu_remove(menu: *mut GMenu, position: gint);
}
extern "C" {
pub fn _frida_g_menu_remove_all(menu: *mut GMenu);
}
extern "C" {
pub fn _frida_g_menu_insert(
menu: *mut GMenu,
position: gint,
label: *const gchar,
detailed_action: *const gchar,
);
}
extern "C" {
pub fn _frida_g_menu_prepend(
menu: *mut GMenu,
label: *const gchar,
detailed_action: *const gchar,
);
}
extern "C" {
pub fn _frida_g_menu_append(
menu: *mut GMenu,
label: *const gchar,
detailed_action: *const gchar,
);
}
extern "C" {
pub fn _frida_g_menu_insert_section(
menu: *mut GMenu,
position: gint,
label: *const gchar,
section: *mut GMenuModel,
);
}
extern "C" {
pub fn _frida_g_menu_prepend_section(
menu: *mut GMenu,
label: *const gchar,
section: *mut GMenuModel,
);
}
extern "C" {
pub fn _frida_g_menu_append_section(
menu: *mut GMenu,
label: *const gchar,
section: *mut GMenuModel,
);
}
extern "C" {
pub fn _frida_g_menu_insert_submenu(
menu: *mut GMenu,
position: gint,
label: *const gchar,
submenu: *mut GMenuModel,
);
}
extern "C" {
pub fn _frida_g_menu_prepend_submenu(
menu: *mut GMenu,
label: *const gchar,
submenu: *mut GMenuModel,
);
}
extern "C" {
pub fn _frida_g_menu_append_submenu(
menu: *mut GMenu,
label: *const gchar,
submenu: *mut GMenuModel,
);
}
extern "C" {
pub fn _frida_g_menu_item_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_menu_item_new(
label: *const gchar,
detailed_action: *const gchar,
) -> *mut GMenuItem;
}
extern "C" {
pub fn _frida_g_menu_item_new_from_model(
model: *mut GMenuModel,
item_index: gint,
) -> *mut GMenuItem;
}
extern "C" {
pub fn _frida_g_menu_item_new_submenu(
label: *const gchar,
submenu: *mut GMenuModel,
) -> *mut GMenuItem;
}
extern "C" {
pub fn _frida_g_menu_item_new_section(
label: *const gchar,
section: *mut GMenuModel,
) -> *mut GMenuItem;
}
extern "C" {
pub fn _frida_g_menu_item_get_attribute_value(
menu_item: *mut GMenuItem,
attribute: *const gchar,
expected_type: *const GVariantType,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_menu_item_get_attribute(
menu_item: *mut GMenuItem,
attribute: *const gchar,
format_string: *const gchar,
...
) -> gboolean;
}
extern "C" {
pub fn _frida_g_menu_item_get_link(
menu_item: *mut GMenuItem,
link: *const gchar,
) -> *mut GMenuModel;
}
extern "C" {
pub fn _frida_g_menu_item_set_attribute_value(
menu_item: *mut GMenuItem,
attribute: *const gchar,
value: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_menu_item_set_attribute(
menu_item: *mut GMenuItem,
attribute: *const gchar,
format_string: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_menu_item_set_link(
menu_item: *mut GMenuItem,
link: *const gchar,
model: *mut GMenuModel,
);
}
extern "C" {
pub fn _frida_g_menu_item_set_label(menu_item: *mut GMenuItem, label: *const gchar);
}
extern "C" {
pub fn _frida_g_menu_item_set_submenu(menu_item: *mut GMenuItem, submenu: *mut GMenuModel);
}
extern "C" {
pub fn _frida_g_menu_item_set_section(menu_item: *mut GMenuItem, section: *mut GMenuModel);
}
extern "C" {
pub fn _frida_g_menu_item_set_action_and_target_value(
menu_item: *mut GMenuItem,
action: *const gchar,
target_value: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_menu_item_set_action_and_target(
menu_item: *mut GMenuItem,
action: *const gchar,
format_string: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_menu_item_set_detailed_action(
menu_item: *mut GMenuItem,
detailed_action: *const gchar,
);
}
extern "C" {
pub fn _frida_g_menu_item_set_icon(menu_item: *mut GMenuItem, icon: *mut GIcon);
}
extern "C" {
pub fn _frida_g_dbus_connection_export_menu_model(
connection: *mut GDBusConnection,
object_path: *const gchar,
menu: *mut GMenuModel,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn _frida_g_dbus_connection_unexport_menu_model(
connection: *mut GDBusConnection,
export_id: guint,
);
}
pub type GMountIface = _GMountIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMountIface {
pub g_iface: GTypeInterface,
pub changed: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount)>,
pub unmounted: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount)>,
pub get_root: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GFile>,
pub get_name: ::std::option::Option<
unsafe extern "C" fn(mount: *mut GMount) -> *mut ::std::os::raw::c_char,
>,
pub get_icon: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GIcon>,
pub get_uuid: ::std::option::Option<
unsafe extern "C" fn(mount: *mut GMount) -> *mut ::std::os::raw::c_char,
>,
pub get_volume: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GVolume>,
pub get_drive: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GDrive>,
pub can_unmount: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> gboolean>,
pub can_eject: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> gboolean>,
pub unmount: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub unmount_finish: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub eject: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub eject_finish: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub remount: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
flags: GMountMountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub remount_finish: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub guess_content_type: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
force_rescan: gboolean,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub guess_content_type_finish: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut *mut gchar,
>,
pub guess_content_type_sync: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
force_rescan: gboolean,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut *mut gchar,
>,
pub pre_unmount: ::std::option::Option<unsafe extern "C" fn(mount: *mut GMount)>,
pub unmount_with_operation: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub unmount_with_operation_finish: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub eject_with_operation: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub eject_with_operation_finish: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub get_default_location:
::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GFile>,
pub get_sort_key:
::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> *const gchar>,
pub get_symbolic_icon:
::std::option::Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GIcon>,
}
extern "C" {
pub fn _frida_g_mount_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_mount_get_root(mount: *mut GMount) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_mount_get_default_location(mount: *mut GMount) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_mount_get_name(mount: *mut GMount) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_mount_get_icon(mount: *mut GMount) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_mount_get_symbolic_icon(mount: *mut GMount) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_mount_get_uuid(mount: *mut GMount) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_mount_get_volume(mount: *mut GMount) -> *mut GVolume;
}
extern "C" {
pub fn _frida_g_mount_get_drive(mount: *mut GMount) -> *mut GDrive;
}
extern "C" {
pub fn _frida_g_mount_can_unmount(mount: *mut GMount) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_can_eject(mount: *mut GMount) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_unmount(
mount: *mut GMount,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_mount_unmount_finish(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_eject(
mount: *mut GMount,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_mount_eject_finish(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_remount(
mount: *mut GMount,
flags: GMountMountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_mount_remount_finish(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_guess_content_type(
mount: *mut GMount,
force_rescan: gboolean,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_mount_guess_content_type_finish(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_mount_guess_content_type_sync(
mount: *mut GMount,
force_rescan: gboolean,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_mount_is_shadowed(mount: *mut GMount) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_shadow(mount: *mut GMount);
}
extern "C" {
pub fn _frida_g_mount_unshadow(mount: *mut GMount);
}
extern "C" {
pub fn _frida_g_mount_unmount_with_operation(
mount: *mut GMount,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_mount_unmount_with_operation_finish(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_eject_with_operation(
mount: *mut GMount,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_mount_eject_with_operation_finish(
mount: *mut GMount,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_get_sort_key(mount: *mut GMount) -> *const gchar;
}
pub type GMountOperationClass = _GMountOperationClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMountOperationPrivate {
_unused: [u8; 0],
}
pub type GMountOperationPrivate = _GMountOperationPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMountOperation {
pub parent_instance: GObject,
pub priv_: *mut GMountOperationPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GMountOperationClass {
pub parent_class: GObjectClass,
pub ask_password: ::std::option::Option<
unsafe extern "C" fn(
op: *mut GMountOperation,
message: *const ::std::os::raw::c_char,
default_user: *const ::std::os::raw::c_char,
default_domain: *const ::std::os::raw::c_char,
flags: GAskPasswordFlags,
),
>,
pub ask_question: ::std::option::Option<
unsafe extern "C" fn(
op: *mut GMountOperation,
message: *const ::std::os::raw::c_char,
choices: *mut *const ::std::os::raw::c_char,
),
>,
pub reply: ::std::option::Option<
unsafe extern "C" fn(op: *mut GMountOperation, result: GMountOperationResult),
>,
pub aborted: ::std::option::Option<unsafe extern "C" fn(op: *mut GMountOperation)>,
pub show_processes: ::std::option::Option<
unsafe extern "C" fn(
op: *mut GMountOperation,
message: *const gchar,
processes: *mut GArray,
choices: *mut *const gchar,
),
>,
pub show_unmount_progress: ::std::option::Option<
unsafe extern "C" fn(
op: *mut GMountOperation,
message: *const gchar,
time_left: gint64,
bytes_left: gint64,
),
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved7: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved8: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved9: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_mount_operation_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_mount_operation_new() -> *mut GMountOperation;
}
extern "C" {
pub fn _frida_g_mount_operation_get_username(
op: *mut GMountOperation,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_mount_operation_set_username(
op: *mut GMountOperation,
username: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_mount_operation_get_password(
op: *mut GMountOperation,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_mount_operation_set_password(
op: *mut GMountOperation,
password: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_mount_operation_get_anonymous(op: *mut GMountOperation) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_operation_set_anonymous(op: *mut GMountOperation, anonymous: gboolean);
}
extern "C" {
pub fn _frida_g_mount_operation_get_domain(
op: *mut GMountOperation,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_mount_operation_set_domain(
op: *mut GMountOperation,
domain: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_mount_operation_get_password_save(op: *mut GMountOperation) -> GPasswordSave;
}
extern "C" {
pub fn _frida_g_mount_operation_set_password_save(
op: *mut GMountOperation,
save: GPasswordSave,
);
}
extern "C" {
pub fn _frida_g_mount_operation_get_choice(op: *mut GMountOperation) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_mount_operation_set_choice(
op: *mut GMountOperation,
choice: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn _frida_g_mount_operation_reply(op: *mut GMountOperation, result: GMountOperationResult);
}
extern "C" {
pub fn _frida_g_mount_operation_get_is_tcrypt_hidden_volume(
op: *mut GMountOperation,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_operation_set_is_tcrypt_hidden_volume(
op: *mut GMountOperation,
hidden_volume: gboolean,
);
}
extern "C" {
pub fn _frida_g_mount_operation_get_is_tcrypt_system_volume(
op: *mut GMountOperation,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_mount_operation_set_is_tcrypt_system_volume(
op: *mut GMountOperation,
system_volume: gboolean,
);
}
extern "C" {
pub fn _frida_g_mount_operation_get_pim(op: *mut GMountOperation) -> guint;
}
extern "C" {
pub fn _frida_g_mount_operation_set_pim(op: *mut GMountOperation, pim: guint);
}
pub type GNativeSocketAddressClass = _GNativeSocketAddressClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNativeSocketAddressPrivate {
_unused: [u8; 0],
}
pub type GNativeSocketAddressPrivate = _GNativeSocketAddressPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNativeSocketAddress {
pub parent_instance: GSocketAddress,
pub priv_: *mut GNativeSocketAddressPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNativeSocketAddressClass {
pub parent_class: GSocketAddressClass,
}
extern "C" {
pub fn _frida_g_native_socket_address_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_native_socket_address_new(native: gpointer, len: gsize) -> *mut GSocketAddress;
}
pub type GVolumeMonitorClass = _GVolumeMonitorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVolumeMonitor {
pub parent_instance: GObject,
pub priv_: gpointer,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVolumeMonitorClass {
pub parent_class: GObjectClass,
pub volume_added: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, volume: *mut GVolume),
>,
pub volume_removed: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, volume: *mut GVolume),
>,
pub volume_changed: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, volume: *mut GVolume),
>,
pub mount_added: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, mount: *mut GMount),
>,
pub mount_removed: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, mount: *mut GMount),
>,
pub mount_pre_unmount: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, mount: *mut GMount),
>,
pub mount_changed: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, mount: *mut GMount),
>,
pub drive_connected: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, drive: *mut GDrive),
>,
pub drive_disconnected: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, drive: *mut GDrive),
>,
pub drive_changed: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, drive: *mut GDrive),
>,
pub is_supported: ::std::option::Option<unsafe extern "C" fn() -> gboolean>,
pub get_connected_drives: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor) -> *mut GList,
>,
pub get_volumes: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor) -> *mut GList,
>,
pub get_mounts: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor) -> *mut GList,
>,
pub get_volume_for_uuid: ::std::option::Option<
unsafe extern "C" fn(
volume_monitor: *mut GVolumeMonitor,
uuid: *const ::std::os::raw::c_char,
) -> *mut GVolume,
>,
pub get_mount_for_uuid: ::std::option::Option<
unsafe extern "C" fn(
volume_monitor: *mut GVolumeMonitor,
uuid: *const ::std::os::raw::c_char,
) -> *mut GMount,
>,
pub adopt_orphan_mount: ::std::option::Option<
unsafe extern "C" fn(
mount: *mut GMount,
volume_monitor: *mut GVolumeMonitor,
) -> *mut GVolume,
>,
pub drive_eject_button: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, drive: *mut GDrive),
>,
pub drive_stop_button: ::std::option::Option<
unsafe extern "C" fn(volume_monitor: *mut GVolumeMonitor, drive: *mut GDrive),
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_volume_monitor_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_volume_monitor_get() -> *mut GVolumeMonitor;
}
extern "C" {
pub fn _frida_g_volume_monitor_get_connected_drives(
volume_monitor: *mut GVolumeMonitor,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_volume_monitor_get_volumes(volume_monitor: *mut GVolumeMonitor) -> *mut GList;
}
extern "C" {
pub fn _frida_g_volume_monitor_get_mounts(volume_monitor: *mut GVolumeMonitor) -> *mut GList;
}
extern "C" {
pub fn _frida_g_volume_monitor_get_volume_for_uuid(
volume_monitor: *mut GVolumeMonitor,
uuid: *const ::std::os::raw::c_char,
) -> *mut GVolume;
}
extern "C" {
pub fn _frida_g_volume_monitor_get_mount_for_uuid(
volume_monitor: *mut GVolumeMonitor,
uuid: *const ::std::os::raw::c_char,
) -> *mut GMount;
}
extern "C" {
pub fn _frida_g_volume_monitor_adopt_orphan_mount(mount: *mut GMount) -> *mut GVolume;
}
pub type GNativeVolumeMonitor = _GNativeVolumeMonitor;
pub type GNativeVolumeMonitorClass = _GNativeVolumeMonitorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNativeVolumeMonitor {
pub parent_instance: GVolumeMonitor,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNativeVolumeMonitorClass {
pub parent_class: GVolumeMonitorClass,
pub get_mount_for_mount_path: ::std::option::Option<
unsafe extern "C" fn(
mount_path: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
) -> *mut GMount,
>,
}
extern "C" {
pub fn _frida_g_native_volume_monitor_get_type() -> GType;
}
pub type GNetworkAddressClass = _GNetworkAddressClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNetworkAddressPrivate {
_unused: [u8; 0],
}
pub type GNetworkAddressPrivate = _GNetworkAddressPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNetworkAddress {
pub parent_instance: GObject,
pub priv_: *mut GNetworkAddressPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNetworkAddressClass {
pub parent_class: GObjectClass,
}
extern "C" {
pub fn _frida_g_network_address_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_network_address_new(
hostname: *const gchar,
port: guint16,
) -> *mut GSocketConnectable;
}
extern "C" {
pub fn _frida_g_network_address_new_loopback(port: guint16) -> *mut GSocketConnectable;
}
extern "C" {
pub fn _frida_g_network_address_parse(
host_and_port: *const gchar,
default_port: guint16,
error: *mut *mut GError,
) -> *mut GSocketConnectable;
}
extern "C" {
pub fn _frida_g_network_address_parse_uri(
uri: *const gchar,
default_port: guint16,
error: *mut *mut GError,
) -> *mut GSocketConnectable;
}
extern "C" {
pub fn _frida_g_network_address_get_hostname(addr: *mut GNetworkAddress) -> *const gchar;
}
extern "C" {
pub fn _frida_g_network_address_get_port(addr: *mut GNetworkAddress) -> guint16;
}
extern "C" {
pub fn _frida_g_network_address_get_scheme(addr: *mut GNetworkAddress) -> *const gchar;
}
pub type GNetworkMonitorInterface = _GNetworkMonitorInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNetworkMonitorInterface {
pub g_iface: GTypeInterface,
pub network_changed: ::std::option::Option<
unsafe extern "C" fn(monitor: *mut GNetworkMonitor, network_available: gboolean),
>,
pub can_reach: ::std::option::Option<
unsafe extern "C" fn(
monitor: *mut GNetworkMonitor,
connectable: *mut GSocketConnectable,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub can_reach_async: ::std::option::Option<
unsafe extern "C" fn(
monitor: *mut GNetworkMonitor,
connectable: *mut GSocketConnectable,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub can_reach_finish: ::std::option::Option<
unsafe extern "C" fn(
monitor: *mut GNetworkMonitor,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_network_monitor_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_network_monitor_get_default() -> *mut GNetworkMonitor;
}
extern "C" {
pub fn _frida_g_network_monitor_get_network_available(
monitor: *mut GNetworkMonitor,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_network_monitor_get_network_metered(monitor: *mut GNetworkMonitor) -> gboolean;
}
extern "C" {
pub fn _frida_g_network_monitor_get_connectivity(
monitor: *mut GNetworkMonitor,
) -> GNetworkConnectivity;
}
extern "C" {
pub fn _frida_g_network_monitor_can_reach(
monitor: *mut GNetworkMonitor,
connectable: *mut GSocketConnectable,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_network_monitor_can_reach_async(
monitor: *mut GNetworkMonitor,
connectable: *mut GSocketConnectable,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_network_monitor_can_reach_finish(
monitor: *mut GNetworkMonitor,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
pub type GNetworkServiceClass = _GNetworkServiceClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNetworkServicePrivate {
_unused: [u8; 0],
}
pub type GNetworkServicePrivate = _GNetworkServicePrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNetworkService {
pub parent_instance: GObject,
pub priv_: *mut GNetworkServicePrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GNetworkServiceClass {
pub parent_class: GObjectClass,
}
extern "C" {
pub fn _frida_g_network_service_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_network_service_new(
service: *const gchar,
protocol: *const gchar,
domain: *const gchar,
) -> *mut GSocketConnectable;
}
extern "C" {
pub fn _frida_g_network_service_get_service(srv: *mut GNetworkService) -> *const gchar;
}
extern "C" {
pub fn _frida_g_network_service_get_protocol(srv: *mut GNetworkService) -> *const gchar;
}
extern "C" {
pub fn _frida_g_network_service_get_domain(srv: *mut GNetworkService) -> *const gchar;
}
extern "C" {
pub fn _frida_g_network_service_get_scheme(srv: *mut GNetworkService) -> *const gchar;
}
extern "C" {
pub fn _frida_g_network_service_set_scheme(srv: *mut GNetworkService, scheme: *const gchar);
}
extern "C" {
pub fn _frida_g_notification_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_notification_new(title: *const gchar) -> *mut GNotification;
}
extern "C" {
pub fn _frida_g_notification_set_title(notification: *mut GNotification, title: *const gchar);
}
extern "C" {
pub fn _frida_g_notification_set_body(notification: *mut GNotification, body: *const gchar);
}
extern "C" {
pub fn _frida_g_notification_set_icon(notification: *mut GNotification, icon: *mut GIcon);
}
extern "C" {
pub fn _frida_g_notification_set_urgent(notification: *mut GNotification, urgent: gboolean);
}
extern "C" {
pub fn _frida_g_notification_set_priority(
notification: *mut GNotification,
priority: GNotificationPriority,
);
}
extern "C" {
pub fn _frida_g_notification_set_category(
notification: *mut GNotification,
category: *const gchar,
);
}
extern "C" {
pub fn _frida_g_notification_add_button(
notification: *mut GNotification,
label: *const gchar,
detailed_action: *const gchar,
);
}
extern "C" {
pub fn _frida_g_notification_add_button_with_target(
notification: *mut GNotification,
label: *const gchar,
action: *const gchar,
target_format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_notification_add_button_with_target_value(
notification: *mut GNotification,
label: *const gchar,
action: *const gchar,
target: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_notification_set_default_action(
notification: *mut GNotification,
detailed_action: *const gchar,
);
}
extern "C" {
pub fn _frida_g_notification_set_default_action_and_target(
notification: *mut GNotification,
action: *const gchar,
target_format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_notification_set_default_action_and_target_value(
notification: *mut GNotification,
action: *const gchar,
target: *mut GVariant,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPermissionPrivate {
_unused: [u8; 0],
}
pub type GPermissionPrivate = _GPermissionPrivate;
pub type GPermissionClass = _GPermissionClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPermission {
pub parent_instance: GObject,
pub priv_: *mut GPermissionPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPermissionClass {
pub parent_class: GObjectClass,
pub acquire: ::std::option::Option<
unsafe extern "C" fn(
permission: *mut GPermission,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub acquire_async: ::std::option::Option<
unsafe extern "C" fn(
permission: *mut GPermission,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub acquire_finish: ::std::option::Option<
unsafe extern "C" fn(
permission: *mut GPermission,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub release: ::std::option::Option<
unsafe extern "C" fn(
permission: *mut GPermission,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub release_async: ::std::option::Option<
unsafe extern "C" fn(
permission: *mut GPermission,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub release_finish: ::std::option::Option<
unsafe extern "C" fn(
permission: *mut GPermission,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub reserved: [gpointer; 16usize],
}
extern "C" {
pub fn _frida_g_permission_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_permission_acquire(
permission: *mut GPermission,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_permission_acquire_async(
permission: *mut GPermission,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_permission_acquire_finish(
permission: *mut GPermission,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_permission_release(
permission: *mut GPermission,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_permission_release_async(
permission: *mut GPermission,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_permission_release_finish(
permission: *mut GPermission,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_permission_get_allowed(permission: *mut GPermission) -> gboolean;
}
extern "C" {
pub fn _frida_g_permission_get_can_acquire(permission: *mut GPermission) -> gboolean;
}
extern "C" {
pub fn _frida_g_permission_get_can_release(permission: *mut GPermission) -> gboolean;
}
extern "C" {
pub fn _frida_g_permission_impl_update(
permission: *mut GPermission,
allowed: gboolean,
can_acquire: gboolean,
can_release: gboolean,
);
}
pub type GPollableInputStreamInterface = _GPollableInputStreamInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPollableInputStreamInterface {
pub g_iface: GTypeInterface,
pub can_poll:
::std::option::Option<unsafe extern "C" fn(stream: *mut GPollableInputStream) -> gboolean>,
pub is_readable:
::std::option::Option<unsafe extern "C" fn(stream: *mut GPollableInputStream) -> gboolean>,
pub create_source: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GPollableInputStream,
cancellable: *mut GCancellable,
) -> *mut GSource,
>,
pub read_nonblocking: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GPollableInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
error: *mut *mut GError,
) -> gssize,
>,
}
extern "C" {
pub fn _frida_g_pollable_input_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_pollable_input_stream_can_poll(stream: *mut GPollableInputStream) -> gboolean;
}
extern "C" {
pub fn _frida_g_pollable_input_stream_is_readable(
stream: *mut GPollableInputStream,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_pollable_input_stream_create_source(
stream: *mut GPollableInputStream,
cancellable: *mut GCancellable,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_pollable_input_stream_read_nonblocking(
stream: *mut GPollableInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
pub type GPollableOutputStreamInterface = _GPollableOutputStreamInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPollableOutputStreamInterface {
pub g_iface: GTypeInterface,
pub can_poll:
::std::option::Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream) -> gboolean>,
pub is_writable:
::std::option::Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream) -> gboolean>,
pub create_source: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GPollableOutputStream,
cancellable: *mut GCancellable,
) -> *mut GSource,
>,
pub write_nonblocking: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GPollableOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
error: *mut *mut GError,
) -> gssize,
>,
pub writev_nonblocking: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut GPollableOutputStream,
vectors: *const GOutputVector,
n_vectors: gsize,
bytes_written: *mut gsize,
error: *mut *mut GError,
) -> GPollableReturn,
>,
}
extern "C" {
pub fn _frida_g_pollable_output_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_pollable_output_stream_can_poll(stream: *mut GPollableOutputStream)
-> gboolean;
}
extern "C" {
pub fn _frida_g_pollable_output_stream_is_writable(
stream: *mut GPollableOutputStream,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_pollable_output_stream_create_source(
stream: *mut GPollableOutputStream,
cancellable: *mut GCancellable,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_pollable_output_stream_write_nonblocking(
stream: *mut GPollableOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_pollable_output_stream_writev_nonblocking(
stream: *mut GPollableOutputStream,
vectors: *const GOutputVector,
n_vectors: gsize,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GPollableReturn;
}
extern "C" {
pub fn _frida_g_pollable_source_new(pollable_stream: *mut GObject) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_pollable_source_new_full(
pollable_stream: gpointer,
child_source: *mut GSource,
cancellable: *mut GCancellable,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_pollable_stream_read(
stream: *mut GInputStream,
buffer: *mut ::std::os::raw::c_void,
count: gsize,
blocking: gboolean,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_pollable_stream_write(
stream: *mut GOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
blocking: gboolean,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_pollable_stream_write_all(
stream: *mut GOutputStream,
buffer: *const ::std::os::raw::c_void,
count: gsize,
blocking: gboolean,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_power_profile_monitor_get_type() -> GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPowerProfileMonitor {
_unused: [u8; 0],
}
pub type GPowerProfileMonitor = _GPowerProfileMonitor;
pub type GPowerProfileMonitorInterface = _GPowerProfileMonitorInterface;
pub type GPowerProfileMonitor_autoptr = *mut GPowerProfileMonitor;
pub type GPowerProfileMonitor_listautoptr = *mut GList;
pub type GPowerProfileMonitor_slistautoptr = *mut GSList;
pub type GPowerProfileMonitor_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GPowerProfileMonitorInterface {
pub g_iface: GTypeInterface,
}
extern "C" {
pub fn _frida_g_power_profile_monitor_dup_default() -> *mut GPowerProfileMonitor;
}
extern "C" {
pub fn _frida_g_power_profile_monitor_get_power_saver_enabled(
monitor: *mut GPowerProfileMonitor,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_property_action_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_property_action_new(
name: *const gchar,
object: gpointer,
property_name: *const gchar,
) -> *mut GPropertyAction;
}
pub type GProxyInterface = _GProxyInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyInterface {
pub g_iface: GTypeInterface,
pub connect: ::std::option::Option<
unsafe extern "C" fn(
proxy: *mut GProxy,
connection: *mut GIOStream,
proxy_address: *mut GProxyAddress,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GIOStream,
>,
pub connect_async: ::std::option::Option<
unsafe extern "C" fn(
proxy: *mut GProxy,
connection: *mut GIOStream,
proxy_address: *mut GProxyAddress,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub connect_finish: ::std::option::Option<
unsafe extern "C" fn(
proxy: *mut GProxy,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GIOStream,
>,
pub supports_hostname:
::std::option::Option<unsafe extern "C" fn(proxy: *mut GProxy) -> gboolean>,
}
extern "C" {
pub fn _frida_g_proxy_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_proxy_get_default_for_protocol(protocol: *const gchar) -> *mut GProxy;
}
extern "C" {
pub fn _frida_g_proxy_connect(
proxy: *mut GProxy,
connection: *mut GIOStream,
proxy_address: *mut GProxyAddress,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GIOStream;
}
extern "C" {
pub fn _frida_g_proxy_connect_async(
proxy: *mut GProxy,
connection: *mut GIOStream,
proxy_address: *mut GProxyAddress,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_proxy_connect_finish(
proxy: *mut GProxy,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GIOStream;
}
extern "C" {
pub fn _frida_g_proxy_supports_hostname(proxy: *mut GProxy) -> gboolean;
}
pub type GProxyAddressClass = _GProxyAddressClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyAddressPrivate {
_unused: [u8; 0],
}
pub type GProxyAddressPrivate = _GProxyAddressPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyAddress {
pub parent_instance: GInetSocketAddress,
pub priv_: *mut GProxyAddressPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyAddressClass {
pub parent_class: GInetSocketAddressClass,
}
extern "C" {
pub fn _frida_g_proxy_address_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_proxy_address_new(
inetaddr: *mut GInetAddress,
port: guint16,
protocol: *const gchar,
dest_hostname: *const gchar,
dest_port: guint16,
username: *const gchar,
password: *const gchar,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_proxy_address_get_protocol(proxy: *mut GProxyAddress) -> *const gchar;
}
extern "C" {
pub fn _frida_g_proxy_address_get_destination_protocol(
proxy: *mut GProxyAddress,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_proxy_address_get_destination_hostname(
proxy: *mut GProxyAddress,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_proxy_address_get_destination_port(proxy: *mut GProxyAddress) -> guint16;
}
extern "C" {
pub fn _frida_g_proxy_address_get_username(proxy: *mut GProxyAddress) -> *const gchar;
}
extern "C" {
pub fn _frida_g_proxy_address_get_password(proxy: *mut GProxyAddress) -> *const gchar;
}
extern "C" {
pub fn _frida_g_proxy_address_get_uri(proxy: *mut GProxyAddress) -> *const gchar;
}
pub type GSocketAddressEnumeratorClass = _GSocketAddressEnumeratorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketAddressEnumerator {
pub parent_instance: GObject,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketAddressEnumeratorClass {
pub parent_class: GObjectClass,
pub next: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GSocketAddressEnumerator,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocketAddress,
>,
pub next_async: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GSocketAddressEnumerator,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub next_finish: ::std::option::Option<
unsafe extern "C" fn(
enumerator: *mut GSocketAddressEnumerator,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GSocketAddress,
>,
}
extern "C" {
pub fn _frida_g_socket_address_enumerator_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_address_enumerator_next(
enumerator: *mut GSocketAddressEnumerator,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_socket_address_enumerator_next_async(
enumerator: *mut GSocketAddressEnumerator,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_address_enumerator_next_finish(
enumerator: *mut GSocketAddressEnumerator,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GSocketAddress;
}
pub type GProxyAddressEnumeratorClass = _GProxyAddressEnumeratorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyAddressEnumeratorPrivate {
_unused: [u8; 0],
}
pub type GProxyAddressEnumeratorPrivate = _GProxyAddressEnumeratorPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyAddressEnumerator {
pub parent_instance: GSocketAddressEnumerator,
pub priv_: *mut GProxyAddressEnumeratorPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyAddressEnumeratorClass {
pub parent_class: GSocketAddressEnumeratorClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved7: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_proxy_address_enumerator_get_type() -> GType;
}
pub type GProxyResolverInterface = _GProxyResolverInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GProxyResolverInterface {
pub g_iface: GTypeInterface,
pub is_supported:
::std::option::Option<unsafe extern "C" fn(resolver: *mut GProxyResolver) -> gboolean>,
pub lookup: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GProxyResolver,
uri: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut *mut gchar,
>,
pub lookup_async: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GProxyResolver,
uri: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_finish: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GProxyResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut *mut gchar,
>,
}
extern "C" {
pub fn _frida_g_proxy_resolver_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_proxy_resolver_get_default() -> *mut GProxyResolver;
}
extern "C" {
pub fn _frida_g_proxy_resolver_is_supported(resolver: *mut GProxyResolver) -> gboolean;
}
extern "C" {
pub fn _frida_g_proxy_resolver_lookup(
resolver: *mut GProxyResolver,
uri: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_proxy_resolver_lookup_async(
resolver: *mut GProxyResolver,
uri: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_proxy_resolver_lookup_finish(
resolver: *mut GProxyResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut *mut gchar;
}
pub type GRemoteActionGroupInterface = _GRemoteActionGroupInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GRemoteActionGroupInterface {
pub g_iface: GTypeInterface,
pub activate_action_full: ::std::option::Option<
unsafe extern "C" fn(
remote: *mut GRemoteActionGroup,
action_name: *const gchar,
parameter: *mut GVariant,
platform_data: *mut GVariant,
),
>,
pub change_action_state_full: ::std::option::Option<
unsafe extern "C" fn(
remote: *mut GRemoteActionGroup,
action_name: *const gchar,
value: *mut GVariant,
platform_data: *mut GVariant,
),
>,
}
extern "C" {
pub fn _frida_g_remote_action_group_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_remote_action_group_activate_action_full(
remote: *mut GRemoteActionGroup,
action_name: *const gchar,
parameter: *mut GVariant,
platform_data: *mut GVariant,
);
}
extern "C" {
pub fn _frida_g_remote_action_group_change_action_state_full(
remote: *mut GRemoteActionGroup,
action_name: *const gchar,
value: *mut GVariant,
platform_data: *mut GVariant,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GResolverPrivate {
_unused: [u8; 0],
}
pub type GResolverPrivate = _GResolverPrivate;
pub type GResolverClass = _GResolverClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GResolver {
pub parent_instance: GObject,
pub priv_: *mut GResolverPrivate,
}
pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags =
0;
pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY:
GResolverNameLookupFlags = 1;
pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY:
GResolverNameLookupFlags = 2;
pub type GResolverNameLookupFlags = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GResolverClass {
pub parent_class: GObjectClass,
pub reload: ::std::option::Option<unsafe extern "C" fn(resolver: *mut GResolver)>,
pub lookup_by_name: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
hostname: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList,
>,
pub lookup_by_name_async: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
hostname: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_by_name_finish: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList,
>,
pub lookup_by_address: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
address: *mut GInetAddress,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut gchar,
>,
pub lookup_by_address_async: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
address: *mut GInetAddress,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_by_address_finish: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut gchar,
>,
pub lookup_service: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
rrname: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList,
>,
pub lookup_service_async: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
rrname: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_service_finish: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList,
>,
pub lookup_records: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
rrname: *const gchar,
record_type: GResolverRecordType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList,
>,
pub lookup_records_async: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
rrname: *const gchar,
record_type: GResolverRecordType,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_records_finish: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList,
>,
pub lookup_by_name_with_flags_async: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
hostname: *const gchar,
flags: GResolverNameLookupFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_by_name_with_flags_finish: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList,
>,
pub lookup_by_name_with_flags: ::std::option::Option<
unsafe extern "C" fn(
resolver: *mut GResolver,
hostname: *const gchar,
flags: GResolverNameLookupFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList,
>,
}
extern "C" {
pub fn _frida_g_resolver_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_resolver_get_default() -> *mut GResolver;
}
extern "C" {
pub fn _frida_g_resolver_set_default(resolver: *mut GResolver);
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_name(
resolver: *mut GResolver,
hostname: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_name_async(
resolver: *mut GResolver,
hostname: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_name_finish(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_name_with_flags_async(
resolver: *mut GResolver,
hostname: *const gchar,
flags: GResolverNameLookupFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_name_with_flags_finish(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_name_with_flags(
resolver: *mut GResolver,
hostname: *const gchar,
flags: GResolverNameLookupFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_resolver_free_addresses(addresses: *mut GList);
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_address(
resolver: *mut GResolver,
address: *mut GInetAddress,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_address_async(
resolver: *mut GResolver,
address: *mut GInetAddress,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_resolver_lookup_by_address_finish(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_resolver_lookup_service(
resolver: *mut GResolver,
service: *const gchar,
protocol: *const gchar,
domain: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_resolver_lookup_service_async(
resolver: *mut GResolver,
service: *const gchar,
protocol: *const gchar,
domain: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_resolver_lookup_service_finish(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_resolver_lookup_records(
resolver: *mut GResolver,
rrname: *const gchar,
record_type: GResolverRecordType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_resolver_lookup_records_async(
resolver: *mut GResolver,
rrname: *const gchar,
record_type: GResolverRecordType,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_resolver_lookup_records_finish(
resolver: *mut GResolver,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_resolver_free_targets(targets: *mut GList);
}
extern "C" {
pub fn _frida_g_resolver_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_resource_error_quark() -> GQuark;
}
pub type GStaticResource = _GStaticResource;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GStaticResource {
pub data: *const guint8,
pub data_len: gsize,
pub resource: *mut GResource,
pub next: *mut GStaticResource,
pub padding: gpointer,
}
extern "C" {
pub fn _frida_g_resource_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_resource_new_from_data(
data: *mut GBytes,
error: *mut *mut GError,
) -> *mut GResource;
}
extern "C" {
pub fn _frida_g_resource_ref(resource: *mut GResource) -> *mut GResource;
}
extern "C" {
pub fn _frida_g_resource_unref(resource: *mut GResource);
}
extern "C" {
pub fn _frida_g_resource_load(
filename: *const gchar,
error: *mut *mut GError,
) -> *mut GResource;
}
extern "C" {
pub fn _frida_g_resource_open_stream(
resource: *mut GResource,
path: *const ::std::os::raw::c_char,
lookup_flags: GResourceLookupFlags,
error: *mut *mut GError,
) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_resource_lookup_data(
resource: *mut GResource,
path: *const ::std::os::raw::c_char,
lookup_flags: GResourceLookupFlags,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_resource_enumerate_children(
resource: *mut GResource,
path: *const ::std::os::raw::c_char,
lookup_flags: GResourceLookupFlags,
error: *mut *mut GError,
) -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_resource_get_info(
resource: *mut GResource,
path: *const ::std::os::raw::c_char,
lookup_flags: GResourceLookupFlags,
size: *mut gsize,
flags: *mut guint32,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_resources_register(resource: *mut GResource);
}
extern "C" {
pub fn _frida_g_resources_unregister(resource: *mut GResource);
}
extern "C" {
pub fn _frida_g_resources_open_stream(
path: *const ::std::os::raw::c_char,
lookup_flags: GResourceLookupFlags,
error: *mut *mut GError,
) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_resources_lookup_data(
path: *const ::std::os::raw::c_char,
lookup_flags: GResourceLookupFlags,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn _frida_g_resources_enumerate_children(
path: *const ::std::os::raw::c_char,
lookup_flags: GResourceLookupFlags,
error: *mut *mut GError,
) -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_resources_get_info(
path: *const ::std::os::raw::c_char,
lookup_flags: GResourceLookupFlags,
size: *mut gsize,
flags: *mut guint32,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_static_resource_init(static_resource: *mut GStaticResource);
}
extern "C" {
pub fn _frida_g_static_resource_fini(static_resource: *mut GStaticResource);
}
extern "C" {
pub fn _frida_g_static_resource_get_resource(
static_resource: *mut GStaticResource,
) -> *mut GResource;
}
pub type GSeekableIface = _GSeekableIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSeekableIface {
pub g_iface: GTypeInterface,
pub tell: ::std::option::Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> goffset>,
pub can_seek: ::std::option::Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> gboolean>,
pub seek: ::std::option::Option<
unsafe extern "C" fn(
seekable: *mut GSeekable,
offset: goffset,
type_: GSeekType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub can_truncate:
::std::option::Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> gboolean>,
pub truncate_fn: ::std::option::Option<
unsafe extern "C" fn(
seekable: *mut GSeekable,
offset: goffset,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
}
extern "C" {
pub fn _frida_g_seekable_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_seekable_tell(seekable: *mut GSeekable) -> goffset;
}
extern "C" {
pub fn _frida_g_seekable_can_seek(seekable: *mut GSeekable) -> gboolean;
}
extern "C" {
pub fn _frida_g_seekable_seek(
seekable: *mut GSeekable,
offset: goffset,
type_: GSeekType,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_seekable_can_truncate(seekable: *mut GSeekable) -> gboolean;
}
extern "C" {
pub fn _frida_g_seekable_truncate(
seekable: *mut GSeekable,
offset: goffset,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSettingsSchemaSource {
_unused: [u8; 0],
}
pub type GSettingsSchemaSource = _GSettingsSchemaSource;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSettingsSchema {
_unused: [u8; 0],
}
pub type GSettingsSchema = _GSettingsSchema;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSettingsSchemaKey {
_unused: [u8; 0],
}
pub type GSettingsSchemaKey = _GSettingsSchemaKey;
extern "C" {
pub fn _frida_g_settings_schema_source_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource;
}
extern "C" {
pub fn _frida_g_settings_schema_source_ref(
source: *mut GSettingsSchemaSource,
) -> *mut GSettingsSchemaSource;
}
extern "C" {
pub fn _frida_g_settings_schema_source_unref(source: *mut GSettingsSchemaSource);
}
extern "C" {
pub fn _frida_g_settings_schema_source_new_from_directory(
directory: *const gchar,
parent: *mut GSettingsSchemaSource,
trusted: gboolean,
error: *mut *mut GError,
) -> *mut GSettingsSchemaSource;
}
extern "C" {
pub fn _frida_g_settings_schema_source_lookup(
source: *mut GSettingsSchemaSource,
schema_id: *const gchar,
recursive: gboolean,
) -> *mut GSettingsSchema;
}
extern "C" {
pub fn _frida_g_settings_schema_source_list_schemas(
source: *mut GSettingsSchemaSource,
recursive: gboolean,
non_relocatable: *mut *mut *mut gchar,
relocatable: *mut *mut *mut gchar,
);
}
extern "C" {
pub fn _frida_g_settings_schema_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema;
}
extern "C" {
pub fn _frida_g_settings_schema_unref(schema: *mut GSettingsSchema);
}
extern "C" {
pub fn _frida_g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const gchar;
}
extern "C" {
pub fn _frida_g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const gchar;
}
extern "C" {
pub fn _frida_g_settings_schema_get_key(
schema: *mut GSettingsSchema,
name: *const gchar,
) -> *mut GSettingsSchemaKey;
}
extern "C" {
pub fn _frida_g_settings_schema_has_key(
schema: *mut GSettingsSchema,
name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_settings_schema_key_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_settings_schema_key_ref(
key: *mut GSettingsSchemaKey,
) -> *mut GSettingsSchemaKey;
}
extern "C" {
pub fn _frida_g_settings_schema_key_unref(key: *mut GSettingsSchemaKey);
}
extern "C" {
pub fn _frida_g_settings_schema_key_get_value_type(
key: *mut GSettingsSchemaKey,
) -> *const GVariantType;
}
extern "C" {
pub fn _frida_g_settings_schema_key_get_default_value(
key: *mut GSettingsSchemaKey,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_settings_schema_key_get_range(key: *mut GSettingsSchemaKey) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_settings_schema_key_range_check(
key: *mut GSettingsSchemaKey,
value: *mut GVariant,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const gchar;
}
extern "C" {
pub fn _frida_g_settings_schema_key_get_summary(key: *mut GSettingsSchemaKey) -> *const gchar;
}
extern "C" {
pub fn _frida_g_settings_schema_key_get_description(
key: *mut GSettingsSchemaKey,
) -> *const gchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSettingsPrivate {
_unused: [u8; 0],
}
pub type GSettingsPrivate = _GSettingsPrivate;
pub type GSettingsClass = _GSettingsClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSettingsClass {
pub parent_class: GObjectClass,
pub writable_changed:
::std::option::Option<unsafe extern "C" fn(settings: *mut GSettings, key: *const gchar)>,
pub changed:
::std::option::Option<unsafe extern "C" fn(settings: *mut GSettings, key: *const gchar)>,
pub writable_change_event: ::std::option::Option<
unsafe extern "C" fn(settings: *mut GSettings, key: GQuark) -> gboolean,
>,
pub change_event: ::std::option::Option<
unsafe extern "C" fn(
settings: *mut GSettings,
keys: *const GQuark,
n_keys: gint,
) -> gboolean,
>,
pub padding: [gpointer; 20usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSettings {
pub parent_instance: GObject,
pub priv_: *mut GSettingsPrivate,
}
extern "C" {
pub fn _frida_g_settings_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_settings_list_schemas() -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_settings_list_relocatable_schemas() -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_settings_new(schema_id: *const gchar) -> *mut GSettings;
}
extern "C" {
pub fn _frida_g_settings_new_with_path(
schema_id: *const gchar,
path: *const gchar,
) -> *mut GSettings;
}
extern "C" {
pub fn _frida_g_settings_new_with_backend(
schema_id: *const gchar,
backend: *mut GSettingsBackend,
) -> *mut GSettings;
}
extern "C" {
pub fn _frida_g_settings_new_with_backend_and_path(
schema_id: *const gchar,
backend: *mut GSettingsBackend,
path: *const gchar,
) -> *mut GSettings;
}
extern "C" {
pub fn _frida_g_settings_new_full(
schema: *mut GSettingsSchema,
backend: *mut GSettingsBackend,
path: *const gchar,
) -> *mut GSettings;
}
extern "C" {
pub fn _frida_g_settings_list_children(settings: *mut GSettings) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_settings_list_keys(settings: *mut GSettings) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_settings_get_range(
settings: *mut GSettings,
key: *const gchar,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_settings_range_check(
settings: *mut GSettings,
key: *const gchar,
value: *mut GVariant,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_set_value(
settings: *mut GSettings,
key: *const gchar,
value: *mut GVariant,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_value(
settings: *mut GSettings,
key: *const gchar,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_settings_get_user_value(
settings: *mut GSettings,
key: *const gchar,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_settings_get_default_value(
settings: *mut GSettings,
key: *const gchar,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_g_settings_set(
settings: *mut GSettings,
key: *const gchar,
format: *const gchar,
...
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get(
settings: *mut GSettings,
key: *const gchar,
format: *const gchar,
...
);
}
extern "C" {
pub fn _frida_g_settings_reset(settings: *mut GSettings, key: *const gchar);
}
extern "C" {
pub fn _frida_g_settings_get_int(settings: *mut GSettings, key: *const gchar) -> gint;
}
extern "C" {
pub fn _frida_g_settings_set_int(
settings: *mut GSettings,
key: *const gchar,
value: gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_int64(settings: *mut GSettings, key: *const gchar) -> gint64;
}
extern "C" {
pub fn _frida_g_settings_set_int64(
settings: *mut GSettings,
key: *const gchar,
value: gint64,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_uint(settings: *mut GSettings, key: *const gchar) -> guint;
}
extern "C" {
pub fn _frida_g_settings_set_uint(
settings: *mut GSettings,
key: *const gchar,
value: guint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_uint64(settings: *mut GSettings, key: *const gchar) -> guint64;
}
extern "C" {
pub fn _frida_g_settings_set_uint64(
settings: *mut GSettings,
key: *const gchar,
value: guint64,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_string(settings: *mut GSettings, key: *const gchar) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_settings_set_string(
settings: *mut GSettings,
key: *const gchar,
value: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_boolean(settings: *mut GSettings, key: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_set_boolean(
settings: *mut GSettings,
key: *const gchar,
value: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_double(settings: *mut GSettings, key: *const gchar) -> gdouble;
}
extern "C" {
pub fn _frida_g_settings_set_double(
settings: *mut GSettings,
key: *const gchar,
value: gdouble,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_strv(
settings: *mut GSettings,
key: *const gchar,
) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_g_settings_set_strv(
settings: *mut GSettings,
key: *const gchar,
value: *const *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_enum(settings: *mut GSettings, key: *const gchar) -> gint;
}
extern "C" {
pub fn _frida_g_settings_set_enum(
settings: *mut GSettings,
key: *const gchar,
value: gint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_flags(settings: *mut GSettings, key: *const gchar) -> guint;
}
extern "C" {
pub fn _frida_g_settings_set_flags(
settings: *mut GSettings,
key: *const gchar,
value: guint,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_get_child(
settings: *mut GSettings,
name: *const gchar,
) -> *mut GSettings;
}
extern "C" {
pub fn _frida_g_settings_is_writable(settings: *mut GSettings, name: *const gchar) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_delay(settings: *mut GSettings);
}
extern "C" {
pub fn _frida_g_settings_apply(settings: *mut GSettings);
}
extern "C" {
pub fn _frida_g_settings_revert(settings: *mut GSettings);
}
extern "C" {
pub fn _frida_g_settings_get_has_unapplied(settings: *mut GSettings) -> gboolean;
}
extern "C" {
pub fn _frida_g_settings_sync();
}
pub type GSettingsBindSetMapping = ::std::option::Option<
unsafe extern "C" fn(
value: *const GValue,
expected_type: *const GVariantType,
user_data: gpointer,
) -> *mut GVariant,
>;
pub type GSettingsBindGetMapping = ::std::option::Option<
unsafe extern "C" fn(
value: *mut GValue,
variant: *mut GVariant,
user_data: gpointer,
) -> gboolean,
>;
pub type GSettingsGetMapping = ::std::option::Option<
unsafe extern "C" fn(
value: *mut GVariant,
result: *mut gpointer,
user_data: gpointer,
) -> gboolean,
>;
pub const GSettingsBindFlags_G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0;
pub const GSettingsBindFlags_G_SETTINGS_BIND_GET: GSettingsBindFlags = 1;
pub const GSettingsBindFlags_G_SETTINGS_BIND_SET: GSettingsBindFlags = 2;
pub const GSettingsBindFlags_G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4;
pub const GSettingsBindFlags_G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8;
pub const GSettingsBindFlags_G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16;
pub type GSettingsBindFlags = ::std::os::raw::c_uint;
extern "C" {
pub fn _frida_g_settings_bind(
settings: *mut GSettings,
key: *const gchar,
object: gpointer,
property: *const gchar,
flags: GSettingsBindFlags,
);
}
extern "C" {
pub fn _frida_g_settings_bind_with_mapping(
settings: *mut GSettings,
key: *const gchar,
object: gpointer,
property: *const gchar,
flags: GSettingsBindFlags,
get_mapping: GSettingsBindGetMapping,
set_mapping: GSettingsBindSetMapping,
user_data: gpointer,
destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_settings_bind_writable(
settings: *mut GSettings,
key: *const gchar,
object: gpointer,
property: *const gchar,
inverted: gboolean,
);
}
extern "C" {
pub fn _frida_g_settings_unbind(object: gpointer, property: *const gchar);
}
extern "C" {
pub fn _frida_g_settings_create_action(
settings: *mut GSettings,
key: *const gchar,
) -> *mut GAction;
}
extern "C" {
pub fn _frida_g_settings_get_mapped(
settings: *mut GSettings,
key: *const gchar,
mapping: GSettingsGetMapping,
user_data: gpointer,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_simple_action_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_simple_action_new(
name: *const gchar,
parameter_type: *const GVariantType,
) -> *mut GSimpleAction;
}
extern "C" {
pub fn _frida_g_simple_action_new_stateful(
name: *const gchar,
parameter_type: *const GVariantType,
state: *mut GVariant,
) -> *mut GSimpleAction;
}
extern "C" {
pub fn _frida_g_simple_action_set_enabled(simple: *mut GSimpleAction, enabled: gboolean);
}
extern "C" {
pub fn _frida_g_simple_action_set_state(simple: *mut GSimpleAction, value: *mut GVariant);
}
extern "C" {
pub fn _frida_g_simple_action_set_state_hint(
simple: *mut GSimpleAction,
state_hint: *mut GVariant,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleActionGroupPrivate {
_unused: [u8; 0],
}
pub type GSimpleActionGroupPrivate = _GSimpleActionGroupPrivate;
pub type GSimpleActionGroupClass = _GSimpleActionGroupClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleActionGroup {
pub parent_instance: GObject,
pub priv_: *mut GSimpleActionGroupPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleActionGroupClass {
pub parent_class: GObjectClass,
pub padding: [gpointer; 12usize],
}
extern "C" {
pub fn _frida_g_simple_action_group_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_simple_action_group_new() -> *mut GSimpleActionGroup;
}
extern "C" {
pub fn _frida_g_simple_action_group_lookup(
simple: *mut GSimpleActionGroup,
action_name: *const gchar,
) -> *mut GAction;
}
extern "C" {
pub fn _frida_g_simple_action_group_insert(
simple: *mut GSimpleActionGroup,
action: *mut GAction,
);
}
extern "C" {
pub fn _frida_g_simple_action_group_remove(
simple: *mut GSimpleActionGroup,
action_name: *const gchar,
);
}
extern "C" {
pub fn _frida_g_simple_action_group_add_entries(
simple: *mut GSimpleActionGroup,
entries: *const GActionEntry,
n_entries: gint,
user_data: gpointer,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleAsyncResultClass {
_unused: [u8; 0],
}
pub type GSimpleAsyncResultClass = _GSimpleAsyncResultClass;
extern "C" {
pub fn _frida_g_simple_async_result_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_simple_async_result_new(
source_object: *mut GObject,
callback: GAsyncReadyCallback,
user_data: gpointer,
source_tag: gpointer,
) -> *mut GSimpleAsyncResult;
}
extern "C" {
pub fn _frida_g_simple_async_result_new_error(
source_object: *mut GObject,
callback: GAsyncReadyCallback,
user_data: gpointer,
domain: GQuark,
code: gint,
format: *const ::std::os::raw::c_char,
...
) -> *mut GSimpleAsyncResult;
}
extern "C" {
pub fn _frida_g_simple_async_result_new_from_error(
source_object: *mut GObject,
callback: GAsyncReadyCallback,
user_data: gpointer,
error: *const GError,
) -> *mut GSimpleAsyncResult;
}
extern "C" {
pub fn _frida_g_simple_async_result_new_take_error(
source_object: *mut GObject,
callback: GAsyncReadyCallback,
user_data: gpointer,
error: *mut GError,
) -> *mut GSimpleAsyncResult;
}
extern "C" {
pub fn _frida_g_simple_async_result_set_op_res_gpointer(
simple: *mut GSimpleAsyncResult,
op_res: gpointer,
destroy_op_res: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_get_op_res_gpointer(
simple: *mut GSimpleAsyncResult,
) -> gpointer;
}
extern "C" {
pub fn _frida_g_simple_async_result_set_op_res_gssize(
simple: *mut GSimpleAsyncResult,
op_res: gssize,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_get_op_res_gssize(
simple: *mut GSimpleAsyncResult,
) -> gssize;
}
extern "C" {
pub fn _frida_g_simple_async_result_set_op_res_gboolean(
simple: *mut GSimpleAsyncResult,
op_res: gboolean,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_get_op_res_gboolean(
simple: *mut GSimpleAsyncResult,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_simple_async_result_set_check_cancellable(
simple: *mut GSimpleAsyncResult,
check_cancellable: *mut GCancellable,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_get_source_tag(simple: *mut GSimpleAsyncResult)
-> gpointer;
}
extern "C" {
pub fn _frida_g_simple_async_result_set_handle_cancellation(
simple: *mut GSimpleAsyncResult,
handle_cancellation: gboolean,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_complete(simple: *mut GSimpleAsyncResult);
}
extern "C" {
pub fn _frida_g_simple_async_result_complete_in_idle(simple: *mut GSimpleAsyncResult);
}
extern "C" {
pub fn _frida_g_simple_async_result_run_in_thread(
simple: *mut GSimpleAsyncResult,
func: GSimpleAsyncThreadFunc,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_set_from_error(
simple: *mut GSimpleAsyncResult,
error: *const GError,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_take_error(
simple: *mut GSimpleAsyncResult,
error: *mut GError,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_propagate_error(
simple: *mut GSimpleAsyncResult,
dest: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_simple_async_result_set_error(
simple: *mut GSimpleAsyncResult,
domain: GQuark,
code: gint,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn _frida_g_simple_async_result_set_error_va(
simple: *mut GSimpleAsyncResult,
domain: GQuark,
code: gint,
format: *const ::std::os::raw::c_char,
args: va_list,
);
}
extern "C" {
pub fn _frida_g_simple_async_result_is_valid(
result: *mut GAsyncResult,
source: *mut GObject,
source_tag: gpointer,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_simple_async_report_error_in_idle(
object: *mut GObject,
callback: GAsyncReadyCallback,
user_data: gpointer,
domain: GQuark,
code: gint,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn _frida_g_simple_async_report_gerror_in_idle(
object: *mut GObject,
callback: GAsyncReadyCallback,
user_data: gpointer,
error: *const GError,
);
}
extern "C" {
pub fn _frida_g_simple_async_report_take_gerror_in_idle(
object: *mut GObject,
callback: GAsyncReadyCallback,
user_data: gpointer,
error: *mut GError,
);
}
extern "C" {
pub fn _frida_g_simple_io_stream_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_simple_io_stream_new(
input_stream: *mut GInputStream,
output_stream: *mut GOutputStream,
) -> *mut GIOStream;
}
extern "C" {
pub fn _frida_g_simple_permission_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_simple_permission_new(allowed: gboolean) -> *mut GPermission;
}
pub type GSimpleProxyResolver = _GSimpleProxyResolver;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleProxyResolverPrivate {
_unused: [u8; 0],
}
pub type GSimpleProxyResolverPrivate = _GSimpleProxyResolverPrivate;
pub type GSimpleProxyResolverClass = _GSimpleProxyResolverClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleProxyResolver {
pub parent_instance: GObject,
pub priv_: *mut GSimpleProxyResolverPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSimpleProxyResolverClass {
pub parent_class: GObjectClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_simple_proxy_resolver_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_simple_proxy_resolver_new(
default_proxy: *const gchar,
ignore_hosts: *mut *mut gchar,
) -> *mut GProxyResolver;
}
extern "C" {
pub fn _frida_g_simple_proxy_resolver_set_default_proxy(
resolver: *mut GSimpleProxyResolver,
default_proxy: *const gchar,
);
}
extern "C" {
pub fn _frida_g_simple_proxy_resolver_set_ignore_hosts(
resolver: *mut GSimpleProxyResolver,
ignore_hosts: *mut *mut gchar,
);
}
extern "C" {
pub fn _frida_g_simple_proxy_resolver_set_uri_proxy(
resolver: *mut GSimpleProxyResolver,
uri_scheme: *const gchar,
proxy: *const gchar,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketPrivate {
_unused: [u8; 0],
}
pub type GSocketPrivate = _GSocketPrivate;
pub type GSocketClass = _GSocketClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketClass {
pub parent_class: GObjectClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved7: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved8: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved9: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved10: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocket {
pub parent_instance: GObject,
pub priv_: *mut GSocketPrivate,
}
extern "C" {
pub fn _frida_g_socket_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_new(
family: GSocketFamily,
type_: GSocketType,
protocol: GSocketProtocol,
error: *mut *mut GError,
) -> *mut GSocket;
}
extern "C" {
pub fn _frida_g_socket_new_from_fd(fd: gint, error: *mut *mut GError) -> *mut GSocket;
}
extern "C" {
pub fn _frida_g_socket_get_fd(socket: *mut GSocket) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_socket_get_family(socket: *mut GSocket) -> GSocketFamily;
}
extern "C" {
pub fn _frida_g_socket_get_socket_type(socket: *mut GSocket) -> GSocketType;
}
extern "C" {
pub fn _frida_g_socket_get_protocol(socket: *mut GSocket) -> GSocketProtocol;
}
extern "C" {
pub fn _frida_g_socket_get_local_address(
socket: *mut GSocket,
error: *mut *mut GError,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_socket_get_remote_address(
socket: *mut GSocket,
error: *mut *mut GError,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_socket_set_blocking(socket: *mut GSocket, blocking: gboolean);
}
extern "C" {
pub fn _frida_g_socket_get_blocking(socket: *mut GSocket) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_set_keepalive(socket: *mut GSocket, keepalive: gboolean);
}
extern "C" {
pub fn _frida_g_socket_get_keepalive(socket: *mut GSocket) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_get_listen_backlog(socket: *mut GSocket) -> gint;
}
extern "C" {
pub fn _frida_g_socket_set_listen_backlog(socket: *mut GSocket, backlog: gint);
}
extern "C" {
pub fn _frida_g_socket_get_timeout(socket: *mut GSocket) -> guint;
}
extern "C" {
pub fn _frida_g_socket_set_timeout(socket: *mut GSocket, timeout: guint);
}
extern "C" {
pub fn _frida_g_socket_get_ttl(socket: *mut GSocket) -> guint;
}
extern "C" {
pub fn _frida_g_socket_set_ttl(socket: *mut GSocket, ttl: guint);
}
extern "C" {
pub fn _frida_g_socket_get_broadcast(socket: *mut GSocket) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_set_broadcast(socket: *mut GSocket, broadcast: gboolean);
}
extern "C" {
pub fn _frida_g_socket_get_multicast_loopback(socket: *mut GSocket) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_set_multicast_loopback(socket: *mut GSocket, loopback: gboolean);
}
extern "C" {
pub fn _frida_g_socket_get_multicast_ttl(socket: *mut GSocket) -> guint;
}
extern "C" {
pub fn _frida_g_socket_set_multicast_ttl(socket: *mut GSocket, ttl: guint);
}
extern "C" {
pub fn _frida_g_socket_is_connected(socket: *mut GSocket) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_bind(
socket: *mut GSocket,
address: *mut GSocketAddress,
allow_reuse: gboolean,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_join_multicast_group(
socket: *mut GSocket,
group: *mut GInetAddress,
source_specific: gboolean,
iface: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_leave_multicast_group(
socket: *mut GSocket,
group: *mut GInetAddress,
source_specific: gboolean,
iface: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_join_multicast_group_ssm(
socket: *mut GSocket,
group: *mut GInetAddress,
source_specific: *mut GInetAddress,
iface: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_leave_multicast_group_ssm(
socket: *mut GSocket,
group: *mut GInetAddress,
source_specific: *mut GInetAddress,
iface: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_connect(
socket: *mut GSocket,
address: *mut GSocketAddress,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_check_connect_result(
socket: *mut GSocket,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_get_available_bytes(socket: *mut GSocket) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_condition_check(
socket: *mut GSocket,
condition: GIOCondition,
) -> GIOCondition;
}
extern "C" {
pub fn _frida_g_socket_condition_wait(
socket: *mut GSocket,
condition: GIOCondition,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_condition_timed_wait(
socket: *mut GSocket,
condition: GIOCondition,
timeout_us: gint64,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_accept(
socket: *mut GSocket,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocket;
}
extern "C" {
pub fn _frida_g_socket_listen(socket: *mut GSocket, error: *mut *mut GError) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_receive(
socket: *mut GSocket,
buffer: *mut gchar,
size: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_receive_from(
socket: *mut GSocket,
address: *mut *mut GSocketAddress,
buffer: *mut gchar,
size: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_send(
socket: *mut GSocket,
buffer: *const gchar,
size: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_send_to(
socket: *mut GSocket,
address: *mut GSocketAddress,
buffer: *const gchar,
size: gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_receive_message(
socket: *mut GSocket,
address: *mut *mut GSocketAddress,
vectors: *mut GInputVector,
num_vectors: gint,
messages: *mut *mut *mut GSocketControlMessage,
num_messages: *mut gint,
flags: *mut gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_send_message(
socket: *mut GSocket,
address: *mut GSocketAddress,
vectors: *mut GOutputVector,
num_vectors: gint,
messages: *mut *mut GSocketControlMessage,
num_messages: gint,
flags: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_receive_messages(
socket: *mut GSocket,
messages: *mut GInputMessage,
num_messages: guint,
flags: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_socket_send_messages(
socket: *mut GSocket,
messages: *mut GOutputMessage,
num_messages: guint,
flags: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_socket_close(socket: *mut GSocket, error: *mut *mut GError) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_shutdown(
socket: *mut GSocket,
shutdown_read: gboolean,
shutdown_write: gboolean,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_is_closed(socket: *mut GSocket) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_create_source(
socket: *mut GSocket,
condition: GIOCondition,
cancellable: *mut GCancellable,
) -> *mut GSource;
}
extern "C" {
pub fn _frida_g_socket_speaks_ipv4(socket: *mut GSocket) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_get_credentials(
socket: *mut GSocket,
error: *mut *mut GError,
) -> *mut GCredentials;
}
extern "C" {
pub fn _frida_g_socket_receive_with_blocking(
socket: *mut GSocket,
buffer: *mut gchar,
size: gsize,
blocking: gboolean,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_send_with_blocking(
socket: *mut GSocket,
buffer: *const gchar,
size: gsize,
blocking: gboolean,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gssize;
}
extern "C" {
pub fn _frida_g_socket_send_message_with_timeout(
socket: *mut GSocket,
address: *mut GSocketAddress,
vectors: *const GOutputVector,
num_vectors: gint,
messages: *mut *mut GSocketControlMessage,
num_messages: gint,
flags: gint,
timeout_us: gint64,
bytes_written: *mut gsize,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GPollableReturn;
}
extern "C" {
pub fn _frida_g_socket_get_option(
socket: *mut GSocket,
level: gint,
optname: gint,
value: *mut gint,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_set_option(
socket: *mut GSocket,
level: gint,
optname: gint,
value: gint,
error: *mut *mut GError,
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketClientPrivate {
_unused: [u8; 0],
}
pub type GSocketClientPrivate = _GSocketClientPrivate;
pub type GSocketClientClass = _GSocketClientClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketClientClass {
pub parent_class: GObjectClass,
pub event: ::std::option::Option<
unsafe extern "C" fn(
client: *mut GSocketClient,
event: GSocketClientEvent,
connectable: *mut GSocketConnectable,
connection: *mut GIOStream,
),
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketClient {
pub parent_instance: GObject,
pub priv_: *mut GSocketClientPrivate,
}
extern "C" {
pub fn _frida_g_socket_client_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_client_new() -> *mut GSocketClient;
}
extern "C" {
pub fn _frida_g_socket_client_get_family(client: *mut GSocketClient) -> GSocketFamily;
}
extern "C" {
pub fn _frida_g_socket_client_set_family(client: *mut GSocketClient, family: GSocketFamily);
}
extern "C" {
pub fn _frida_g_socket_client_get_socket_type(client: *mut GSocketClient) -> GSocketType;
}
extern "C" {
pub fn _frida_g_socket_client_set_socket_type(client: *mut GSocketClient, type_: GSocketType);
}
extern "C" {
pub fn _frida_g_socket_client_get_protocol(client: *mut GSocketClient) -> GSocketProtocol;
}
extern "C" {
pub fn _frida_g_socket_client_set_protocol(
client: *mut GSocketClient,
protocol: GSocketProtocol,
);
}
extern "C" {
pub fn _frida_g_socket_client_get_local_address(
client: *mut GSocketClient,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_socket_client_set_local_address(
client: *mut GSocketClient,
address: *mut GSocketAddress,
);
}
extern "C" {
pub fn _frida_g_socket_client_get_timeout(client: *mut GSocketClient) -> guint;
}
extern "C" {
pub fn _frida_g_socket_client_set_timeout(client: *mut GSocketClient, timeout: guint);
}
extern "C" {
pub fn _frida_g_socket_client_get_enable_proxy(client: *mut GSocketClient) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_client_set_enable_proxy(client: *mut GSocketClient, enable: gboolean);
}
extern "C" {
pub fn _frida_g_socket_client_get_tls(client: *mut GSocketClient) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_client_set_tls(client: *mut GSocketClient, tls: gboolean);
}
extern "C" {
pub fn _frida_g_socket_client_get_tls_validation_flags(
client: *mut GSocketClient,
) -> GTlsCertificateFlags;
}
extern "C" {
pub fn _frida_g_socket_client_set_tls_validation_flags(
client: *mut GSocketClient,
flags: GTlsCertificateFlags,
);
}
extern "C" {
pub fn _frida_g_socket_client_get_proxy_resolver(
client: *mut GSocketClient,
) -> *mut GProxyResolver;
}
extern "C" {
pub fn _frida_g_socket_client_set_proxy_resolver(
client: *mut GSocketClient,
proxy_resolver: *mut GProxyResolver,
);
}
extern "C" {
pub fn _frida_g_socket_client_connect(
client: *mut GSocketClient,
connectable: *mut GSocketConnectable,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_host(
client: *mut GSocketClient,
host_and_port: *const gchar,
default_port: guint16,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_service(
client: *mut GSocketClient,
domain: *const gchar,
service: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_uri(
client: *mut GSocketClient,
uri: *const gchar,
default_port: guint16,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_client_connect_async(
client: *mut GSocketClient,
connectable: *mut GSocketConnectable,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_client_connect_finish(
client: *mut GSocketClient,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_host_async(
client: *mut GSocketClient,
host_and_port: *const gchar,
default_port: guint16,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_host_finish(
client: *mut GSocketClient,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_service_async(
client: *mut GSocketClient,
domain: *const gchar,
service: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_service_finish(
client: *mut GSocketClient,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_uri_async(
client: *mut GSocketClient,
uri: *const gchar,
default_port: guint16,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_client_connect_to_uri_finish(
client: *mut GSocketClient,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_client_add_application_proxy(
client: *mut GSocketClient,
protocol: *const gchar,
);
}
pub type GSocketConnectableIface = _GSocketConnectableIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketConnectableIface {
pub g_iface: GTypeInterface,
pub enumerate: ::std::option::Option<
unsafe extern "C" fn(connectable: *mut GSocketConnectable) -> *mut GSocketAddressEnumerator,
>,
pub proxy_enumerate: ::std::option::Option<
unsafe extern "C" fn(connectable: *mut GSocketConnectable) -> *mut GSocketAddressEnumerator,
>,
pub to_string: ::std::option::Option<
unsafe extern "C" fn(connectable: *mut GSocketConnectable) -> *mut gchar,
>,
}
extern "C" {
pub fn _frida_g_socket_connectable_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_connectable_enumerate(
connectable: *mut GSocketConnectable,
) -> *mut GSocketAddressEnumerator;
}
extern "C" {
pub fn _frida_g_socket_connectable_proxy_enumerate(
connectable: *mut GSocketConnectable,
) -> *mut GSocketAddressEnumerator;
}
extern "C" {
pub fn _frida_g_socket_connectable_to_string(
connectable: *mut GSocketConnectable,
) -> *mut gchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketConnectionPrivate {
_unused: [u8; 0],
}
pub type GSocketConnectionPrivate = _GSocketConnectionPrivate;
pub type GSocketConnectionClass = _GSocketConnectionClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketConnectionClass {
pub parent_class: GIOStreamClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketConnection {
pub parent_instance: GIOStream,
pub priv_: *mut GSocketConnectionPrivate,
}
extern "C" {
pub fn _frida_g_socket_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_connection_is_connected(connection: *mut GSocketConnection) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_connection_connect(
connection: *mut GSocketConnection,
address: *mut GSocketAddress,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_connection_connect_async(
connection: *mut GSocketConnection,
address: *mut GSocketAddress,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_connection_connect_finish(
connection: *mut GSocketConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_connection_get_socket(
connection: *mut GSocketConnection,
) -> *mut GSocket;
}
extern "C" {
pub fn _frida_g_socket_connection_get_local_address(
connection: *mut GSocketConnection,
error: *mut *mut GError,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_socket_connection_get_remote_address(
connection: *mut GSocketConnection,
error: *mut *mut GError,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_socket_connection_factory_register_type(
g_type: GType,
family: GSocketFamily,
type_: GSocketType,
protocol: gint,
);
}
extern "C" {
pub fn _frida_g_socket_connection_factory_lookup_type(
family: GSocketFamily,
type_: GSocketType,
protocol_id: gint,
) -> GType;
}
extern "C" {
pub fn _frida_g_socket_connection_factory_create_connection(
socket: *mut GSocket,
) -> *mut GSocketConnection;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketControlMessagePrivate {
_unused: [u8; 0],
}
pub type GSocketControlMessagePrivate = _GSocketControlMessagePrivate;
pub type GSocketControlMessageClass = _GSocketControlMessageClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketControlMessageClass {
pub parent_class: GObjectClass,
pub get_size:
::std::option::Option<unsafe extern "C" fn(message: *mut GSocketControlMessage) -> gsize>,
pub get_level: ::std::option::Option<
unsafe extern "C" fn(message: *mut GSocketControlMessage) -> ::std::os::raw::c_int,
>,
pub get_type: ::std::option::Option<
unsafe extern "C" fn(message: *mut GSocketControlMessage) -> ::std::os::raw::c_int,
>,
pub serialize: ::std::option::Option<
unsafe extern "C" fn(message: *mut GSocketControlMessage, data: gpointer),
>,
pub deserialize: ::std::option::Option<
unsafe extern "C" fn(
level: ::std::os::raw::c_int,
type_: ::std::os::raw::c_int,
size: gsize,
data: gpointer,
) -> *mut GSocketControlMessage,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketControlMessage {
pub parent_instance: GObject,
pub priv_: *mut GSocketControlMessagePrivate,
}
extern "C" {
pub fn _frida_g_socket_control_message_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_control_message_get_size(message: *mut GSocketControlMessage) -> gsize;
}
extern "C" {
pub fn _frida_g_socket_control_message_get_level(
message: *mut GSocketControlMessage,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_socket_control_message_get_msg_type(
message: *mut GSocketControlMessage,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _frida_g_socket_control_message_serialize(
message: *mut GSocketControlMessage,
data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_control_message_deserialize(
level: ::std::os::raw::c_int,
type_: ::std::os::raw::c_int,
size: gsize,
data: gpointer,
) -> *mut GSocketControlMessage;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketListenerPrivate {
_unused: [u8; 0],
}
pub type GSocketListenerPrivate = _GSocketListenerPrivate;
pub type GSocketListenerClass = _GSocketListenerClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketListenerClass {
pub parent_class: GObjectClass,
pub changed: ::std::option::Option<unsafe extern "C" fn(listener: *mut GSocketListener)>,
pub event: ::std::option::Option<
unsafe extern "C" fn(
listener: *mut GSocketListener,
event: GSocketListenerEvent,
socket: *mut GSocket,
),
>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketListener {
pub parent_instance: GObject,
pub priv_: *mut GSocketListenerPrivate,
}
extern "C" {
pub fn _frida_g_socket_listener_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_listener_new() -> *mut GSocketListener;
}
extern "C" {
pub fn _frida_g_socket_listener_set_backlog(
listener: *mut GSocketListener,
listen_backlog: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn _frida_g_socket_listener_add_socket(
listener: *mut GSocketListener,
socket: *mut GSocket,
source_object: *mut GObject,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_listener_add_address(
listener: *mut GSocketListener,
address: *mut GSocketAddress,
type_: GSocketType,
protocol: GSocketProtocol,
source_object: *mut GObject,
effective_address: *mut *mut GSocketAddress,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_listener_add_inet_port(
listener: *mut GSocketListener,
port: guint16,
source_object: *mut GObject,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_socket_listener_add_any_inet_port(
listener: *mut GSocketListener,
source_object: *mut GObject,
error: *mut *mut GError,
) -> guint16;
}
extern "C" {
pub fn _frida_g_socket_listener_accept_socket(
listener: *mut GSocketListener,
source_object: *mut *mut GObject,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocket;
}
extern "C" {
pub fn _frida_g_socket_listener_accept_socket_async(
listener: *mut GSocketListener,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_listener_accept_socket_finish(
listener: *mut GSocketListener,
result: *mut GAsyncResult,
source_object: *mut *mut GObject,
error: *mut *mut GError,
) -> *mut GSocket;
}
extern "C" {
pub fn _frida_g_socket_listener_accept(
listener: *mut GSocketListener,
source_object: *mut *mut GObject,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_listener_accept_async(
listener: *mut GSocketListener,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_socket_listener_accept_finish(
listener: *mut GSocketListener,
result: *mut GAsyncResult,
source_object: *mut *mut GObject,
error: *mut *mut GError,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_socket_listener_close(listener: *mut GSocketListener);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketServicePrivate {
_unused: [u8; 0],
}
pub type GSocketServicePrivate = _GSocketServicePrivate;
pub type GSocketServiceClass = _GSocketServiceClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketServiceClass {
pub parent_class: GSocketListenerClass,
pub incoming: ::std::option::Option<
unsafe extern "C" fn(
service: *mut GSocketService,
connection: *mut GSocketConnection,
source_object: *mut GObject,
) -> gboolean,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GSocketService {
pub parent_instance: GSocketListener,
pub priv_: *mut GSocketServicePrivate,
}
extern "C" {
pub fn _frida_g_socket_service_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_socket_service_new() -> *mut GSocketService;
}
extern "C" {
pub fn _frida_g_socket_service_start(service: *mut GSocketService);
}
extern "C" {
pub fn _frida_g_socket_service_stop(service: *mut GSocketService);
}
extern "C" {
pub fn _frida_g_socket_service_is_active(service: *mut GSocketService) -> gboolean;
}
extern "C" {
pub fn _frida_g_srv_target_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_srv_target_new(
hostname: *const gchar,
port: guint16,
priority: guint16,
weight: guint16,
) -> *mut GSrvTarget;
}
extern "C" {
pub fn _frida_g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget;
}
extern "C" {
pub fn _frida_g_srv_target_free(target: *mut GSrvTarget);
}
extern "C" {
pub fn _frida_g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const gchar;
}
extern "C" {
pub fn _frida_g_srv_target_get_port(target: *mut GSrvTarget) -> guint16;
}
extern "C" {
pub fn _frida_g_srv_target_get_priority(target: *mut GSrvTarget) -> guint16;
}
extern "C" {
pub fn _frida_g_srv_target_get_weight(target: *mut GSrvTarget) -> guint16;
}
extern "C" {
pub fn _frida_g_srv_target_list_sort(targets: *mut GList) -> *mut GList;
}
extern "C" {
pub fn _frida_g_subprocess_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_subprocess_new(
flags: GSubprocessFlags,
error: *mut *mut GError,
argv0: *const gchar,
...
) -> *mut GSubprocess;
}
extern "C" {
pub fn _frida_g_subprocess_newv(
argv: *const *const gchar,
flags: GSubprocessFlags,
error: *mut *mut GError,
) -> *mut GSubprocess;
}
extern "C" {
pub fn _frida_g_subprocess_get_stdin_pipe(subprocess: *mut GSubprocess) -> *mut GOutputStream;
}
extern "C" {
pub fn _frida_g_subprocess_get_stdout_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_subprocess_get_stderr_pipe(subprocess: *mut GSubprocess) -> *mut GInputStream;
}
extern "C" {
pub fn _frida_g_subprocess_get_identifier(subprocess: *mut GSubprocess) -> *const gchar;
}
extern "C" {
pub fn _frida_g_subprocess_send_signal(subprocess: *mut GSubprocess, signal_num: gint);
}
extern "C" {
pub fn _frida_g_subprocess_force_exit(subprocess: *mut GSubprocess);
}
extern "C" {
pub fn _frida_g_subprocess_wait(
subprocess: *mut GSubprocess,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_wait_async(
subprocess: *mut GSubprocess,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_subprocess_wait_finish(
subprocess: *mut GSubprocess,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_wait_check(
subprocess: *mut GSubprocess,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_wait_check_async(
subprocess: *mut GSubprocess,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_subprocess_wait_check_finish(
subprocess: *mut GSubprocess,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_get_status(subprocess: *mut GSubprocess) -> gint;
}
extern "C" {
pub fn _frida_g_subprocess_get_successful(subprocess: *mut GSubprocess) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_get_if_exited(subprocess: *mut GSubprocess) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_get_exit_status(subprocess: *mut GSubprocess) -> gint;
}
extern "C" {
pub fn _frida_g_subprocess_get_if_signaled(subprocess: *mut GSubprocess) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_get_term_sig(subprocess: *mut GSubprocess) -> gint;
}
extern "C" {
pub fn _frida_g_subprocess_communicate(
subprocess: *mut GSubprocess,
stdin_buf: *mut GBytes,
cancellable: *mut GCancellable,
stdout_buf: *mut *mut GBytes,
stderr_buf: *mut *mut GBytes,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_communicate_async(
subprocess: *mut GSubprocess,
stdin_buf: *mut GBytes,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_subprocess_communicate_finish(
subprocess: *mut GSubprocess,
result: *mut GAsyncResult,
stdout_buf: *mut *mut GBytes,
stderr_buf: *mut *mut GBytes,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_communicate_utf8(
subprocess: *mut GSubprocess,
stdin_buf: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
stdout_buf: *mut *mut ::std::os::raw::c_char,
stderr_buf: *mut *mut ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_communicate_utf8_async(
subprocess: *mut GSubprocess,
stdin_buf: *const ::std::os::raw::c_char,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_subprocess_communicate_utf8_finish(
subprocess: *mut GSubprocess,
result: *mut GAsyncResult,
stdout_buf: *mut *mut ::std::os::raw::c_char,
stderr_buf: *mut *mut ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_subprocess_launcher_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_subprocess_launcher_new(flags: GSubprocessFlags) -> *mut GSubprocessLauncher;
}
extern "C" {
pub fn _frida_g_subprocess_launcher_spawn(
self_: *mut GSubprocessLauncher,
error: *mut *mut GError,
argv0: *const gchar,
...
) -> *mut GSubprocess;
}
extern "C" {
pub fn _frida_g_subprocess_launcher_spawnv(
self_: *mut GSubprocessLauncher,
argv: *const *const gchar,
error: *mut *mut GError,
) -> *mut GSubprocess;
}
extern "C" {
pub fn _frida_g_subprocess_launcher_set_environ(
self_: *mut GSubprocessLauncher,
env: *mut *mut gchar,
);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_setenv(
self_: *mut GSubprocessLauncher,
variable: *const gchar,
value: *const gchar,
overwrite: gboolean,
);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_unsetenv(
self_: *mut GSubprocessLauncher,
variable: *const gchar,
);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_getenv(
self_: *mut GSubprocessLauncher,
variable: *const gchar,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_subprocess_launcher_set_cwd(self_: *mut GSubprocessLauncher, cwd: *const gchar);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_set_flags(
self_: *mut GSubprocessLauncher,
flags: GSubprocessFlags,
);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_set_stdin_file_path(
self_: *mut GSubprocessLauncher,
path: *const gchar,
);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_take_stdin_fd(self_: *mut GSubprocessLauncher, fd: gint);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_set_stdout_file_path(
self_: *mut GSubprocessLauncher,
path: *const gchar,
);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_take_stdout_fd(self_: *mut GSubprocessLauncher, fd: gint);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_set_stderr_file_path(
self_: *mut GSubprocessLauncher,
path: *const gchar,
);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_take_stderr_fd(self_: *mut GSubprocessLauncher, fd: gint);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_take_fd(
self_: *mut GSubprocessLauncher,
source_fd: gint,
target_fd: gint,
);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_close(self_: *mut GSubprocessLauncher);
}
extern "C" {
pub fn _frida_g_subprocess_launcher_set_child_setup(
self_: *mut GSubprocessLauncher,
child_setup: GSpawnChildSetupFunc,
user_data: gpointer,
destroy_notify: GDestroyNotify,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTaskClass {
_unused: [u8; 0],
}
pub type GTaskClass = _GTaskClass;
extern "C" {
pub fn _frida_g_task_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_task_new(
source_object: gpointer,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
callback_data: gpointer,
) -> *mut GTask;
}
extern "C" {
pub fn _frida_g_task_report_error(
source_object: gpointer,
callback: GAsyncReadyCallback,
callback_data: gpointer,
source_tag: gpointer,
error: *mut GError,
);
}
extern "C" {
pub fn _frida_g_task_report_new_error(
source_object: gpointer,
callback: GAsyncReadyCallback,
callback_data: gpointer,
source_tag: gpointer,
domain: GQuark,
code: gint,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn _frida_g_task_set_task_data(
task: *mut GTask,
task_data: gpointer,
task_data_destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_task_set_priority(task: *mut GTask, priority: gint);
}
extern "C" {
pub fn _frida_g_task_set_check_cancellable(task: *mut GTask, check_cancellable: gboolean);
}
extern "C" {
pub fn _frida_g_task_set_source_tag(task: *mut GTask, source_tag: gpointer);
}
extern "C" {
pub fn _frida_g_task_set_name(task: *mut GTask, name: *const gchar);
}
extern "C" {
pub fn _frida_g_task_set_static_name(task: *mut GTask, name: *const gchar);
}
extern "C" {
pub fn _frida_g_task_get_source_object(task: *mut GTask) -> gpointer;
}
extern "C" {
pub fn _frida_g_task_get_task_data(task: *mut GTask) -> gpointer;
}
extern "C" {
pub fn _frida_g_task_get_priority(task: *mut GTask) -> gint;
}
extern "C" {
pub fn _frida_g_task_get_context(task: *mut GTask) -> *mut GMainContext;
}
extern "C" {
pub fn _frida_g_task_get_cancellable(task: *mut GTask) -> *mut GCancellable;
}
extern "C" {
pub fn _frida_g_task_get_check_cancellable(task: *mut GTask) -> gboolean;
}
extern "C" {
pub fn _frida_g_task_get_source_tag(task: *mut GTask) -> gpointer;
}
extern "C" {
pub fn _frida_g_task_get_name(task: *mut GTask) -> *const gchar;
}
extern "C" {
pub fn _frida_g_task_is_valid(result: gpointer, source_object: gpointer) -> gboolean;
}
pub type GTaskThreadFunc = ::std::option::Option<
unsafe extern "C" fn(
task: *mut GTask,
source_object: gpointer,
task_data: gpointer,
cancellable: *mut GCancellable,
),
>;
extern "C" {
pub fn _frida_g_task_run_in_thread(task: *mut GTask, task_func: GTaskThreadFunc);
}
extern "C" {
pub fn _frida_g_task_run_in_thread_sync(task: *mut GTask, task_func: GTaskThreadFunc);
}
extern "C" {
pub fn _frida_g_task_set_return_on_cancel(
task: *mut GTask,
return_on_cancel: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_task_get_return_on_cancel(task: *mut GTask) -> gboolean;
}
extern "C" {
pub fn _frida_g_task_attach_source(
task: *mut GTask,
source: *mut GSource,
callback: GSourceFunc,
);
}
extern "C" {
pub fn _frida_g_task_return_pointer(
task: *mut GTask,
result: gpointer,
result_destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_task_return_boolean(task: *mut GTask, result: gboolean);
}
extern "C" {
pub fn _frida_g_task_return_int(task: *mut GTask, result: gssize);
}
extern "C" {
pub fn _frida_g_task_return_error(task: *mut GTask, error: *mut GError);
}
extern "C" {
pub fn _frida_g_task_return_new_error(
task: *mut GTask,
domain: GQuark,
code: gint,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn _frida_g_task_return_value(task: *mut GTask, result: *mut GValue);
}
extern "C" {
pub fn _frida_g_task_return_error_if_cancelled(task: *mut GTask) -> gboolean;
}
extern "C" {
pub fn _frida_g_task_propagate_pointer(task: *mut GTask, error: *mut *mut GError) -> gpointer;
}
extern "C" {
pub fn _frida_g_task_propagate_boolean(task: *mut GTask, error: *mut *mut GError) -> gboolean;
}
extern "C" {
pub fn _frida_g_task_propagate_int(task: *mut GTask, error: *mut *mut GError) -> gssize;
}
extern "C" {
pub fn _frida_g_task_propagate_value(
task: *mut GTask,
value: *mut GValue,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_task_had_error(task: *mut GTask) -> gboolean;
}
extern "C" {
pub fn _frida_g_task_get_completed(task: *mut GTask) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTcpConnectionPrivate {
_unused: [u8; 0],
}
pub type GTcpConnectionPrivate = _GTcpConnectionPrivate;
pub type GTcpConnectionClass = _GTcpConnectionClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTcpConnectionClass {
pub parent_class: GSocketConnectionClass,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTcpConnection {
pub parent_instance: GSocketConnection,
pub priv_: *mut GTcpConnectionPrivate,
}
extern "C" {
pub fn _frida_g_tcp_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tcp_connection_set_graceful_disconnect(
connection: *mut GTcpConnection,
graceful_disconnect: gboolean,
);
}
extern "C" {
pub fn _frida_g_tcp_connection_get_graceful_disconnect(
connection: *mut GTcpConnection,
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTcpWrapperConnectionPrivate {
_unused: [u8; 0],
}
pub type GTcpWrapperConnectionPrivate = _GTcpWrapperConnectionPrivate;
pub type GTcpWrapperConnectionClass = _GTcpWrapperConnectionClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTcpWrapperConnectionClass {
pub parent_class: GTcpConnectionClass,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTcpWrapperConnection {
pub parent_instance: GTcpConnection,
pub priv_: *mut GTcpWrapperConnectionPrivate,
}
extern "C" {
pub fn _frida_g_tcp_wrapper_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tcp_wrapper_connection_new(
base_io_stream: *mut GIOStream,
socket: *mut GSocket,
) -> *mut GSocketConnection;
}
extern "C" {
pub fn _frida_g_tcp_wrapper_connection_get_base_io_stream(
conn: *mut GTcpWrapperConnection,
) -> *mut GIOStream;
}
extern "C" {
pub fn _frida_g_test_dbus_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_test_dbus_new(flags: GTestDBusFlags) -> *mut GTestDBus;
}
extern "C" {
pub fn _frida_g_test_dbus_get_flags(self_: *mut GTestDBus) -> GTestDBusFlags;
}
extern "C" {
pub fn _frida_g_test_dbus_get_bus_address(self_: *mut GTestDBus) -> *const gchar;
}
extern "C" {
pub fn _frida_g_test_dbus_add_service_dir(self_: *mut GTestDBus, path: *const gchar);
}
extern "C" {
pub fn _frida_g_test_dbus_up(self_: *mut GTestDBus);
}
extern "C" {
pub fn _frida_g_test_dbus_stop(self_: *mut GTestDBus);
}
extern "C" {
pub fn _frida_g_test_dbus_down(self_: *mut GTestDBus);
}
extern "C" {
pub fn _frida_g_test_dbus_unset();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThemedIconClass {
_unused: [u8; 0],
}
pub type GThemedIconClass = _GThemedIconClass;
extern "C" {
pub fn _frida_g_themed_icon_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_themed_icon_new(iconname: *const ::std::os::raw::c_char) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_themed_icon_new_with_default_fallbacks(
iconname: *const ::std::os::raw::c_char,
) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_themed_icon_new_from_names(
iconnames: *mut *mut ::std::os::raw::c_char,
len: ::std::os::raw::c_int,
) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_themed_icon_prepend_name(
icon: *mut GThemedIcon,
iconname: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_themed_icon_append_name(
icon: *mut GThemedIcon,
iconname: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn _frida_g_themed_icon_get_names(icon: *mut GThemedIcon) -> *const *const gchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThreadedSocketServicePrivate {
_unused: [u8; 0],
}
pub type GThreadedSocketServicePrivate = _GThreadedSocketServicePrivate;
pub type GThreadedSocketServiceClass = _GThreadedSocketServiceClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThreadedSocketServiceClass {
pub parent_class: GSocketServiceClass,
pub run: ::std::option::Option<
unsafe extern "C" fn(
service: *mut GThreadedSocketService,
connection: *mut GSocketConnection,
source_object: *mut GObject,
) -> gboolean,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GThreadedSocketService {
pub parent_instance: GSocketService,
pub priv_: *mut GThreadedSocketServicePrivate,
}
extern "C" {
pub fn _frida_g_threaded_socket_service_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_threaded_socket_service_new(
max_threads: ::std::os::raw::c_int,
) -> *mut GSocketService;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsBackend {
_unused: [u8; 0],
}
pub type GTlsBackend = _GTlsBackend;
pub type GTlsBackendInterface = _GTlsBackendInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsBackendInterface {
pub g_iface: GTypeInterface,
pub supports_tls:
::std::option::Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> gboolean>,
pub get_certificate_type: ::std::option::Option<unsafe extern "C" fn() -> GType>,
pub get_client_connection_type: ::std::option::Option<unsafe extern "C" fn() -> GType>,
pub get_server_connection_type: ::std::option::Option<unsafe extern "C" fn() -> GType>,
pub get_file_database_type: ::std::option::Option<unsafe extern "C" fn() -> GType>,
pub get_default_database:
::std::option::Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> *mut GTlsDatabase>,
pub supports_dtls:
::std::option::Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> gboolean>,
pub get_dtls_client_connection_type: ::std::option::Option<unsafe extern "C" fn() -> GType>,
pub get_dtls_server_connection_type: ::std::option::Option<unsafe extern "C" fn() -> GType>,
}
extern "C" {
pub fn _frida_g_tls_backend_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_backend_get_default() -> *mut GTlsBackend;
}
extern "C" {
pub fn _frida_g_tls_backend_get_default_database(
backend: *mut GTlsBackend,
) -> *mut GTlsDatabase;
}
extern "C" {
pub fn _frida_g_tls_backend_set_default_database(
backend: *mut GTlsBackend,
database: *mut GTlsDatabase,
);
}
extern "C" {
pub fn _frida_g_tls_backend_supports_tls(backend: *mut GTlsBackend) -> gboolean;
}
extern "C" {
pub fn _frida_g_tls_backend_supports_dtls(backend: *mut GTlsBackend) -> gboolean;
}
extern "C" {
pub fn _frida_g_tls_backend_get_certificate_type(backend: *mut GTlsBackend) -> GType;
}
extern "C" {
pub fn _frida_g_tls_backend_get_client_connection_type(backend: *mut GTlsBackend) -> GType;
}
extern "C" {
pub fn _frida_g_tls_backend_get_server_connection_type(backend: *mut GTlsBackend) -> GType;
}
extern "C" {
pub fn _frida_g_tls_backend_get_file_database_type(backend: *mut GTlsBackend) -> GType;
}
extern "C" {
pub fn _frida_g_tls_backend_get_dtls_client_connection_type(backend: *mut GTlsBackend)
-> GType;
}
extern "C" {
pub fn _frida_g_tls_backend_get_dtls_server_connection_type(backend: *mut GTlsBackend)
-> GType;
}
pub type GTlsCertificateClass = _GTlsCertificateClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsCertificatePrivate {
_unused: [u8; 0],
}
pub type GTlsCertificatePrivate = _GTlsCertificatePrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsCertificate {
pub parent_instance: GObject,
pub priv_: *mut GTlsCertificatePrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsCertificateClass {
pub parent_class: GObjectClass,
pub verify: ::std::option::Option<
unsafe extern "C" fn(
cert: *mut GTlsCertificate,
identity: *mut GSocketConnectable,
trusted_ca: *mut GTlsCertificate,
) -> GTlsCertificateFlags,
>,
pub padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_tls_certificate_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_certificate_new_from_pem(
data: *const gchar,
length: gssize,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_certificate_new_from_pkcs12(
data: *const guint8,
length: gsize,
password: *const gchar,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_certificate_new_from_file_with_password(
file: *const gchar,
password: *const gchar,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_certificate_new_from_file(
file: *const gchar,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_certificate_new_from_files(
cert_file: *const gchar,
key_file: *const gchar,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_certificate_new_from_pkcs11_uris(
pkcs11_uri: *const gchar,
private_key_pkcs11_uri: *const gchar,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_certificate_list_new_from_file(
file: *const gchar,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_tls_certificate_get_issuer(cert: *mut GTlsCertificate) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_certificate_verify(
cert: *mut GTlsCertificate,
identity: *mut GSocketConnectable,
trusted_ca: *mut GTlsCertificate,
) -> GTlsCertificateFlags;
}
extern "C" {
pub fn _frida_g_tls_certificate_is_same(
cert_one: *mut GTlsCertificate,
cert_two: *mut GTlsCertificate,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_tls_certificate_get_not_valid_before(
cert: *mut GTlsCertificate,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_tls_certificate_get_not_valid_after(
cert: *mut GTlsCertificate,
) -> *mut GDateTime;
}
extern "C" {
pub fn _frida_g_tls_certificate_get_subject_name(cert: *mut GTlsCertificate) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_tls_certificate_get_issuer_name(cert: *mut GTlsCertificate) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_tls_certificate_get_dns_names(cert: *mut GTlsCertificate) -> *mut GPtrArray;
}
extern "C" {
pub fn _frida_g_tls_certificate_get_ip_addresses(cert: *mut GTlsCertificate) -> *mut GPtrArray;
}
pub type GTlsConnectionClass = _GTlsConnectionClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsConnectionPrivate {
_unused: [u8; 0],
}
pub type GTlsConnectionPrivate = _GTlsConnectionPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsConnection {
pub parent_instance: GIOStream,
pub priv_: *mut GTlsConnectionPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsConnectionClass {
pub parent_class: GIOStreamClass,
pub accept_certificate: ::std::option::Option<
unsafe extern "C" fn(
connection: *mut GTlsConnection,
peer_cert: *mut GTlsCertificate,
errors: GTlsCertificateFlags,
) -> gboolean,
>,
pub handshake: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GTlsConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub handshake_async: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GTlsConnection,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub handshake_finish: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GTlsConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub get_binding_data: ::std::option::Option<
unsafe extern "C" fn(
conn: *mut GTlsConnection,
type_: GTlsChannelBindingType,
data: *mut GByteArray,
error: *mut *mut GError,
) -> gboolean,
>,
pub get_negotiated_protocol:
::std::option::Option<unsafe extern "C" fn(conn: *mut GTlsConnection) -> *const gchar>,
pub padding: [gpointer; 6usize],
}
extern "C" {
pub fn _frida_g_tls_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_connection_set_use_system_certdb(
conn: *mut GTlsConnection,
use_system_certdb: gboolean,
);
}
extern "C" {
pub fn _frida_g_tls_connection_get_use_system_certdb(conn: *mut GTlsConnection) -> gboolean;
}
extern "C" {
pub fn _frida_g_tls_connection_set_database(
conn: *mut GTlsConnection,
database: *mut GTlsDatabase,
);
}
extern "C" {
pub fn _frida_g_tls_connection_get_database(conn: *mut GTlsConnection) -> *mut GTlsDatabase;
}
extern "C" {
pub fn _frida_g_tls_connection_set_certificate(
conn: *mut GTlsConnection,
certificate: *mut GTlsCertificate,
);
}
extern "C" {
pub fn _frida_g_tls_connection_get_certificate(
conn: *mut GTlsConnection,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_connection_set_interaction(
conn: *mut GTlsConnection,
interaction: *mut GTlsInteraction,
);
}
extern "C" {
pub fn _frida_g_tls_connection_get_interaction(
conn: *mut GTlsConnection,
) -> *mut GTlsInteraction;
}
extern "C" {
pub fn _frida_g_tls_connection_get_peer_certificate(
conn: *mut GTlsConnection,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_connection_get_peer_certificate_errors(
conn: *mut GTlsConnection,
) -> GTlsCertificateFlags;
}
extern "C" {
pub fn _frida_g_tls_connection_set_require_close_notify(
conn: *mut GTlsConnection,
require_close_notify: gboolean,
);
}
extern "C" {
pub fn _frida_g_tls_connection_get_require_close_notify(conn: *mut GTlsConnection) -> gboolean;
}
extern "C" {
pub fn _frida_g_tls_connection_set_rehandshake_mode(
conn: *mut GTlsConnection,
mode: GTlsRehandshakeMode,
);
}
extern "C" {
pub fn _frida_g_tls_connection_get_rehandshake_mode(
conn: *mut GTlsConnection,
) -> GTlsRehandshakeMode;
}
extern "C" {
pub fn _frida_g_tls_connection_set_advertised_protocols(
conn: *mut GTlsConnection,
protocols: *const *const gchar,
);
}
extern "C" {
pub fn _frida_g_tls_connection_get_negotiated_protocol(
conn: *mut GTlsConnection,
) -> *const gchar;
}
extern "C" {
pub fn _frida_g_tls_connection_get_channel_binding_data(
conn: *mut GTlsConnection,
type_: GTlsChannelBindingType,
data: *mut GByteArray,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_tls_connection_handshake(
conn: *mut GTlsConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_tls_connection_handshake_async(
conn: *mut GTlsConnection,
io_priority: ::std::os::raw::c_int,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tls_connection_handshake_finish(
conn: *mut GTlsConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_tls_connection_get_protocol_version(
conn: *mut GTlsConnection,
) -> GTlsProtocolVersion;
}
extern "C" {
pub fn _frida_g_tls_connection_get_ciphersuite_name(conn: *mut GTlsConnection) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_tls_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_tls_channel_binding_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_g_tls_connection_emit_accept_certificate(
conn: *mut GTlsConnection,
peer_cert: *mut GTlsCertificate,
errors: GTlsCertificateFlags,
) -> gboolean;
}
pub type GTlsClientConnectionInterface = _GTlsClientConnectionInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsClientConnectionInterface {
pub g_iface: GTypeInterface,
pub copy_session_state: ::std::option::Option<
unsafe extern "C" fn(conn: *mut GTlsClientConnection, source: *mut GTlsClientConnection),
>,
}
extern "C" {
pub fn _frida_g_tls_client_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_client_connection_new(
base_io_stream: *mut GIOStream,
server_identity: *mut GSocketConnectable,
error: *mut *mut GError,
) -> *mut GIOStream;
}
extern "C" {
pub fn _frida_g_tls_client_connection_get_validation_flags(
conn: *mut GTlsClientConnection,
) -> GTlsCertificateFlags;
}
extern "C" {
pub fn _frida_g_tls_client_connection_set_validation_flags(
conn: *mut GTlsClientConnection,
flags: GTlsCertificateFlags,
);
}
extern "C" {
pub fn _frida_g_tls_client_connection_get_server_identity(
conn: *mut GTlsClientConnection,
) -> *mut GSocketConnectable;
}
extern "C" {
pub fn _frida_g_tls_client_connection_set_server_identity(
conn: *mut GTlsClientConnection,
identity: *mut GSocketConnectable,
);
}
extern "C" {
pub fn _frida_g_tls_client_connection_get_use_ssl3(conn: *mut GTlsClientConnection)
-> gboolean;
}
extern "C" {
pub fn _frida_g_tls_client_connection_set_use_ssl3(
conn: *mut GTlsClientConnection,
use_ssl3: gboolean,
);
}
extern "C" {
pub fn _frida_g_tls_client_connection_get_accepted_cas(
conn: *mut GTlsClientConnection,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_tls_client_connection_copy_session_state(
conn: *mut GTlsClientConnection,
source: *mut GTlsClientConnection,
);
}
pub type GTlsDatabaseClass = _GTlsDatabaseClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsDatabasePrivate {
_unused: [u8; 0],
}
pub type GTlsDatabasePrivate = _GTlsDatabasePrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsDatabase {
pub parent_instance: GObject,
pub priv_: *mut GTlsDatabasePrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsDatabaseClass {
pub parent_class: GObjectClass,
pub verify_chain: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
chain: *mut GTlsCertificate,
purpose: *const gchar,
identity: *mut GSocketConnectable,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseVerifyFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GTlsCertificateFlags,
>,
pub verify_chain_async: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
chain: *mut GTlsCertificate,
purpose: *const gchar,
identity: *mut GSocketConnectable,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseVerifyFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub verify_chain_finish: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> GTlsCertificateFlags,
>,
pub create_certificate_handle: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
certificate: *mut GTlsCertificate,
) -> *mut gchar,
>,
pub lookup_certificate_for_handle: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
handle: *const gchar,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GTlsCertificate,
>,
pub lookup_certificate_for_handle_async: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
handle: *const gchar,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_certificate_for_handle_finish: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GTlsCertificate,
>,
pub lookup_certificate_issuer: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
certificate: *mut GTlsCertificate,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GTlsCertificate,
>,
pub lookup_certificate_issuer_async: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
certificate: *mut GTlsCertificate,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_certificate_issuer_finish: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GTlsCertificate,
>,
pub lookup_certificates_issued_by: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
issuer_raw_dn: *mut GByteArray,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList,
>,
pub lookup_certificates_issued_by_async: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
issuer_raw_dn: *mut GByteArray,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub lookup_certificates_issued_by_finish: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut GTlsDatabase,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList,
>,
pub padding: [gpointer; 16usize],
}
extern "C" {
pub fn _frida_g_tls_database_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_database_verify_chain(
self_: *mut GTlsDatabase,
chain: *mut GTlsCertificate,
purpose: *const gchar,
identity: *mut GSocketConnectable,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseVerifyFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GTlsCertificateFlags;
}
extern "C" {
pub fn _frida_g_tls_database_verify_chain_async(
self_: *mut GTlsDatabase,
chain: *mut GTlsCertificate,
purpose: *const gchar,
identity: *mut GSocketConnectable,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseVerifyFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tls_database_verify_chain_finish(
self_: *mut GTlsDatabase,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> GTlsCertificateFlags;
}
extern "C" {
pub fn _frida_g_tls_database_create_certificate_handle(
self_: *mut GTlsDatabase,
certificate: *mut GTlsCertificate,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificate_for_handle(
self_: *mut GTlsDatabase,
handle: *const gchar,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificate_for_handle_async(
self_: *mut GTlsDatabase,
handle: *const gchar,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificate_for_handle_finish(
self_: *mut GTlsDatabase,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificate_issuer(
self_: *mut GTlsDatabase,
certificate: *mut GTlsCertificate,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificate_issuer_async(
self_: *mut GTlsDatabase,
certificate: *mut GTlsCertificate,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificate_issuer_finish(
self_: *mut GTlsDatabase,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificates_issued_by(
self_: *mut GTlsDatabase,
issuer_raw_dn: *mut GByteArray,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GList;
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificates_issued_by_async(
self_: *mut GTlsDatabase,
issuer_raw_dn: *mut GByteArray,
interaction: *mut GTlsInteraction,
flags: GTlsDatabaseLookupFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tls_database_lookup_certificates_issued_by_finish(
self_: *mut GTlsDatabase,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GList;
}
pub type GTlsFileDatabaseInterface = _GTlsFileDatabaseInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsFileDatabaseInterface {
pub g_iface: GTypeInterface,
pub padding: [gpointer; 8usize],
}
extern "C" {
pub fn _frida_g_tls_file_database_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_file_database_new(
anchors: *const gchar,
error: *mut *mut GError,
) -> *mut GTlsDatabase;
}
pub type GTlsInteractionClass = _GTlsInteractionClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsInteractionPrivate {
_unused: [u8; 0],
}
pub type GTlsInteractionPrivate = _GTlsInteractionPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsInteraction {
pub parent_instance: GObject,
pub priv_: *mut GTlsInteractionPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsInteractionClass {
pub parent_class: GObjectClass,
pub ask_password: ::std::option::Option<
unsafe extern "C" fn(
interaction: *mut GTlsInteraction,
password: *mut GTlsPassword,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GTlsInteractionResult,
>,
pub ask_password_async: ::std::option::Option<
unsafe extern "C" fn(
interaction: *mut GTlsInteraction,
password: *mut GTlsPassword,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub ask_password_finish: ::std::option::Option<
unsafe extern "C" fn(
interaction: *mut GTlsInteraction,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> GTlsInteractionResult,
>,
pub request_certificate: ::std::option::Option<
unsafe extern "C" fn(
interaction: *mut GTlsInteraction,
connection: *mut GTlsConnection,
flags: GTlsCertificateRequestFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GTlsInteractionResult,
>,
pub request_certificate_async: ::std::option::Option<
unsafe extern "C" fn(
interaction: *mut GTlsInteraction,
connection: *mut GTlsConnection,
flags: GTlsCertificateRequestFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub request_certificate_finish: ::std::option::Option<
unsafe extern "C" fn(
interaction: *mut GTlsInteraction,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> GTlsInteractionResult,
>,
pub padding: [gpointer; 21usize],
}
extern "C" {
pub fn _frida_g_tls_interaction_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_interaction_invoke_ask_password(
interaction: *mut GTlsInteraction,
password: *mut GTlsPassword,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GTlsInteractionResult;
}
extern "C" {
pub fn _frida_g_tls_interaction_ask_password(
interaction: *mut GTlsInteraction,
password: *mut GTlsPassword,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GTlsInteractionResult;
}
extern "C" {
pub fn _frida_g_tls_interaction_ask_password_async(
interaction: *mut GTlsInteraction,
password: *mut GTlsPassword,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tls_interaction_ask_password_finish(
interaction: *mut GTlsInteraction,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> GTlsInteractionResult;
}
extern "C" {
pub fn _frida_g_tls_interaction_invoke_request_certificate(
interaction: *mut GTlsInteraction,
connection: *mut GTlsConnection,
flags: GTlsCertificateRequestFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GTlsInteractionResult;
}
extern "C" {
pub fn _frida_g_tls_interaction_request_certificate(
interaction: *mut GTlsInteraction,
connection: *mut GTlsConnection,
flags: GTlsCertificateRequestFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> GTlsInteractionResult;
}
extern "C" {
pub fn _frida_g_tls_interaction_request_certificate_async(
interaction: *mut GTlsInteraction,
connection: *mut GTlsConnection,
flags: GTlsCertificateRequestFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_tls_interaction_request_certificate_finish(
interaction: *mut GTlsInteraction,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> GTlsInteractionResult;
}
pub type GTlsPasswordClass = _GTlsPasswordClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsPasswordPrivate {
_unused: [u8; 0],
}
pub type GTlsPasswordPrivate = _GTlsPasswordPrivate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsPassword {
pub parent_instance: GObject,
pub priv_: *mut GTlsPasswordPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsPasswordClass {
pub parent_class: GObjectClass,
pub get_value: ::std::option::Option<
unsafe extern "C" fn(password: *mut GTlsPassword, length: *mut gsize) -> *const guchar,
>,
pub set_value: ::std::option::Option<
unsafe extern "C" fn(
password: *mut GTlsPassword,
value: *mut guchar,
length: gssize,
destroy: GDestroyNotify,
),
>,
pub get_default_warning:
::std::option::Option<unsafe extern "C" fn(password: *mut GTlsPassword) -> *const gchar>,
pub padding: [gpointer; 4usize],
}
extern "C" {
pub fn _frida_g_tls_password_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_password_new(
flags: GTlsPasswordFlags,
description: *const gchar,
) -> *mut GTlsPassword;
}
extern "C" {
pub fn _frida_g_tls_password_get_value(
password: *mut GTlsPassword,
length: *mut gsize,
) -> *const guchar;
}
extern "C" {
pub fn _frida_g_tls_password_set_value(
password: *mut GTlsPassword,
value: *const guchar,
length: gssize,
);
}
extern "C" {
pub fn _frida_g_tls_password_set_value_full(
password: *mut GTlsPassword,
value: *mut guchar,
length: gssize,
destroy: GDestroyNotify,
);
}
extern "C" {
pub fn _frida_g_tls_password_get_flags(password: *mut GTlsPassword) -> GTlsPasswordFlags;
}
extern "C" {
pub fn _frida_g_tls_password_set_flags(password: *mut GTlsPassword, flags: GTlsPasswordFlags);
}
extern "C" {
pub fn _frida_g_tls_password_get_description(password: *mut GTlsPassword) -> *const gchar;
}
extern "C" {
pub fn _frida_g_tls_password_set_description(
password: *mut GTlsPassword,
description: *const gchar,
);
}
extern "C" {
pub fn _frida_g_tls_password_get_warning(password: *mut GTlsPassword) -> *const gchar;
}
extern "C" {
pub fn _frida_g_tls_password_set_warning(password: *mut GTlsPassword, warning: *const gchar);
}
pub type GTlsServerConnectionInterface = _GTlsServerConnectionInterface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GTlsServerConnectionInterface {
pub g_iface: GTypeInterface,
}
extern "C" {
pub fn _frida_g_tls_server_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_tls_server_connection_new(
base_io_stream: *mut GIOStream,
certificate: *mut GTlsCertificate,
error: *mut *mut GError,
) -> *mut GIOStream;
}
pub type GUnixConnection = _GUnixConnection;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixConnectionPrivate {
_unused: [u8; 0],
}
pub type GUnixConnectionPrivate = _GUnixConnectionPrivate;
pub type GUnixConnectionClass = _GUnixConnectionClass;
pub type GUnixConnection_autoptr = *mut GUnixConnection;
pub type GUnixConnection_listautoptr = *mut GList;
pub type GUnixConnection_slistautoptr = *mut GSList;
pub type GUnixConnection_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixConnectionClass {
pub parent_class: GSocketConnectionClass,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixConnection {
pub parent_instance: GSocketConnection,
pub priv_: *mut GUnixConnectionPrivate,
}
extern "C" {
pub fn _frida_g_unix_connection_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_unix_connection_send_fd(
connection: *mut GUnixConnection,
fd: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_unix_connection_receive_fd(
connection: *mut GUnixConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_unix_connection_send_credentials(
connection: *mut GUnixConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_unix_connection_send_credentials_async(
connection: *mut GUnixConnection,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_unix_connection_send_credentials_finish(
connection: *mut GUnixConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_unix_connection_receive_credentials(
connection: *mut GUnixConnection,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GCredentials;
}
extern "C" {
pub fn _frida_g_unix_connection_receive_credentials_async(
connection: *mut GUnixConnection,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_unix_connection_receive_credentials_finish(
connection: *mut GUnixConnection,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GCredentials;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixCredentialsMessagePrivate {
_unused: [u8; 0],
}
pub type GUnixCredentialsMessagePrivate = _GUnixCredentialsMessagePrivate;
pub type GUnixCredentialsMessageClass = _GUnixCredentialsMessageClass;
pub type GUnixCredentialsMessage_autoptr = *mut GUnixCredentialsMessage;
pub type GUnixCredentialsMessage_listautoptr = *mut GList;
pub type GUnixCredentialsMessage_slistautoptr = *mut GSList;
pub type GUnixCredentialsMessage_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixCredentialsMessageClass {
pub parent_class: GSocketControlMessageClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixCredentialsMessage {
pub parent_instance: GSocketControlMessage,
pub priv_: *mut GUnixCredentialsMessagePrivate,
}
extern "C" {
pub fn _frida_g_unix_credentials_message_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_unix_credentials_message_new() -> *mut GSocketControlMessage;
}
extern "C" {
pub fn _frida_g_unix_credentials_message_new_with_credentials(
credentials: *mut GCredentials,
) -> *mut GSocketControlMessage;
}
extern "C" {
pub fn _frida_g_unix_credentials_message_get_credentials(
message: *mut GUnixCredentialsMessage,
) -> *mut GCredentials;
}
extern "C" {
pub fn _frida_g_unix_credentials_message_is_supported() -> gboolean;
}
pub type GUnixFDList_autoptr = *mut GUnixFDList;
pub type GUnixFDList_listautoptr = *mut GList;
pub type GUnixFDList_slistautoptr = *mut GSList;
pub type GUnixFDList_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixFDListPrivate {
_unused: [u8; 0],
}
pub type GUnixFDListPrivate = _GUnixFDListPrivate;
pub type GUnixFDListClass = _GUnixFDListClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixFDListClass {
pub parent_class: GObjectClass,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixFDList {
pub parent_instance: GObject,
pub priv_: *mut GUnixFDListPrivate,
}
extern "C" {
pub fn _frida_g_unix_fd_list_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_unix_fd_list_new() -> *mut GUnixFDList;
}
extern "C" {
pub fn _frida_g_unix_fd_list_new_from_array(fds: *const gint, n_fds: gint) -> *mut GUnixFDList;
}
extern "C" {
pub fn _frida_g_unix_fd_list_append(
list: *mut GUnixFDList,
fd: gint,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_unix_fd_list_get_length(list: *mut GUnixFDList) -> gint;
}
extern "C" {
pub fn _frida_g_unix_fd_list_get(
list: *mut GUnixFDList,
index_: gint,
error: *mut *mut GError,
) -> gint;
}
extern "C" {
pub fn _frida_g_unix_fd_list_peek_fds(list: *mut GUnixFDList, length: *mut gint)
-> *const gint;
}
extern "C" {
pub fn _frida_g_unix_fd_list_steal_fds(list: *mut GUnixFDList, length: *mut gint) -> *mut gint;
}
pub type GUnixSocketAddress = _GUnixSocketAddress;
pub type GUnixSocketAddressClass = _GUnixSocketAddressClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixSocketAddressPrivate {
_unused: [u8; 0],
}
pub type GUnixSocketAddressPrivate = _GUnixSocketAddressPrivate;
pub type GUnixSocketAddress_autoptr = *mut GUnixSocketAddress;
pub type GUnixSocketAddress_listautoptr = *mut GList;
pub type GUnixSocketAddress_slistautoptr = *mut GSList;
pub type GUnixSocketAddress_queueautoptr = *mut GQueue;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixSocketAddress {
pub parent_instance: GSocketAddress,
pub priv_: *mut GUnixSocketAddressPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GUnixSocketAddressClass {
pub parent_class: GSocketAddressClass,
}
extern "C" {
pub fn _frida_g_unix_socket_address_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_unix_socket_address_new(path: *const gchar) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_unix_socket_address_new_abstract(
path: *const gchar,
path_len: gint,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_unix_socket_address_new_with_type(
path: *const gchar,
path_len: gint,
type_: GUnixSocketAddressType,
) -> *mut GSocketAddress;
}
extern "C" {
pub fn _frida_g_unix_socket_address_get_path(
address: *mut GUnixSocketAddress,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_unix_socket_address_get_path_len(address: *mut GUnixSocketAddress) -> gsize;
}
extern "C" {
pub fn _frida_g_unix_socket_address_get_address_type(
address: *mut GUnixSocketAddress,
) -> GUnixSocketAddressType;
}
extern "C" {
pub fn _frida_g_unix_socket_address_get_is_abstract(
address: *mut GUnixSocketAddress,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_unix_socket_address_abstract_names_supported() -> gboolean;
}
pub type GVfsFileLookupFunc = ::std::option::Option<
unsafe extern "C" fn(
vfs: *mut GVfs,
identifier: *const ::std::os::raw::c_char,
user_data: gpointer,
) -> *mut GFile,
>;
pub type GVfsClass = _GVfsClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVfs {
pub parent_instance: GObject,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVfsClass {
pub parent_class: GObjectClass,
pub is_active: ::std::option::Option<unsafe extern "C" fn(vfs: *mut GVfs) -> gboolean>,
pub get_file_for_path: ::std::option::Option<
unsafe extern "C" fn(vfs: *mut GVfs, path: *const ::std::os::raw::c_char) -> *mut GFile,
>,
pub get_file_for_uri: ::std::option::Option<
unsafe extern "C" fn(vfs: *mut GVfs, uri: *const ::std::os::raw::c_char) -> *mut GFile,
>,
pub get_supported_uri_schemes:
::std::option::Option<unsafe extern "C" fn(vfs: *mut GVfs) -> *const *const gchar>,
pub parse_name: ::std::option::Option<
unsafe extern "C" fn(
vfs: *mut GVfs,
parse_name: *const ::std::os::raw::c_char,
) -> *mut GFile,
>,
pub local_file_add_info: ::std::option::Option<
unsafe extern "C" fn(
vfs: *mut GVfs,
filename: *const ::std::os::raw::c_char,
device: guint64,
attribute_matcher: *mut GFileAttributeMatcher,
info: *mut GFileInfo,
cancellable: *mut GCancellable,
extra_data: *mut gpointer,
free_extra_data: *mut GDestroyNotify,
),
>,
pub add_writable_namespaces: ::std::option::Option<
unsafe extern "C" fn(vfs: *mut GVfs, list: *mut GFileAttributeInfoList),
>,
pub local_file_set_attributes: ::std::option::Option<
unsafe extern "C" fn(
vfs: *mut GVfs,
filename: *const ::std::os::raw::c_char,
info: *mut GFileInfo,
flags: GFileQueryInfoFlags,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean,
>,
pub local_file_removed: ::std::option::Option<
unsafe extern "C" fn(vfs: *mut GVfs, filename: *const ::std::os::raw::c_char),
>,
pub local_file_moved: ::std::option::Option<
unsafe extern "C" fn(
vfs: *mut GVfs,
source: *const ::std::os::raw::c_char,
dest: *const ::std::os::raw::c_char,
),
>,
pub deserialize_icon: ::std::option::Option<
unsafe extern "C" fn(vfs: *mut GVfs, value: *mut GVariant) -> *mut GIcon,
>,
pub _g_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _g_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_g_vfs_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_vfs_is_active(vfs: *mut GVfs) -> gboolean;
}
extern "C" {
pub fn _frida_g_vfs_get_file_for_path(
vfs: *mut GVfs,
path: *const ::std::os::raw::c_char,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_vfs_get_file_for_uri(
vfs: *mut GVfs,
uri: *const ::std::os::raw::c_char,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_vfs_get_supported_uri_schemes(vfs: *mut GVfs) -> *const *const gchar;
}
extern "C" {
pub fn _frida_g_vfs_parse_name(
vfs: *mut GVfs,
parse_name: *const ::std::os::raw::c_char,
) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_vfs_get_default() -> *mut GVfs;
}
extern "C" {
pub fn _frida_g_vfs_get_local() -> *mut GVfs;
}
extern "C" {
pub fn _frida_g_vfs_register_uri_scheme(
vfs: *mut GVfs,
scheme: *const ::std::os::raw::c_char,
uri_func: GVfsFileLookupFunc,
uri_data: gpointer,
uri_destroy: GDestroyNotify,
parse_name_func: GVfsFileLookupFunc,
parse_name_data: gpointer,
parse_name_destroy: GDestroyNotify,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_vfs_unregister_uri_scheme(
vfs: *mut GVfs,
scheme: *const ::std::os::raw::c_char,
) -> gboolean;
}
pub type GVolumeIface = _GVolumeIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GVolumeIface {
pub g_iface: GTypeInterface,
pub changed: ::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume)>,
pub removed: ::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume)>,
pub get_name: ::std::option::Option<
unsafe extern "C" fn(volume: *mut GVolume) -> *mut ::std::os::raw::c_char,
>,
pub get_icon: ::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GIcon>,
pub get_uuid: ::std::option::Option<
unsafe extern "C" fn(volume: *mut GVolume) -> *mut ::std::os::raw::c_char,
>,
pub get_drive: ::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GDrive>,
pub get_mount: ::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GMount>,
pub can_mount: ::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>,
pub can_eject: ::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>,
pub mount_fn: ::std::option::Option<
unsafe extern "C" fn(
volume: *mut GVolume,
flags: GMountMountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub mount_finish: ::std::option::Option<
unsafe extern "C" fn(
volume: *mut GVolume,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub eject: ::std::option::Option<
unsafe extern "C" fn(
volume: *mut GVolume,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub eject_finish: ::std::option::Option<
unsafe extern "C" fn(
volume: *mut GVolume,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub get_identifier: ::std::option::Option<
unsafe extern "C" fn(
volume: *mut GVolume,
kind: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char,
>,
pub enumerate_identifiers: ::std::option::Option<
unsafe extern "C" fn(volume: *mut GVolume) -> *mut *mut ::std::os::raw::c_char,
>,
pub should_automount:
::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>,
pub get_activation_root:
::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GFile>,
pub eject_with_operation: ::std::option::Option<
unsafe extern "C" fn(
volume: *mut GVolume,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub eject_with_operation_finish: ::std::option::Option<
unsafe extern "C" fn(
volume: *mut GVolume,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean,
>,
pub get_sort_key:
::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> *const gchar>,
pub get_symbolic_icon:
::std::option::Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GIcon>,
}
extern "C" {
pub fn _frida_g_volume_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_volume_get_name(volume: *mut GVolume) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_volume_get_icon(volume: *mut GVolume) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_volume_get_symbolic_icon(volume: *mut GVolume) -> *mut GIcon;
}
extern "C" {
pub fn _frida_g_volume_get_uuid(volume: *mut GVolume) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_volume_get_drive(volume: *mut GVolume) -> *mut GDrive;
}
extern "C" {
pub fn _frida_g_volume_get_mount(volume: *mut GVolume) -> *mut GMount;
}
extern "C" {
pub fn _frida_g_volume_can_mount(volume: *mut GVolume) -> gboolean;
}
extern "C" {
pub fn _frida_g_volume_can_eject(volume: *mut GVolume) -> gboolean;
}
extern "C" {
pub fn _frida_g_volume_should_automount(volume: *mut GVolume) -> gboolean;
}
extern "C" {
pub fn _frida_g_volume_mount(
volume: *mut GVolume,
flags: GMountMountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_volume_mount_finish(
volume: *mut GVolume,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_volume_eject(
volume: *mut GVolume,
flags: GMountUnmountFlags,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_volume_eject_finish(
volume: *mut GVolume,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_volume_get_identifier(
volume: *mut GVolume,
kind: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_volume_enumerate_identifiers(
volume: *mut GVolume,
) -> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_g_volume_get_activation_root(volume: *mut GVolume) -> *mut GFile;
}
extern "C" {
pub fn _frida_g_volume_eject_with_operation(
volume: *mut GVolume,
flags: GMountUnmountFlags,
mount_operation: *mut GMountOperation,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_g_volume_eject_with_operation_finish(
volume: *mut GVolume,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_g_volume_get_sort_key(volume: *mut GVolume) -> *const gchar;
}
pub type GZlibCompressorClass = _GZlibCompressorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GZlibCompressorClass {
pub parent_class: GObjectClass,
}
extern "C" {
pub fn _frida_g_zlib_compressor_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_zlib_compressor_new(
format: GZlibCompressorFormat,
level: ::std::os::raw::c_int,
) -> *mut GZlibCompressor;
}
extern "C" {
pub fn _frida_g_zlib_compressor_get_file_info(
compressor: *mut GZlibCompressor,
) -> *mut GFileInfo;
}
extern "C" {
pub fn _frida_g_zlib_compressor_set_file_info(
compressor: *mut GZlibCompressor,
file_info: *mut GFileInfo,
);
}
pub type GZlibDecompressorClass = _GZlibDecompressorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _GZlibDecompressorClass {
pub parent_class: GObjectClass,
}
extern "C" {
pub fn _frida_g_zlib_decompressor_get_type() -> GType;
}
extern "C" {
pub fn _frida_g_zlib_decompressor_new(format: GZlibCompressorFormat) -> *mut GZlibDecompressor;
}
extern "C" {
pub fn _frida_g_zlib_decompressor_get_file_info(
decompressor: *mut GZlibDecompressor,
) -> *mut GFileInfo;
}
pub type GAction_autoptr = *mut GAction;
pub type GAction_listautoptr = *mut GList;
pub type GAction_slistautoptr = *mut GSList;
pub type GAction_queueautoptr = *mut GQueue;
pub type GActionMap_autoptr = *mut GActionMap;
pub type GActionMap_listautoptr = *mut GList;
pub type GActionMap_slistautoptr = *mut GSList;
pub type GActionMap_queueautoptr = *mut GQueue;
pub type GAppInfo_autoptr = *mut GAppInfo;
pub type GAppInfo_listautoptr = *mut GList;
pub type GAppInfo_slistautoptr = *mut GSList;
pub type GAppInfo_queueautoptr = *mut GQueue;
pub type GAppLaunchContext_autoptr = *mut GAppLaunchContext;
pub type GAppLaunchContext_listautoptr = *mut GList;
pub type GAppLaunchContext_slistautoptr = *mut GSList;
pub type GAppLaunchContext_queueautoptr = *mut GQueue;
pub type GAppInfoMonitor_autoptr = *mut GAppInfoMonitor;
pub type GAppInfoMonitor_listautoptr = *mut GList;
pub type GAppInfoMonitor_slistautoptr = *mut GSList;
pub type GAppInfoMonitor_queueautoptr = *mut GQueue;
pub type GApplicationCommandLine_autoptr = *mut GApplicationCommandLine;
pub type GApplicationCommandLine_listautoptr = *mut GList;
pub type GApplicationCommandLine_slistautoptr = *mut GSList;
pub type GApplicationCommandLine_queueautoptr = *mut GQueue;
pub type GApplication_autoptr = *mut GApplication;
pub type GApplication_listautoptr = *mut GList;
pub type GApplication_slistautoptr = *mut GSList;
pub type GApplication_queueautoptr = *mut GQueue;
pub type GAsyncInitable_autoptr = *mut GAsyncInitable;
pub type GAsyncInitable_listautoptr = *mut GList;
pub type GAsyncInitable_slistautoptr = *mut GSList;
pub type GAsyncInitable_queueautoptr = *mut GQueue;
pub type GAsyncResult_autoptr = *mut GAsyncResult;
pub type GAsyncResult_listautoptr = *mut GList;
pub type GAsyncResult_slistautoptr = *mut GSList;
pub type GAsyncResult_queueautoptr = *mut GQueue;
pub type GBufferedInputStream_autoptr = *mut GBufferedInputStream;
pub type GBufferedInputStream_listautoptr = *mut GList;
pub type GBufferedInputStream_slistautoptr = *mut GSList;
pub type GBufferedInputStream_queueautoptr = *mut GQueue;
pub type GBufferedOutputStream_autoptr = *mut GBufferedOutputStream;
pub type GBufferedOutputStream_listautoptr = *mut GList;
pub type GBufferedOutputStream_slistautoptr = *mut GSList;
pub type GBufferedOutputStream_queueautoptr = *mut GQueue;
pub type GBytesIcon_autoptr = *mut GBytesIcon;
pub type GBytesIcon_listautoptr = *mut GList;
pub type GBytesIcon_slistautoptr = *mut GSList;
pub type GBytesIcon_queueautoptr = *mut GQueue;
pub type GCancellable_autoptr = *mut GCancellable;
pub type GCancellable_listautoptr = *mut GList;
pub type GCancellable_slistautoptr = *mut GSList;
pub type GCancellable_queueautoptr = *mut GQueue;
pub type GCharsetConverter_autoptr = *mut GCharsetConverter;
pub type GCharsetConverter_listautoptr = *mut GList;
pub type GCharsetConverter_slistautoptr = *mut GSList;
pub type GCharsetConverter_queueautoptr = *mut GQueue;
pub type GConverter_autoptr = *mut GConverter;
pub type GConverter_listautoptr = *mut GList;
pub type GConverter_slistautoptr = *mut GSList;
pub type GConverter_queueautoptr = *mut GQueue;
pub type GConverterInputStream_autoptr = *mut GConverterInputStream;
pub type GConverterInputStream_listautoptr = *mut GList;
pub type GConverterInputStream_slistautoptr = *mut GSList;
pub type GConverterInputStream_queueautoptr = *mut GQueue;
pub type GConverterOutputStream_autoptr = *mut GConverterOutputStream;
pub type GConverterOutputStream_listautoptr = *mut GList;
pub type GConverterOutputStream_slistautoptr = *mut GSList;
pub type GConverterOutputStream_queueautoptr = *mut GQueue;
pub type GCredentials_autoptr = *mut GCredentials;
pub type GCredentials_listautoptr = *mut GList;
pub type GCredentials_slistautoptr = *mut GSList;
pub type GCredentials_queueautoptr = *mut GQueue;
pub type GDatagramBased_autoptr = *mut GDatagramBased;
pub type GDatagramBased_listautoptr = *mut GList;
pub type GDatagramBased_slistautoptr = *mut GSList;
pub type GDatagramBased_queueautoptr = *mut GQueue;
pub type GDataInputStream_autoptr = *mut GDataInputStream;
pub type GDataInputStream_listautoptr = *mut GList;
pub type GDataInputStream_slistautoptr = *mut GSList;
pub type GDataInputStream_queueautoptr = *mut GQueue;
pub type GDataOutputStream_autoptr = *mut GDataOutputStream;
pub type GDataOutputStream_listautoptr = *mut GList;
pub type GDataOutputStream_slistautoptr = *mut GSList;
pub type GDataOutputStream_queueautoptr = *mut GQueue;
pub type GDBusActionGroup_autoptr = *mut GDBusActionGroup;
pub type GDBusActionGroup_listautoptr = *mut GList;
pub type GDBusActionGroup_slistautoptr = *mut GSList;
pub type GDBusActionGroup_queueautoptr = *mut GQueue;
pub type GDBusAuthObserver_autoptr = *mut GDBusAuthObserver;
pub type GDBusAuthObserver_listautoptr = *mut GList;
pub type GDBusAuthObserver_slistautoptr = *mut GSList;
pub type GDBusAuthObserver_queueautoptr = *mut GQueue;
pub type GDBusConnection_autoptr = *mut GDBusConnection;
pub type GDBusConnection_listautoptr = *mut GList;
pub type GDBusConnection_slistautoptr = *mut GSList;
pub type GDBusConnection_queueautoptr = *mut GQueue;
pub type GDBusInterface_autoptr = *mut GDBusInterface;
pub type GDBusInterface_listautoptr = *mut GList;
pub type GDBusInterface_slistautoptr = *mut GSList;
pub type GDBusInterface_queueautoptr = *mut GQueue;
pub type GDBusInterfaceSkeleton_autoptr = *mut GDBusInterfaceSkeleton;
pub type GDBusInterfaceSkeleton_listautoptr = *mut GList;
pub type GDBusInterfaceSkeleton_slistautoptr = *mut GSList;
pub type GDBusInterfaceSkeleton_queueautoptr = *mut GQueue;
pub type GDBusMenuModel_autoptr = *mut GDBusMenuModel;
pub type GDBusMenuModel_listautoptr = *mut GList;
pub type GDBusMenuModel_slistautoptr = *mut GSList;
pub type GDBusMenuModel_queueautoptr = *mut GQueue;
pub type GDBusMessage_autoptr = *mut GDBusMessage;
pub type GDBusMessage_listautoptr = *mut GList;
pub type GDBusMessage_slistautoptr = *mut GSList;
pub type GDBusMessage_queueautoptr = *mut GQueue;
pub type GDBusMethodInvocation_autoptr = *mut GDBusMethodInvocation;
pub type GDBusMethodInvocation_listautoptr = *mut GList;
pub type GDBusMethodInvocation_slistautoptr = *mut GSList;
pub type GDBusMethodInvocation_queueautoptr = *mut GQueue;
pub type GDBusNodeInfo_autoptr = *mut GDBusNodeInfo;
pub type GDBusNodeInfo_listautoptr = *mut GList;
pub type GDBusNodeInfo_slistautoptr = *mut GSList;
pub type GDBusNodeInfo_queueautoptr = *mut GQueue;
pub type GDBusObject_autoptr = *mut GDBusObject;
pub type GDBusObject_listautoptr = *mut GList;
pub type GDBusObject_slistautoptr = *mut GSList;
pub type GDBusObject_queueautoptr = *mut GQueue;
pub type GDBusObjectManagerClient_autoptr = *mut GDBusObjectManagerClient;
pub type GDBusObjectManagerClient_listautoptr = *mut GList;
pub type GDBusObjectManagerClient_slistautoptr = *mut GSList;
pub type GDBusObjectManagerClient_queueautoptr = *mut GQueue;
pub type GDBusObjectManager_autoptr = *mut GDBusObjectManager;
pub type GDBusObjectManager_listautoptr = *mut GList;
pub type GDBusObjectManager_slistautoptr = *mut GSList;
pub type GDBusObjectManager_queueautoptr = *mut GQueue;
pub type GDBusObjectManagerServer_autoptr = *mut GDBusObjectManagerServer;
pub type GDBusObjectManagerServer_listautoptr = *mut GList;
pub type GDBusObjectManagerServer_slistautoptr = *mut GSList;
pub type GDBusObjectManagerServer_queueautoptr = *mut GQueue;
pub type GDBusObjectProxy_autoptr = *mut GDBusObjectProxy;
pub type GDBusObjectProxy_listautoptr = *mut GList;
pub type GDBusObjectProxy_slistautoptr = *mut GSList;
pub type GDBusObjectProxy_queueautoptr = *mut GQueue;
pub type GDBusObjectSkeleton_autoptr = *mut GDBusObjectSkeleton;
pub type GDBusObjectSkeleton_listautoptr = *mut GList;
pub type GDBusObjectSkeleton_slistautoptr = *mut GSList;
pub type GDBusObjectSkeleton_queueautoptr = *mut GQueue;
pub type GDBusProxy_autoptr = *mut GDBusProxy;
pub type GDBusProxy_listautoptr = *mut GList;
pub type GDBusProxy_slistautoptr = *mut GSList;
pub type GDBusProxy_queueautoptr = *mut GQueue;
pub type GDBusServer_autoptr = *mut GDBusServer;
pub type GDBusServer_listautoptr = *mut GList;
pub type GDBusServer_slistautoptr = *mut GSList;
pub type GDBusServer_queueautoptr = *mut GQueue;
pub type GDrive_autoptr = *mut GDrive;
pub type GDrive_listautoptr = *mut GList;
pub type GDrive_slistautoptr = *mut GSList;
pub type GDrive_queueautoptr = *mut GQueue;
pub type GEmblemedIcon_autoptr = *mut GEmblemedIcon;
pub type GEmblemedIcon_listautoptr = *mut GList;
pub type GEmblemedIcon_slistautoptr = *mut GSList;
pub type GEmblemedIcon_queueautoptr = *mut GQueue;
pub type GEmblem_autoptr = *mut GEmblem;
pub type GEmblem_listautoptr = *mut GList;
pub type GEmblem_slistautoptr = *mut GSList;
pub type GEmblem_queueautoptr = *mut GQueue;
pub type GFileEnumerator_autoptr = *mut GFileEnumerator;
pub type GFileEnumerator_listautoptr = *mut GList;
pub type GFileEnumerator_slistautoptr = *mut GSList;
pub type GFileEnumerator_queueautoptr = *mut GQueue;
pub type GFile_autoptr = *mut GFile;
pub type GFile_listautoptr = *mut GList;
pub type GFile_slistautoptr = *mut GSList;
pub type GFile_queueautoptr = *mut GQueue;
pub type GFileAttributeInfoList_autoptr = *mut GFileAttributeInfoList;
pub type GFileAttributeInfoList_listautoptr = *mut GList;
pub type GFileAttributeInfoList_slistautoptr = *mut GSList;
pub type GFileAttributeInfoList_queueautoptr = *mut GQueue;
pub type GFileIcon_autoptr = *mut GFileIcon;
pub type GFileIcon_listautoptr = *mut GList;
pub type GFileIcon_slistautoptr = *mut GSList;
pub type GFileIcon_queueautoptr = *mut GQueue;
pub type GFileInfo_autoptr = *mut GFileInfo;
pub type GFileInfo_listautoptr = *mut GList;
pub type GFileInfo_slistautoptr = *mut GSList;
pub type GFileInfo_queueautoptr = *mut GQueue;
pub type GFileInputStream_autoptr = *mut GFileInputStream;
pub type GFileInputStream_listautoptr = *mut GList;
pub type GFileInputStream_slistautoptr = *mut GSList;
pub type GFileInputStream_queueautoptr = *mut GQueue;
pub type GFileIOStream_autoptr = *mut GFileIOStream;
pub type GFileIOStream_listautoptr = *mut GList;
pub type GFileIOStream_slistautoptr = *mut GSList;
pub type GFileIOStream_queueautoptr = *mut GQueue;
pub type GFileMonitor_autoptr = *mut GFileMonitor;
pub type GFileMonitor_listautoptr = *mut GList;
pub type GFileMonitor_slistautoptr = *mut GSList;
pub type GFileMonitor_queueautoptr = *mut GQueue;
pub type GFilenameCompleter_autoptr = *mut GFilenameCompleter;
pub type GFilenameCompleter_listautoptr = *mut GList;
pub type GFilenameCompleter_slistautoptr = *mut GSList;
pub type GFilenameCompleter_queueautoptr = *mut GQueue;
pub type GFileOutputStream_autoptr = *mut GFileOutputStream;
pub type GFileOutputStream_listautoptr = *mut GList;
pub type GFileOutputStream_slistautoptr = *mut GSList;
pub type GFileOutputStream_queueautoptr = *mut GQueue;
pub type GFilterInputStream_autoptr = *mut GFilterInputStream;
pub type GFilterInputStream_listautoptr = *mut GList;
pub type GFilterInputStream_slistautoptr = *mut GSList;
pub type GFilterInputStream_queueautoptr = *mut GQueue;
pub type GFilterOutputStream_autoptr = *mut GFilterOutputStream;
pub type GFilterOutputStream_listautoptr = *mut GList;
pub type GFilterOutputStream_slistautoptr = *mut GSList;
pub type GFilterOutputStream_queueautoptr = *mut GQueue;
pub type GIcon_autoptr = *mut GIcon;
pub type GIcon_listautoptr = *mut GList;
pub type GIcon_slistautoptr = *mut GSList;
pub type GIcon_queueautoptr = *mut GQueue;
pub type GInetAddress_autoptr = *mut GInetAddress;
pub type GInetAddress_listautoptr = *mut GList;
pub type GInetAddress_slistautoptr = *mut GSList;
pub type GInetAddress_queueautoptr = *mut GQueue;
pub type GInetAddressMask_autoptr = *mut GInetAddressMask;
pub type GInetAddressMask_listautoptr = *mut GList;
pub type GInetAddressMask_slistautoptr = *mut GSList;
pub type GInetAddressMask_queueautoptr = *mut GQueue;
pub type GInetSocketAddress_autoptr = *mut GInetSocketAddress;
pub type GInetSocketAddress_listautoptr = *mut GList;
pub type GInetSocketAddress_slistautoptr = *mut GSList;
pub type GInetSocketAddress_queueautoptr = *mut GQueue;
pub type GInitable_autoptr = *mut GInitable;
pub type GInitable_listautoptr = *mut GList;
pub type GInitable_slistautoptr = *mut GSList;
pub type GInitable_queueautoptr = *mut GQueue;
pub type GInputStream_autoptr = *mut GInputStream;
pub type GInputStream_listautoptr = *mut GList;
pub type GInputStream_slistautoptr = *mut GSList;
pub type GInputStream_queueautoptr = *mut GQueue;
pub type GIOModule_autoptr = *mut GIOModule;
pub type GIOModule_listautoptr = *mut GList;
pub type GIOModule_slistautoptr = *mut GSList;
pub type GIOModule_queueautoptr = *mut GQueue;
pub type GIOStream_autoptr = *mut GIOStream;
pub type GIOStream_listautoptr = *mut GList;
pub type GIOStream_slistautoptr = *mut GSList;
pub type GIOStream_queueautoptr = *mut GQueue;
pub type GLoadableIcon_autoptr = *mut GLoadableIcon;
pub type GLoadableIcon_listautoptr = *mut GList;
pub type GLoadableIcon_slistautoptr = *mut GSList;
pub type GLoadableIcon_queueautoptr = *mut GQueue;
pub type GMemoryInputStream_autoptr = *mut GMemoryInputStream;
pub type GMemoryInputStream_listautoptr = *mut GList;
pub type GMemoryInputStream_slistautoptr = *mut GSList;
pub type GMemoryInputStream_queueautoptr = *mut GQueue;
pub type GMemoryOutputStream_autoptr = *mut GMemoryOutputStream;
pub type GMemoryOutputStream_listautoptr = *mut GList;
pub type GMemoryOutputStream_slistautoptr = *mut GSList;
pub type GMemoryOutputStream_queueautoptr = *mut GQueue;
pub type GMenu_autoptr = *mut GMenu;
pub type GMenu_listautoptr = *mut GList;
pub type GMenu_slistautoptr = *mut GSList;
pub type GMenu_queueautoptr = *mut GQueue;
pub type GMenuItem_autoptr = *mut GMenuItem;
pub type GMenuItem_listautoptr = *mut GList;
pub type GMenuItem_slistautoptr = *mut GSList;
pub type GMenuItem_queueautoptr = *mut GQueue;
pub type GMenuModel_autoptr = *mut GMenuModel;
pub type GMenuModel_listautoptr = *mut GList;
pub type GMenuModel_slistautoptr = *mut GSList;
pub type GMenuModel_queueautoptr = *mut GQueue;
pub type GMenuAttributeIter_autoptr = *mut GMenuAttributeIter;
pub type GMenuAttributeIter_listautoptr = *mut GList;
pub type GMenuAttributeIter_slistautoptr = *mut GSList;
pub type GMenuAttributeIter_queueautoptr = *mut GQueue;
pub type GMenuLinkIter_autoptr = *mut GMenuLinkIter;
pub type GMenuLinkIter_listautoptr = *mut GList;
pub type GMenuLinkIter_slistautoptr = *mut GSList;
pub type GMenuLinkIter_queueautoptr = *mut GQueue;
pub type GMount_autoptr = *mut GMount;
pub type GMount_listautoptr = *mut GList;
pub type GMount_slistautoptr = *mut GSList;
pub type GMount_queueautoptr = *mut GQueue;
pub type GMountOperation_autoptr = *mut GMountOperation;
pub type GMountOperation_listautoptr = *mut GList;
pub type GMountOperation_slistautoptr = *mut GSList;
pub type GMountOperation_queueautoptr = *mut GQueue;
pub type GNativeVolumeMonitor_autoptr = *mut GNativeVolumeMonitor;
pub type GNativeVolumeMonitor_listautoptr = *mut GList;
pub type GNativeVolumeMonitor_slistautoptr = *mut GSList;
pub type GNativeVolumeMonitor_queueautoptr = *mut GQueue;
pub type GNetworkAddress_autoptr = *mut GNetworkAddress;
pub type GNetworkAddress_listautoptr = *mut GList;
pub type GNetworkAddress_slistautoptr = *mut GSList;
pub type GNetworkAddress_queueautoptr = *mut GQueue;
pub type GNetworkMonitor_autoptr = *mut GNetworkMonitor;
pub type GNetworkMonitor_listautoptr = *mut GList;
pub type GNetworkMonitor_slistautoptr = *mut GSList;
pub type GNetworkMonitor_queueautoptr = *mut GQueue;
pub type GNetworkService_autoptr = *mut GNetworkService;
pub type GNetworkService_listautoptr = *mut GList;
pub type GNetworkService_slistautoptr = *mut GSList;
pub type GNetworkService_queueautoptr = *mut GQueue;
pub type GNotification_autoptr = *mut GNotification;
pub type GNotification_listautoptr = *mut GList;
pub type GNotification_slistautoptr = *mut GSList;
pub type GNotification_queueautoptr = *mut GQueue;
pub type GOutputStream_autoptr = *mut GOutputStream;
pub type GOutputStream_listautoptr = *mut GList;
pub type GOutputStream_slistautoptr = *mut GSList;
pub type GOutputStream_queueautoptr = *mut GQueue;
pub type GPermission_autoptr = *mut GPermission;
pub type GPermission_listautoptr = *mut GList;
pub type GPermission_slistautoptr = *mut GSList;
pub type GPermission_queueautoptr = *mut GQueue;
pub type GPollableInputStream_autoptr = *mut GPollableInputStream;
pub type GPollableInputStream_listautoptr = *mut GList;
pub type GPollableInputStream_slistautoptr = *mut GSList;
pub type GPollableInputStream_queueautoptr = *mut GQueue;
pub type GPollableOutputStream_autoptr = *mut GPollableOutputStream;
pub type GPollableOutputStream_listautoptr = *mut GList;
pub type GPollableOutputStream_slistautoptr = *mut GSList;
pub type GPollableOutputStream_queueautoptr = *mut GQueue;
pub type GPropertyAction_autoptr = *mut GPropertyAction;
pub type GPropertyAction_listautoptr = *mut GList;
pub type GPropertyAction_slistautoptr = *mut GSList;
pub type GPropertyAction_queueautoptr = *mut GQueue;
pub type GProxyAddressEnumerator_autoptr = *mut GProxyAddressEnumerator;
pub type GProxyAddressEnumerator_listautoptr = *mut GList;
pub type GProxyAddressEnumerator_slistautoptr = *mut GSList;
pub type GProxyAddressEnumerator_queueautoptr = *mut GQueue;
pub type GProxyAddress_autoptr = *mut GProxyAddress;
pub type GProxyAddress_listautoptr = *mut GList;
pub type GProxyAddress_slistautoptr = *mut GSList;
pub type GProxyAddress_queueautoptr = *mut GQueue;
pub type GProxy_autoptr = *mut GProxy;
pub type GProxy_listautoptr = *mut GList;
pub type GProxy_slistautoptr = *mut GSList;
pub type GProxy_queueautoptr = *mut GQueue;
pub type GProxyResolver_autoptr = *mut GProxyResolver;
pub type GProxyResolver_listautoptr = *mut GList;
pub type GProxyResolver_slistautoptr = *mut GSList;
pub type GProxyResolver_queueautoptr = *mut GQueue;
pub type GRemoteActionGroup_autoptr = *mut GRemoteActionGroup;
pub type GRemoteActionGroup_listautoptr = *mut GList;
pub type GRemoteActionGroup_slistautoptr = *mut GSList;
pub type GRemoteActionGroup_queueautoptr = *mut GQueue;
pub type GResolver_autoptr = *mut GResolver;
pub type GResolver_listautoptr = *mut GList;
pub type GResolver_slistautoptr = *mut GSList;
pub type GResolver_queueautoptr = *mut GQueue;
pub type GResource_autoptr = *mut GResource;
pub type GResource_listautoptr = *mut GList;
pub type GResource_slistautoptr = *mut GSList;
pub type GResource_queueautoptr = *mut GQueue;
pub type GSeekable_autoptr = *mut GSeekable;
pub type GSeekable_listautoptr = *mut GList;
pub type GSeekable_slistautoptr = *mut GSList;
pub type GSeekable_queueautoptr = *mut GQueue;
pub type GSettingsBackend_autoptr = *mut GSettingsBackend;
pub type GSettingsBackend_listautoptr = *mut GList;
pub type GSettingsBackend_slistautoptr = *mut GSList;
pub type GSettingsBackend_queueautoptr = *mut GQueue;
pub type GSettingsSchema_autoptr = *mut GSettingsSchema;
pub type GSettingsSchema_listautoptr = *mut GList;
pub type GSettingsSchema_slistautoptr = *mut GSList;
pub type GSettingsSchema_queueautoptr = *mut GQueue;
pub type GSettingsSchemaKey_autoptr = *mut GSettingsSchemaKey;
pub type GSettingsSchemaKey_listautoptr = *mut GList;
pub type GSettingsSchemaKey_slistautoptr = *mut GSList;
pub type GSettingsSchemaKey_queueautoptr = *mut GQueue;
pub type GSettingsSchemaSource_autoptr = *mut GSettingsSchemaSource;
pub type GSettingsSchemaSource_listautoptr = *mut GList;
pub type GSettingsSchemaSource_slistautoptr = *mut GSList;
pub type GSettingsSchemaSource_queueautoptr = *mut GQueue;
pub type GSettings_autoptr = *mut GSettings;
pub type GSettings_listautoptr = *mut GList;
pub type GSettings_slistautoptr = *mut GSList;
pub type GSettings_queueautoptr = *mut GQueue;
pub type GSimpleActionGroup_autoptr = *mut GSimpleActionGroup;
pub type GSimpleActionGroup_listautoptr = *mut GList;
pub type GSimpleActionGroup_slistautoptr = *mut GSList;
pub type GSimpleActionGroup_queueautoptr = *mut GQueue;
pub type GSimpleAction_autoptr = *mut GSimpleAction;
pub type GSimpleAction_listautoptr = *mut GList;
pub type GSimpleAction_slistautoptr = *mut GSList;
pub type GSimpleAction_queueautoptr = *mut GQueue;
pub type GSimpleAsyncResult_autoptr = *mut GSimpleAsyncResult;
pub type GSimpleAsyncResult_listautoptr = *mut GList;
pub type GSimpleAsyncResult_slistautoptr = *mut GSList;
pub type GSimpleAsyncResult_queueautoptr = *mut GQueue;
pub type GSimplePermission_autoptr = *mut GSimplePermission;
pub type GSimplePermission_listautoptr = *mut GList;
pub type GSimplePermission_slistautoptr = *mut GSList;
pub type GSimplePermission_queueautoptr = *mut GQueue;
pub type GSimpleProxyResolver_autoptr = *mut GSimpleProxyResolver;
pub type GSimpleProxyResolver_listautoptr = *mut GList;
pub type GSimpleProxyResolver_slistautoptr = *mut GSList;
pub type GSimpleProxyResolver_queueautoptr = *mut GQueue;
pub type GSocketAddressEnumerator_autoptr = *mut GSocketAddressEnumerator;
pub type GSocketAddressEnumerator_listautoptr = *mut GList;
pub type GSocketAddressEnumerator_slistautoptr = *mut GSList;
pub type GSocketAddressEnumerator_queueautoptr = *mut GQueue;
pub type GSocketAddress_autoptr = *mut GSocketAddress;
pub type GSocketAddress_listautoptr = *mut GList;
pub type GSocketAddress_slistautoptr = *mut GSList;
pub type GSocketAddress_queueautoptr = *mut GQueue;
pub type GSocketClient_autoptr = *mut GSocketClient;
pub type GSocketClient_listautoptr = *mut GList;
pub type GSocketClient_slistautoptr = *mut GSList;
pub type GSocketClient_queueautoptr = *mut GQueue;
pub type GSocketConnectable_autoptr = *mut GSocketConnectable;
pub type GSocketConnectable_listautoptr = *mut GList;
pub type GSocketConnectable_slistautoptr = *mut GSList;
pub type GSocketConnectable_queueautoptr = *mut GQueue;
pub type GSocketConnection_autoptr = *mut GSocketConnection;
pub type GSocketConnection_listautoptr = *mut GList;
pub type GSocketConnection_slistautoptr = *mut GSList;
pub type GSocketConnection_queueautoptr = *mut GQueue;
pub type GSocketControlMessage_autoptr = *mut GSocketControlMessage;
pub type GSocketControlMessage_listautoptr = *mut GList;
pub type GSocketControlMessage_slistautoptr = *mut GSList;
pub type GSocketControlMessage_queueautoptr = *mut GQueue;
pub type GSocket_autoptr = *mut GSocket;
pub type GSocket_listautoptr = *mut GList;
pub type GSocket_slistautoptr = *mut GSList;
pub type GSocket_queueautoptr = *mut GQueue;
pub type GSocketListener_autoptr = *mut GSocketListener;
pub type GSocketListener_listautoptr = *mut GList;
pub type GSocketListener_slistautoptr = *mut GSList;
pub type GSocketListener_queueautoptr = *mut GQueue;
pub type GSocketService_autoptr = *mut GSocketService;
pub type GSocketService_listautoptr = *mut GList;
pub type GSocketService_slistautoptr = *mut GSList;
pub type GSocketService_queueautoptr = *mut GQueue;
pub type GSubprocess_autoptr = *mut GSubprocess;
pub type GSubprocess_listautoptr = *mut GList;
pub type GSubprocess_slistautoptr = *mut GSList;
pub type GSubprocess_queueautoptr = *mut GQueue;
pub type GSubprocessLauncher_autoptr = *mut GSubprocessLauncher;
pub type GSubprocessLauncher_listautoptr = *mut GList;
pub type GSubprocessLauncher_slistautoptr = *mut GSList;
pub type GSubprocessLauncher_queueautoptr = *mut GQueue;
pub type GTask_autoptr = *mut GTask;
pub type GTask_listautoptr = *mut GList;
pub type GTask_slistautoptr = *mut GSList;
pub type GTask_queueautoptr = *mut GQueue;
pub type GTcpConnection_autoptr = *mut GTcpConnection;
pub type GTcpConnection_listautoptr = *mut GList;
pub type GTcpConnection_slistautoptr = *mut GSList;
pub type GTcpConnection_queueautoptr = *mut GQueue;
pub type GTcpWrapperConnection_autoptr = *mut GTcpWrapperConnection;
pub type GTcpWrapperConnection_listautoptr = *mut GList;
pub type GTcpWrapperConnection_slistautoptr = *mut GSList;
pub type GTcpWrapperConnection_queueautoptr = *mut GQueue;
pub type GTestDBus_autoptr = *mut GTestDBus;
pub type GTestDBus_listautoptr = *mut GList;
pub type GTestDBus_slistautoptr = *mut GSList;
pub type GTestDBus_queueautoptr = *mut GQueue;
pub type GThemedIcon_autoptr = *mut GThemedIcon;
pub type GThemedIcon_listautoptr = *mut GList;
pub type GThemedIcon_slistautoptr = *mut GSList;
pub type GThemedIcon_queueautoptr = *mut GQueue;
pub type GThreadedSocketService_autoptr = *mut GThreadedSocketService;
pub type GThreadedSocketService_listautoptr = *mut GList;
pub type GThreadedSocketService_slistautoptr = *mut GSList;
pub type GThreadedSocketService_queueautoptr = *mut GQueue;
pub type GTlsBackend_autoptr = *mut GTlsBackend;
pub type GTlsBackend_listautoptr = *mut GList;
pub type GTlsBackend_slistautoptr = *mut GSList;
pub type GTlsBackend_queueautoptr = *mut GQueue;
pub type GTlsCertificate_autoptr = *mut GTlsCertificate;
pub type GTlsCertificate_listautoptr = *mut GList;
pub type GTlsCertificate_slistautoptr = *mut GSList;
pub type GTlsCertificate_queueautoptr = *mut GQueue;
pub type GTlsClientConnection_autoptr = *mut GTlsClientConnection;
pub type GTlsClientConnection_listautoptr = *mut GList;
pub type GTlsClientConnection_slistautoptr = *mut GSList;
pub type GTlsClientConnection_queueautoptr = *mut GQueue;
pub type GTlsConnection_autoptr = *mut GTlsConnection;
pub type GTlsConnection_listautoptr = *mut GList;
pub type GTlsConnection_slistautoptr = *mut GSList;
pub type GTlsConnection_queueautoptr = *mut GQueue;
pub type GTlsDatabase_autoptr = *mut GTlsDatabase;
pub type GTlsDatabase_listautoptr = *mut GList;
pub type GTlsDatabase_slistautoptr = *mut GSList;
pub type GTlsDatabase_queueautoptr = *mut GQueue;
pub type GTlsFileDatabase_autoptr = *mut GTlsFileDatabase;
pub type GTlsFileDatabase_listautoptr = *mut GList;
pub type GTlsFileDatabase_slistautoptr = *mut GSList;
pub type GTlsFileDatabase_queueautoptr = *mut GQueue;
pub type GTlsInteraction_autoptr = *mut GTlsInteraction;
pub type GTlsInteraction_listautoptr = *mut GList;
pub type GTlsInteraction_slistautoptr = *mut GSList;
pub type GTlsInteraction_queueautoptr = *mut GQueue;
pub type GTlsPassword_autoptr = *mut GTlsPassword;
pub type GTlsPassword_listautoptr = *mut GList;
pub type GTlsPassword_slistautoptr = *mut GSList;
pub type GTlsPassword_queueautoptr = *mut GQueue;
pub type GTlsServerConnection_autoptr = *mut GTlsServerConnection;
pub type GTlsServerConnection_listautoptr = *mut GList;
pub type GTlsServerConnection_slistautoptr = *mut GSList;
pub type GTlsServerConnection_queueautoptr = *mut GQueue;
pub type GVfs_autoptr = *mut GVfs;
pub type GVfs_listautoptr = *mut GList;
pub type GVfs_slistautoptr = *mut GSList;
pub type GVfs_queueautoptr = *mut GQueue;
pub type GVolume_autoptr = *mut GVolume;
pub type GVolume_listautoptr = *mut GList;
pub type GVolume_slistautoptr = *mut GSList;
pub type GVolume_queueautoptr = *mut GQueue;
pub type GVolumeMonitor_autoptr = *mut GVolumeMonitor;
pub type GVolumeMonitor_listautoptr = *mut GList;
pub type GVolumeMonitor_slistautoptr = *mut GSList;
pub type GVolumeMonitor_queueautoptr = *mut GQueue;
pub type GZlibCompressor_autoptr = *mut GZlibCompressor;
pub type GZlibCompressor_listautoptr = *mut GList;
pub type GZlibCompressor_slistautoptr = *mut GSList;
pub type GZlibCompressor_queueautoptr = *mut GQueue;
pub type GZlibDecompressor_autoptr = *mut GZlibDecompressor;
pub type GZlibDecompressor_listautoptr = *mut GList;
pub type GZlibDecompressor_slistautoptr = *mut GSList;
pub type GZlibDecompressor_queueautoptr = *mut GQueue;
extern "C" {
pub fn _frida_gio_init();
}
extern "C" {
pub fn _frida_gio_shutdown();
}
extern "C" {
pub fn _frida_gio_deinit();
}
extern "C" {
pub fn _frida_gio_prepare_to_fork();
}
extern "C" {
pub fn _frida_gio_recover_from_fork_in_parent();
}
extern "C" {
pub fn _frida_gio_recover_from_fork_in_child();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonNode {
_unused: [u8; 0],
}
pub type JsonNode = _JsonNode;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonObject {
_unused: [u8; 0],
}
pub type JsonObject = _JsonObject;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonArray {
_unused: [u8; 0],
}
pub type JsonArray = _JsonArray;
pub const JsonNodeType_JSON_NODE_OBJECT: JsonNodeType = 0;
pub const JsonNodeType_JSON_NODE_ARRAY: JsonNodeType = 1;
pub const JsonNodeType_JSON_NODE_VALUE: JsonNodeType = 2;
pub const JsonNodeType_JSON_NODE_NULL: JsonNodeType = 3;
pub type JsonNodeType = ::std::os::raw::c_uint;
pub type JsonObjectForeach = ::std::option::Option<
unsafe extern "C" fn(
object: *mut JsonObject,
member_name: *const gchar,
member_node: *mut JsonNode,
user_data: gpointer,
),
>;
pub type JsonArrayForeach = ::std::option::Option<
unsafe extern "C" fn(
array: *mut JsonArray,
index_: guint,
element_node: *mut JsonNode,
user_data: gpointer,
),
>;
extern "C" {
pub fn _frida_json_node_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_node_new(type_: JsonNodeType) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_alloc() -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_init(node: *mut JsonNode, type_: JsonNodeType) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_init_object(
node: *mut JsonNode,
object: *mut JsonObject,
) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_init_array(node: *mut JsonNode, array: *mut JsonArray)
-> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_init_int(node: *mut JsonNode, value: gint64) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_init_double(node: *mut JsonNode, value: gdouble) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_init_boolean(node: *mut JsonNode, value: gboolean) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_init_string(
node: *mut JsonNode,
value: *const ::std::os::raw::c_char,
) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_init_null(node: *mut JsonNode) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_copy(node: *mut JsonNode) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_free(node: *mut JsonNode);
}
extern "C" {
pub fn _frida_json_node_ref(node: *mut JsonNode) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_unref(node: *mut JsonNode);
}
extern "C" {
pub fn _frida_json_node_get_node_type(node: *mut JsonNode) -> JsonNodeType;
}
extern "C" {
pub fn _frida_json_node_get_value_type(node: *mut JsonNode) -> GType;
}
extern "C" {
pub fn _frida_json_node_set_parent(node: *mut JsonNode, parent: *mut JsonNode);
}
extern "C" {
pub fn _frida_json_node_get_parent(node: *mut JsonNode) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_node_type_name(node: *mut JsonNode) -> *const gchar;
}
extern "C" {
pub fn _frida_json_node_set_object(node: *mut JsonNode, object: *mut JsonObject);
}
extern "C" {
pub fn _frida_json_node_take_object(node: *mut JsonNode, object: *mut JsonObject);
}
extern "C" {
pub fn _frida_json_node_get_object(node: *mut JsonNode) -> *mut JsonObject;
}
extern "C" {
pub fn _frida_json_node_dup_object(node: *mut JsonNode) -> *mut JsonObject;
}
extern "C" {
pub fn _frida_json_node_set_array(node: *mut JsonNode, array: *mut JsonArray);
}
extern "C" {
pub fn _frida_json_node_take_array(node: *mut JsonNode, array: *mut JsonArray);
}
extern "C" {
pub fn _frida_json_node_get_array(node: *mut JsonNode) -> *mut JsonArray;
}
extern "C" {
pub fn _frida_json_node_dup_array(node: *mut JsonNode) -> *mut JsonArray;
}
extern "C" {
pub fn _frida_json_node_set_value(node: *mut JsonNode, value: *const GValue);
}
extern "C" {
pub fn _frida_json_node_get_value(node: *mut JsonNode, value: *mut GValue);
}
extern "C" {
pub fn _frida_json_node_set_string(node: *mut JsonNode, value: *const gchar);
}
extern "C" {
pub fn _frida_json_node_get_string(node: *mut JsonNode) -> *const gchar;
}
extern "C" {
pub fn _frida_json_node_dup_string(node: *mut JsonNode) -> *mut gchar;
}
extern "C" {
pub fn _frida_json_node_set_int(node: *mut JsonNode, value: gint64);
}
extern "C" {
pub fn _frida_json_node_get_int(node: *mut JsonNode) -> gint64;
}
extern "C" {
pub fn _frida_json_node_set_double(node: *mut JsonNode, value: gdouble);
}
extern "C" {
pub fn _frida_json_node_get_double(node: *mut JsonNode) -> gdouble;
}
extern "C" {
pub fn _frida_json_node_set_boolean(node: *mut JsonNode, value: gboolean);
}
extern "C" {
pub fn _frida_json_node_get_boolean(node: *mut JsonNode) -> gboolean;
}
extern "C" {
pub fn _frida_json_node_is_null(node: *mut JsonNode) -> gboolean;
}
extern "C" {
pub fn _frida_json_node_seal(node: *mut JsonNode);
}
extern "C" {
pub fn _frida_json_node_is_immutable(node: *mut JsonNode) -> gboolean;
}
extern "C" {
pub fn _frida_json_string_hash(key: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_json_string_equal(a: gconstpointer, b: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_json_string_compare(a: gconstpointer, b: gconstpointer) -> gint;
}
extern "C" {
pub fn _frida_json_node_hash(key: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_json_node_equal(a: gconstpointer, b: gconstpointer) -> gboolean;
}
extern "C" {
pub fn _frida_json_object_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_object_new() -> *mut JsonObject;
}
extern "C" {
pub fn _frida_json_object_ref(object: *mut JsonObject) -> *mut JsonObject;
}
extern "C" {
pub fn _frida_json_object_unref(object: *mut JsonObject);
}
extern "C" {
pub fn _frida_json_object_add_member(
object: *mut JsonObject,
member_name: *const gchar,
node: *mut JsonNode,
);
}
extern "C" {
pub fn _frida_json_object_set_member(
object: *mut JsonObject,
member_name: *const gchar,
node: *mut JsonNode,
);
}
extern "C" {
pub fn _frida_json_object_set_int_member(
object: *mut JsonObject,
member_name: *const gchar,
value: gint64,
);
}
extern "C" {
pub fn _frida_json_object_set_double_member(
object: *mut JsonObject,
member_name: *const gchar,
value: gdouble,
);
}
extern "C" {
pub fn _frida_json_object_set_boolean_member(
object: *mut JsonObject,
member_name: *const gchar,
value: gboolean,
);
}
extern "C" {
pub fn _frida_json_object_set_string_member(
object: *mut JsonObject,
member_name: *const gchar,
value: *const gchar,
);
}
extern "C" {
pub fn _frida_json_object_set_null_member(object: *mut JsonObject, member_name: *const gchar);
}
extern "C" {
pub fn _frida_json_object_set_array_member(
object: *mut JsonObject,
member_name: *const gchar,
value: *mut JsonArray,
);
}
extern "C" {
pub fn _frida_json_object_set_object_member(
object: *mut JsonObject,
member_name: *const gchar,
value: *mut JsonObject,
);
}
extern "C" {
pub fn _frida_json_object_get_members(object: *mut JsonObject) -> *mut GList;
}
extern "C" {
pub fn _frida_json_object_get_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_object_dup_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_object_get_int_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> gint64;
}
extern "C" {
pub fn _frida_json_object_get_int_member_with_default(
object: *mut JsonObject,
member_name: *const ::std::os::raw::c_char,
default_value: gint64,
) -> gint64;
}
extern "C" {
pub fn _frida_json_object_get_double_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> gdouble;
}
extern "C" {
pub fn _frida_json_object_get_double_member_with_default(
object: *mut JsonObject,
member_name: *const ::std::os::raw::c_char,
default_value: f64,
) -> f64;
}
extern "C" {
pub fn _frida_json_object_get_boolean_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_object_get_boolean_member_with_default(
object: *mut JsonObject,
member_name: *const ::std::os::raw::c_char,
default_value: gboolean,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_object_get_string_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> *const gchar;
}
extern "C" {
pub fn _frida_json_object_get_string_member_with_default(
object: *mut JsonObject,
member_name: *const ::std::os::raw::c_char,
default_value: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_json_object_get_null_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_object_get_array_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> *mut JsonArray;
}
extern "C" {
pub fn _frida_json_object_get_object_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> *mut JsonObject;
}
extern "C" {
pub fn _frida_json_object_has_member(
object: *mut JsonObject,
member_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_object_remove_member(object: *mut JsonObject, member_name: *const gchar);
}
extern "C" {
pub fn _frida_json_object_get_values(object: *mut JsonObject) -> *mut GList;
}
extern "C" {
pub fn _frida_json_object_get_size(object: *mut JsonObject) -> guint;
}
extern "C" {
pub fn _frida_json_object_foreach_member(
object: *mut JsonObject,
func: JsonObjectForeach,
data: gpointer,
);
}
extern "C" {
pub fn _frida_json_object_seal(object: *mut JsonObject);
}
extern "C" {
pub fn _frida_json_object_is_immutable(object: *mut JsonObject) -> gboolean;
}
extern "C" {
pub fn _frida_json_object_hash(key: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_json_object_equal(a: gconstpointer, b: gconstpointer) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JsonObjectIter {
pub priv_pointer: [gpointer; 6usize],
pub priv_int: [::std::os::raw::c_int; 2usize],
pub priv_boolean: [gboolean; 1usize],
}
extern "C" {
pub fn _frida_json_object_iter_init(iter: *mut JsonObjectIter, object: *mut JsonObject);
}
extern "C" {
pub fn _frida_json_object_iter_next(
iter: *mut JsonObjectIter,
member_name: *mut *const gchar,
member_node: *mut *mut JsonNode,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_object_iter_init_ordered(iter: *mut JsonObjectIter, object: *mut JsonObject);
}
extern "C" {
pub fn _frida_json_object_iter_next_ordered(
iter: *mut JsonObjectIter,
member_name: *mut *const ::std::os::raw::c_char,
member_node: *mut *mut JsonNode,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_array_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_array_new() -> *mut JsonArray;
}
extern "C" {
pub fn _frida_json_array_sized_new(n_elements: guint) -> *mut JsonArray;
}
extern "C" {
pub fn _frida_json_array_ref(array: *mut JsonArray) -> *mut JsonArray;
}
extern "C" {
pub fn _frida_json_array_unref(array: *mut JsonArray);
}
extern "C" {
pub fn _frida_json_array_add_element(array: *mut JsonArray, node: *mut JsonNode);
}
extern "C" {
pub fn _frida_json_array_add_int_element(array: *mut JsonArray, value: gint64);
}
extern "C" {
pub fn _frida_json_array_add_double_element(array: *mut JsonArray, value: gdouble);
}
extern "C" {
pub fn _frida_json_array_add_boolean_element(array: *mut JsonArray, value: gboolean);
}
extern "C" {
pub fn _frida_json_array_add_string_element(array: *mut JsonArray, value: *const gchar);
}
extern "C" {
pub fn _frida_json_array_add_null_element(array: *mut JsonArray);
}
extern "C" {
pub fn _frida_json_array_add_array_element(array: *mut JsonArray, value: *mut JsonArray);
}
extern "C" {
pub fn _frida_json_array_add_object_element(array: *mut JsonArray, value: *mut JsonObject);
}
extern "C" {
pub fn _frida_json_array_get_elements(array: *mut JsonArray) -> *mut GList;
}
extern "C" {
pub fn _frida_json_array_get_element(array: *mut JsonArray, index_: guint) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_array_get_int_element(array: *mut JsonArray, index_: guint) -> gint64;
}
extern "C" {
pub fn _frida_json_array_get_double_element(array: *mut JsonArray, index_: guint) -> gdouble;
}
extern "C" {
pub fn _frida_json_array_get_boolean_element(array: *mut JsonArray, index_: guint) -> gboolean;
}
extern "C" {
pub fn _frida_json_array_get_string_element(
array: *mut JsonArray,
index_: guint,
) -> *const gchar;
}
extern "C" {
pub fn _frida_json_array_get_null_element(array: *mut JsonArray, index_: guint) -> gboolean;
}
extern "C" {
pub fn _frida_json_array_get_array_element(
array: *mut JsonArray,
index_: guint,
) -> *mut JsonArray;
}
extern "C" {
pub fn _frida_json_array_get_object_element(
array: *mut JsonArray,
index_: guint,
) -> *mut JsonObject;
}
extern "C" {
pub fn _frida_json_array_dup_element(array: *mut JsonArray, index_: guint) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_array_remove_element(array: *mut JsonArray, index_: guint);
}
extern "C" {
pub fn _frida_json_array_get_length(array: *mut JsonArray) -> guint;
}
extern "C" {
pub fn _frida_json_array_foreach_element(
array: *mut JsonArray,
func: JsonArrayForeach,
data: gpointer,
);
}
extern "C" {
pub fn _frida_json_array_seal(array: *mut JsonArray);
}
extern "C" {
pub fn _frida_json_array_is_immutable(array: *mut JsonArray) -> gboolean;
}
extern "C" {
pub fn _frida_json_array_hash(key: gconstpointer) -> guint;
}
extern "C" {
pub fn _frida_json_array_equal(a: gconstpointer, b: gconstpointer) -> gboolean;
}
pub type JsonArray_autoptr = *mut JsonArray;
pub type JsonArray_listautoptr = *mut GList;
pub type JsonArray_slistautoptr = *mut GSList;
pub type JsonArray_queueautoptr = *mut GQueue;
pub type JsonObject_autoptr = *mut JsonObject;
pub type JsonObject_listautoptr = *mut GList;
pub type JsonObject_slistautoptr = *mut GSList;
pub type JsonObject_queueautoptr = *mut GQueue;
pub type JsonNode_autoptr = *mut JsonNode;
pub type JsonNode_listautoptr = *mut GList;
pub type JsonNode_slistautoptr = *mut GSList;
pub type JsonNode_queueautoptr = *mut GQueue;
pub type JsonBuilder = _JsonBuilder;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonBuilderPrivate {
_unused: [u8; 0],
}
pub type JsonBuilderPrivate = _JsonBuilderPrivate;
pub type JsonBuilderClass = _JsonBuilderClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonBuilder {
pub parent_instance: GObject,
pub priv_: *mut JsonBuilderPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonBuilderClass {
pub parent_class: GObjectClass,
pub _json_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_json_builder_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_builder_new() -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_new_immutable() -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_get_root(builder: *mut JsonBuilder) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_builder_reset(builder: *mut JsonBuilder);
}
extern "C" {
pub fn _frida_json_builder_begin_array(builder: *mut JsonBuilder) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_end_array(builder: *mut JsonBuilder) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_begin_object(builder: *mut JsonBuilder) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_end_object(builder: *mut JsonBuilder) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_set_member_name(
builder: *mut JsonBuilder,
member_name: *const gchar,
) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_add_value(
builder: *mut JsonBuilder,
node: *mut JsonNode,
) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_add_int_value(
builder: *mut JsonBuilder,
value: gint64,
) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_add_double_value(
builder: *mut JsonBuilder,
value: gdouble,
) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_add_boolean_value(
builder: *mut JsonBuilder,
value: gboolean,
) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_add_string_value(
builder: *mut JsonBuilder,
value: *const gchar,
) -> *mut JsonBuilder;
}
extern "C" {
pub fn _frida_json_builder_add_null_value(builder: *mut JsonBuilder) -> *mut JsonBuilder;
}
pub type JsonBuilder_autoptr = *mut JsonBuilder;
pub type JsonBuilder_listautoptr = *mut GList;
pub type JsonBuilder_slistautoptr = *mut GSList;
pub type JsonBuilder_queueautoptr = *mut GQueue;
pub type JsonGenerator = _JsonGenerator;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonGeneratorPrivate {
_unused: [u8; 0],
}
pub type JsonGeneratorPrivate = _JsonGeneratorPrivate;
pub type JsonGeneratorClass = _JsonGeneratorClass;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonGenerator {
pub parent_instance: GObject,
pub priv_: *mut JsonGeneratorPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonGeneratorClass {
pub parent_class: GObjectClass,
pub _json_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_json_generator_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_generator_new() -> *mut JsonGenerator;
}
extern "C" {
pub fn _frida_json_generator_set_pretty(generator: *mut JsonGenerator, is_pretty: gboolean);
}
extern "C" {
pub fn _frida_json_generator_get_pretty(generator: *mut JsonGenerator) -> gboolean;
}
extern "C" {
pub fn _frida_json_generator_set_indent(generator: *mut JsonGenerator, indent_level: guint);
}
extern "C" {
pub fn _frida_json_generator_get_indent(generator: *mut JsonGenerator) -> guint;
}
extern "C" {
pub fn _frida_json_generator_set_indent_char(
generator: *mut JsonGenerator,
indent_char: gunichar,
);
}
extern "C" {
pub fn _frida_json_generator_get_indent_char(generator: *mut JsonGenerator) -> gunichar;
}
extern "C" {
pub fn _frida_json_generator_set_root(generator: *mut JsonGenerator, node: *mut JsonNode);
}
extern "C" {
pub fn _frida_json_generator_get_root(generator: *mut JsonGenerator) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_generator_to_gstring(
generator: *mut JsonGenerator,
string: *mut GString,
) -> *mut GString;
}
extern "C" {
pub fn _frida_json_generator_to_data(
generator: *mut JsonGenerator,
length: *mut gsize,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_json_generator_to_file(
generator: *mut JsonGenerator,
filename: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_generator_to_stream(
generator: *mut JsonGenerator,
stream: *mut GOutputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
pub type JsonGenerator_autoptr = *mut JsonGenerator;
pub type JsonGenerator_listautoptr = *mut GList;
pub type JsonGenerator_slistautoptr = *mut GSList;
pub type JsonGenerator_queueautoptr = *mut GQueue;
pub type JsonParser = _JsonParser;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonParserPrivate {
_unused: [u8; 0],
}
pub type JsonParserPrivate = _JsonParserPrivate;
pub type JsonParserClass = _JsonParserClass;
pub const JsonParserError_JSON_PARSER_ERROR_PARSE: JsonParserError = 0;
pub const JsonParserError_JSON_PARSER_ERROR_TRAILING_COMMA: JsonParserError = 1;
pub const JsonParserError_JSON_PARSER_ERROR_MISSING_COMMA: JsonParserError = 2;
pub const JsonParserError_JSON_PARSER_ERROR_MISSING_COLON: JsonParserError = 3;
pub const JsonParserError_JSON_PARSER_ERROR_INVALID_BAREWORD: JsonParserError = 4;
pub const JsonParserError_JSON_PARSER_ERROR_EMPTY_MEMBER_NAME: JsonParserError = 5;
pub const JsonParserError_JSON_PARSER_ERROR_INVALID_DATA: JsonParserError = 6;
pub const JsonParserError_JSON_PARSER_ERROR_UNKNOWN: JsonParserError = 7;
pub type JsonParserError = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonParser {
pub parent_instance: GObject,
pub priv_: *mut JsonParserPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonParserClass {
pub parent_class: GObjectClass,
pub parse_start: ::std::option::Option<unsafe extern "C" fn(parser: *mut JsonParser)>,
pub object_start: ::std::option::Option<unsafe extern "C" fn(parser: *mut JsonParser)>,
pub object_member: ::std::option::Option<
unsafe extern "C" fn(
parser: *mut JsonParser,
object: *mut JsonObject,
member_name: *const gchar,
),
>,
pub object_end: ::std::option::Option<
unsafe extern "C" fn(parser: *mut JsonParser, object: *mut JsonObject),
>,
pub array_start: ::std::option::Option<unsafe extern "C" fn(parser: *mut JsonParser)>,
pub array_element: ::std::option::Option<
unsafe extern "C" fn(parser: *mut JsonParser, array: *mut JsonArray, index_: gint),
>,
pub array_end:
::std::option::Option<unsafe extern "C" fn(parser: *mut JsonParser, array: *mut JsonArray)>,
pub parse_end: ::std::option::Option<unsafe extern "C" fn(parser: *mut JsonParser)>,
pub error:
::std::option::Option<unsafe extern "C" fn(parser: *mut JsonParser, error: *const GError)>,
pub _json_reserved1: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved2: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved3: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved4: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved5: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved6: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved7: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_reserved8: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_json_parser_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_json_parser_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_parser_new() -> *mut JsonParser;
}
extern "C" {
pub fn _frida_json_parser_new_immutable() -> *mut JsonParser;
}
extern "C" {
pub fn _frida_json_parser_load_from_file(
parser: *mut JsonParser,
filename: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_parser_load_from_mapped_file(
parser: *mut JsonParser,
filename: *const gchar,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_parser_load_from_data(
parser: *mut JsonParser,
data: *const gchar,
length: gssize,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_parser_load_from_stream(
parser: *mut JsonParser,
stream: *mut GInputStream,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_parser_load_from_stream_async(
parser: *mut JsonParser,
stream: *mut GInputStream,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn _frida_json_parser_load_from_stream_finish(
parser: *mut JsonParser,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_parser_get_root(parser: *mut JsonParser) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_parser_steal_root(parser: *mut JsonParser) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_parser_get_current_line(parser: *mut JsonParser) -> guint;
}
extern "C" {
pub fn _frida_json_parser_get_current_pos(parser: *mut JsonParser) -> guint;
}
extern "C" {
pub fn _frida_json_parser_has_assignment(
parser: *mut JsonParser,
variable_name: *mut *mut gchar,
) -> gboolean;
}
pub type JsonParser_autoptr = *mut JsonParser;
pub type JsonParser_listautoptr = *mut GList;
pub type JsonParser_slistautoptr = *mut GSList;
pub type JsonParser_queueautoptr = *mut GQueue;
pub const JsonPathError_JSON_PATH_ERROR_INVALID_QUERY: JsonPathError = 0;
pub type JsonPathError = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonPath {
_unused: [u8; 0],
}
pub type JsonPath = _JsonPath;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonPathClass {
_unused: [u8; 0],
}
pub type JsonPathClass = _JsonPathClass;
extern "C" {
pub fn _frida_json_path_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_path_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_json_path_new() -> *mut JsonPath;
}
extern "C" {
pub fn _frida_json_path_compile(
path: *mut JsonPath,
expression: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_path_match(path: *mut JsonPath, root: *mut JsonNode) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_path_query(
expression: *const ::std::os::raw::c_char,
root: *mut JsonNode,
error: *mut *mut GError,
) -> *mut JsonNode;
}
pub type JsonPath_autoptr = *mut JsonPath;
pub type JsonPath_listautoptr = *mut GList;
pub type JsonPath_slistautoptr = *mut GSList;
pub type JsonPath_queueautoptr = *mut GQueue;
pub type JsonReader = _JsonReader;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonReaderPrivate {
_unused: [u8; 0],
}
pub type JsonReaderPrivate = _JsonReaderPrivate;
pub type JsonReaderClass = _JsonReaderClass;
pub const JsonReaderError_JSON_READER_ERROR_NO_ARRAY: JsonReaderError = 0;
pub const JsonReaderError_JSON_READER_ERROR_INVALID_INDEX: JsonReaderError = 1;
pub const JsonReaderError_JSON_READER_ERROR_NO_OBJECT: JsonReaderError = 2;
pub const JsonReaderError_JSON_READER_ERROR_INVALID_MEMBER: JsonReaderError = 3;
pub const JsonReaderError_JSON_READER_ERROR_INVALID_NODE: JsonReaderError = 4;
pub const JsonReaderError_JSON_READER_ERROR_NO_VALUE: JsonReaderError = 5;
pub const JsonReaderError_JSON_READER_ERROR_INVALID_TYPE: JsonReaderError = 6;
pub type JsonReaderError = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonReader {
pub parent_instance: GObject,
pub priv_: *mut JsonReaderPrivate,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonReaderClass {
pub parent_class: GObjectClass,
pub _json_padding0: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_padding1: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_padding2: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_padding3: ::std::option::Option<unsafe extern "C" fn()>,
pub _json_padding4: ::std::option::Option<unsafe extern "C" fn()>,
}
extern "C" {
pub fn _frida_json_reader_error_quark() -> GQuark;
}
extern "C" {
pub fn _frida_json_reader_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_reader_new(node: *mut JsonNode) -> *mut JsonReader;
}
extern "C" {
pub fn _frida_json_reader_set_root(reader: *mut JsonReader, root: *mut JsonNode);
}
extern "C" {
pub fn _frida_json_reader_get_error(reader: *mut JsonReader) -> *const GError;
}
extern "C" {
pub fn _frida_json_reader_is_array(reader: *mut JsonReader) -> gboolean;
}
extern "C" {
pub fn _frida_json_reader_read_element(reader: *mut JsonReader, index_: guint) -> gboolean;
}
extern "C" {
pub fn _frida_json_reader_end_element(reader: *mut JsonReader);
}
extern "C" {
pub fn _frida_json_reader_count_elements(reader: *mut JsonReader) -> gint;
}
extern "C" {
pub fn _frida_json_reader_is_object(reader: *mut JsonReader) -> gboolean;
}
extern "C" {
pub fn _frida_json_reader_read_member(
reader: *mut JsonReader,
member_name: *const gchar,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_reader_end_member(reader: *mut JsonReader);
}
extern "C" {
pub fn _frida_json_reader_count_members(reader: *mut JsonReader) -> gint;
}
extern "C" {
pub fn _frida_json_reader_list_members(reader: *mut JsonReader) -> *mut *mut gchar;
}
extern "C" {
pub fn _frida_json_reader_get_member_name(reader: *mut JsonReader) -> *const gchar;
}
extern "C" {
pub fn _frida_json_reader_is_value(reader: *mut JsonReader) -> gboolean;
}
extern "C" {
pub fn _frida_json_reader_get_value(reader: *mut JsonReader) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_reader_get_int_value(reader: *mut JsonReader) -> gint64;
}
extern "C" {
pub fn _frida_json_reader_get_double_value(reader: *mut JsonReader) -> gdouble;
}
extern "C" {
pub fn _frida_json_reader_get_string_value(reader: *mut JsonReader) -> *const gchar;
}
extern "C" {
pub fn _frida_json_reader_get_boolean_value(reader: *mut JsonReader) -> gboolean;
}
extern "C" {
pub fn _frida_json_reader_get_null_value(reader: *mut JsonReader) -> gboolean;
}
extern "C" {
pub fn _frida_json_reader_get_current_node(reader: *mut JsonReader) -> *mut JsonNode;
}
pub type JsonReader_autoptr = *mut JsonReader;
pub type JsonReader_listautoptr = *mut GList;
pub type JsonReader_slistautoptr = *mut GSList;
pub type JsonReader_queueautoptr = *mut GQueue;
extern "C" {
pub fn _frida_json_from_string(
str_: *const ::std::os::raw::c_char,
error: *mut *mut GError,
) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_to_string(
node: *mut JsonNode,
pretty: gboolean,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _frida_json_parser_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_path_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_reader_error_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_node_type_get_type() -> GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonSerializable {
_unused: [u8; 0],
}
pub type JsonSerializable = _JsonSerializable;
pub type JsonSerializableIface = _JsonSerializableIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _JsonSerializableIface {
pub g_iface: GTypeInterface,
pub serialize_property: ::std::option::Option<
unsafe extern "C" fn(
serializable: *mut JsonSerializable,
property_name: *const gchar,
value: *const GValue,
pspec: *mut GParamSpec,
) -> *mut JsonNode,
>,
pub deserialize_property: ::std::option::Option<
unsafe extern "C" fn(
serializable: *mut JsonSerializable,
property_name: *const gchar,
value: *mut GValue,
pspec: *mut GParamSpec,
property_node: *mut JsonNode,
) -> gboolean,
>,
pub find_property: ::std::option::Option<
unsafe extern "C" fn(
serializable: *mut JsonSerializable,
name: *const ::std::os::raw::c_char,
) -> *mut GParamSpec,
>,
pub list_properties: ::std::option::Option<
unsafe extern "C" fn(
serializable: *mut JsonSerializable,
n_pspecs: *mut guint,
) -> *mut *mut GParamSpec,
>,
pub set_property: ::std::option::Option<
unsafe extern "C" fn(
serializable: *mut JsonSerializable,
pspec: *mut GParamSpec,
value: *const GValue,
),
>,
pub get_property: ::std::option::Option<
unsafe extern "C" fn(
serializable: *mut JsonSerializable,
pspec: *mut GParamSpec,
value: *mut GValue,
),
>,
}
extern "C" {
pub fn _frida_json_serializable_get_type() -> GType;
}
extern "C" {
pub fn _frida_json_serializable_serialize_property(
serializable: *mut JsonSerializable,
property_name: *const gchar,
value: *const GValue,
pspec: *mut GParamSpec,
) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_serializable_deserialize_property(
serializable: *mut JsonSerializable,
property_name: *const gchar,
value: *mut GValue,
pspec: *mut GParamSpec,
property_node: *mut JsonNode,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_serializable_find_property(
serializable: *mut JsonSerializable,
name: *const ::std::os::raw::c_char,
) -> *mut GParamSpec;
}
extern "C" {
pub fn _frida_json_serializable_list_properties(
serializable: *mut JsonSerializable,
n_pspecs: *mut guint,
) -> *mut *mut GParamSpec;
}
extern "C" {
pub fn _frida_json_serializable_set_property(
serializable: *mut JsonSerializable,
pspec: *mut GParamSpec,
value: *const GValue,
);
}
extern "C" {
pub fn _frida_json_serializable_get_property(
serializable: *mut JsonSerializable,
pspec: *mut GParamSpec,
value: *mut GValue,
);
}
extern "C" {
pub fn _frida_json_serializable_default_serialize_property(
serializable: *mut JsonSerializable,
property_name: *const gchar,
value: *const GValue,
pspec: *mut GParamSpec,
) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_serializable_default_deserialize_property(
serializable: *mut JsonSerializable,
property_name: *const gchar,
value: *mut GValue,
pspec: *mut GParamSpec,
property_node: *mut JsonNode,
) -> gboolean;
}
pub type JsonBoxedSerializeFunc =
::std::option::Option<unsafe extern "C" fn(boxed: gconstpointer) -> *mut JsonNode>;
pub type JsonBoxedDeserializeFunc =
::std::option::Option<unsafe extern "C" fn(node: *mut JsonNode) -> gpointer>;
extern "C" {
pub fn _frida_json_boxed_register_serialize_func(
gboxed_type: GType,
node_type: JsonNodeType,
serialize_func: JsonBoxedSerializeFunc,
);
}
extern "C" {
pub fn _frida_json_boxed_register_deserialize_func(
gboxed_type: GType,
node_type: JsonNodeType,
deserialize_func: JsonBoxedDeserializeFunc,
);
}
extern "C" {
pub fn _frida_json_boxed_can_serialize(
gboxed_type: GType,
node_type: *mut JsonNodeType,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_boxed_can_deserialize(
gboxed_type: GType,
node_type: JsonNodeType,
) -> gboolean;
}
extern "C" {
pub fn _frida_json_boxed_serialize(gboxed_type: GType, boxed: gconstpointer) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_boxed_deserialize(gboxed_type: GType, node: *mut JsonNode) -> gpointer;
}
extern "C" {
pub fn _frida_json_gobject_serialize(gobject: *mut GObject) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_gobject_deserialize(gtype: GType, node: *mut JsonNode) -> *mut GObject;
}
extern "C" {
pub fn _frida_json_gobject_from_data(
gtype: GType,
data: *const gchar,
length: gssize,
error: *mut *mut GError,
) -> *mut GObject;
}
extern "C" {
pub fn _frida_json_gobject_to_data(gobject: *mut GObject, length: *mut gsize) -> *mut gchar;
}
extern "C" {
pub fn _frida_json_construct_gobject(
gtype: GType,
data: *const gchar,
length: gsize,
error: *mut *mut GError,
) -> *mut GObject;
}
extern "C" {
pub fn _frida_json_serialize_gobject(gobject: *mut GObject, length: *mut gsize) -> *mut gchar;
}
pub type JsonSerializable_autoptr = *mut JsonSerializable;
pub type JsonSerializable_listautoptr = *mut GList;
pub type JsonSerializable_slistautoptr = *mut GSList;
pub type JsonSerializable_queueautoptr = *mut GQueue;
extern "C" {
pub fn _frida_json_gvariant_serialize(variant: *mut GVariant) -> *mut JsonNode;
}
extern "C" {
pub fn _frida_json_gvariant_serialize_data(
variant: *mut GVariant,
length: *mut gsize,
) -> *mut gchar;
}
extern "C" {
pub fn _frida_json_gvariant_deserialize(
json_node: *mut JsonNode,
signature: *const gchar,
error: *mut *mut GError,
) -> *mut GVariant;
}
extern "C" {
pub fn _frida_json_gvariant_deserialize_data(
json: *const gchar,
length: gssize,
signature: *const gchar,
error: *mut *mut GError,
) -> *mut GVariant;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaDeviceManager {
_unused: [u8; 0],
}
pub type FridaDeviceManager = _FridaDeviceManager;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaDeviceList {
_unused: [u8; 0],
}
pub type FridaDeviceList = _FridaDeviceList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaDevice {
_unused: [u8; 0],
}
pub type FridaDevice = _FridaDevice;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaRemoteDeviceOptions {
_unused: [u8; 0],
}
pub type FridaRemoteDeviceOptions = _FridaRemoteDeviceOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaApplicationList {
_unused: [u8; 0],
}
pub type FridaApplicationList = _FridaApplicationList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaApplication {
_unused: [u8; 0],
}
pub type FridaApplication = _FridaApplication;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaProcessList {
_unused: [u8; 0],
}
pub type FridaProcessList = _FridaProcessList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaProcess {
_unused: [u8; 0],
}
pub type FridaProcess = _FridaProcess;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaProcessMatchOptions {
_unused: [u8; 0],
}
pub type FridaProcessMatchOptions = _FridaProcessMatchOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaSpawnOptions {
_unused: [u8; 0],
}
pub type FridaSpawnOptions = _FridaSpawnOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaFrontmostQueryOptions {
_unused: [u8; 0],
}
pub type FridaFrontmostQueryOptions = _FridaFrontmostQueryOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaApplicationQueryOptions {
_unused: [u8; 0],
}
pub type FridaApplicationQueryOptions = _FridaApplicationQueryOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaProcessQueryOptions {
_unused: [u8; 0],
}
pub type FridaProcessQueryOptions = _FridaProcessQueryOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaSessionOptions {
_unused: [u8; 0],
}
pub type FridaSessionOptions = _FridaSessionOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaSpawnList {
_unused: [u8; 0],
}
pub type FridaSpawnList = _FridaSpawnList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaSpawn {
_unused: [u8; 0],
}
pub type FridaSpawn = _FridaSpawn;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaChildList {
_unused: [u8; 0],
}
pub type FridaChildList = _FridaChildList;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaChild {
_unused: [u8; 0],
}
pub type FridaChild = _FridaChild;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaCrash {
_unused: [u8; 0],
}
pub type FridaCrash = _FridaCrash;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaBus {
_unused: [u8; 0],
}
pub type FridaBus = _FridaBus;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaSession {
_unused: [u8; 0],
}
pub type FridaSession = _FridaSession;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaScript {
_unused: [u8; 0],
}
pub type FridaScript = _FridaScript;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaSnapshotOptions {
_unused: [u8; 0],
}
pub type FridaSnapshotOptions = _FridaSnapshotOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaScriptOptions {
_unused: [u8; 0],
}
pub type FridaScriptOptions = _FridaScriptOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaPeerOptions {
_unused: [u8; 0],
}
pub type FridaPeerOptions = _FridaPeerOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaRelay {
_unused: [u8; 0],
}
pub type FridaRelay = _FridaRelay;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaPortalOptions {
_unused: [u8; 0],
}
pub type FridaPortalOptions = _FridaPortalOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaPortalMembership {
_unused: [u8; 0],
}
pub type FridaPortalMembership = _FridaPortalMembership;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaRpcClient {
_unused: [u8; 0],
}
pub type FridaRpcClient = _FridaRpcClient;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaRpcPeer {
_unused: [u8; 0],
}
pub type FridaRpcPeer = _FridaRpcPeer;
pub type FridaRpcPeerIface = _FridaRpcPeerIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaInjector {
_unused: [u8; 0],
}
pub type FridaInjector = _FridaInjector;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaControlService {
_unused: [u8; 0],
}
pub type FridaControlService = _FridaControlService;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaControlServiceOptions {
_unused: [u8; 0],
}
pub type FridaControlServiceOptions = _FridaControlServiceOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaPortalService {
_unused: [u8; 0],
}
pub type FridaPortalService = _FridaPortalService;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaEndpointParameters {
_unused: [u8; 0],
}
pub type FridaEndpointParameters = _FridaEndpointParameters;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaAuthenticationService {
_unused: [u8; 0],
}
pub type FridaAuthenticationService = _FridaAuthenticationService;
pub type FridaAuthenticationServiceIface = _FridaAuthenticationServiceIface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaStaticAuthenticationService {
_unused: [u8; 0],
}
pub type FridaStaticAuthenticationService = _FridaStaticAuthenticationService;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaFileMonitor {
_unused: [u8; 0],
}
pub type FridaFileMonitor = _FridaFileMonitor;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaCompiler {
_unused: [u8; 0],
}
pub type FridaCompiler = _FridaCompiler;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaCompilerOptions {
_unused: [u8; 0],
}
pub type FridaCompilerOptions = _FridaCompilerOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaBuildOptions {
_unused: [u8; 0],
}
pub type FridaBuildOptions = _FridaBuildOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaWatchOptions {
_unused: [u8; 0],
}
pub type FridaWatchOptions = _FridaWatchOptions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaHostSession {
_unused: [u8; 0],
}
pub type FridaHostSession = _FridaHostSession;
pub const FridaRuntime_FRIDA_RUNTIME_GLIB: FridaRuntime = 0;
pub const FridaRuntime_FRIDA_RUNTIME_OTHER: FridaRuntime = 1;
pub type FridaRuntime = ::std::os::raw::c_uint;
pub const FridaDeviceType_FRIDA_DEVICE_TYPE_LOCAL: FridaDeviceType = 0;
pub const FridaDeviceType_FRIDA_DEVICE_TYPE_REMOTE: FridaDeviceType = 1;
pub const FridaDeviceType_FRIDA_DEVICE_TYPE_USB: FridaDeviceType = 2;
pub type FridaDeviceType = ::std::os::raw::c_uint;
pub const FridaSourceMaps_FRIDA_SOURCE_MAPS_INCLUDED: FridaSourceMaps = 0;
pub const FridaSourceMaps_FRIDA_SOURCE_MAPS_OMITTED: FridaSourceMaps = 1;
pub type FridaSourceMaps = ::std::os::raw::c_uint;
pub const FridaJsCompression_FRIDA_JS_COMPRESSION_NONE: FridaJsCompression = 0;
pub const FridaJsCompression_FRIDA_JS_COMPRESSION_TERSER: FridaJsCompression = 1;
pub type FridaJsCompression = ::std::os::raw::c_uint;
pub const FridaAgentMessageKind_FRIDA_AGENT_MESSAGE_KIND_SCRIPT: FridaAgentMessageKind = 1;
pub const FridaAgentMessageKind_FRIDA_AGENT_MESSAGE_KIND_DEBUGGER: FridaAgentMessageKind = 2;
pub type FridaAgentMessageKind = ::std::os::raw::c_uint;
pub const FridaChildOrigin_FRIDA_CHILD_ORIGIN_FORK: FridaChildOrigin = 0;
pub const FridaChildOrigin_FRIDA_CHILD_ORIGIN_EXEC: FridaChildOrigin = 1;
pub const FridaChildOrigin_FRIDA_CHILD_ORIGIN_SPAWN: FridaChildOrigin = 2;
pub type FridaChildOrigin = ::std::os::raw::c_uint;
pub const FridaPeerSetup_FRIDA_PEER_SETUP_ACTIVE: FridaPeerSetup = 0;
pub const FridaPeerSetup_FRIDA_PEER_SETUP_PASSIVE: FridaPeerSetup = 1;
pub const FridaPeerSetup_FRIDA_PEER_SETUP_ACTPASS: FridaPeerSetup = 2;
pub const FridaPeerSetup_FRIDA_PEER_SETUP_HOLDCONN: FridaPeerSetup = 3;
pub type FridaPeerSetup = ::std::os::raw::c_uint;
pub const FridaPortConflictBehavior_FRIDA_PORT_CONFLICT_BEHAVIOR_FAIL: FridaPortConflictBehavior =
0;
pub const FridaPortConflictBehavior_FRIDA_PORT_CONFLICT_BEHAVIOR_PICK_NEXT:
FridaPortConflictBehavior = 1;
pub type FridaPortConflictBehavior = ::std::os::raw::c_uint;
pub const FridaRealm_FRIDA_REALM_NATIVE: FridaRealm = 0;
pub const FridaRealm_FRIDA_REALM_EMULATED: FridaRealm = 1;
pub type FridaRealm = ::std::os::raw::c_uint;
pub const FridaRelayKind_FRIDA_RELAY_KIND_TURN_UDP: FridaRelayKind = 0;
pub const FridaRelayKind_FRIDA_RELAY_KIND_TURN_TCP: FridaRelayKind = 1;
pub const FridaRelayKind_FRIDA_RELAY_KIND_TURN_TLS: FridaRelayKind = 2;
pub type FridaRelayKind = ::std::os::raw::c_uint;
pub const FridaScope_FRIDA_SCOPE_MINIMAL: FridaScope = 0;
pub const FridaScope_FRIDA_SCOPE_METADATA: FridaScope = 1;
pub const FridaScope_FRIDA_SCOPE_FULL: FridaScope = 2;
pub type FridaScope = ::std::os::raw::c_uint;
pub const FridaScriptRuntime_FRIDA_SCRIPT_RUNTIME_DEFAULT: FridaScriptRuntime = 0;
pub const FridaScriptRuntime_FRIDA_SCRIPT_RUNTIME_QJS: FridaScriptRuntime = 1;
pub const FridaScriptRuntime_FRIDA_SCRIPT_RUNTIME_V8: FridaScriptRuntime = 2;
pub type FridaScriptRuntime = ::std::os::raw::c_uint;
pub const FridaSessionDetachReason_FRIDA_SESSION_DETACH_REASON_APPLICATION_REQUESTED:
FridaSessionDetachReason = 1;
pub const FridaSessionDetachReason_FRIDA_SESSION_DETACH_REASON_PROCESS_REPLACED:
FridaSessionDetachReason = 2;
pub const FridaSessionDetachReason_FRIDA_SESSION_DETACH_REASON_PROCESS_TERMINATED:
FridaSessionDetachReason = 3;
pub const FridaSessionDetachReason_FRIDA_SESSION_DETACH_REASON_CONNECTION_TERMINATED:
FridaSessionDetachReason = 4;
pub const FridaSessionDetachReason_FRIDA_SESSION_DETACH_REASON_DEVICE_LOST:
FridaSessionDetachReason = 5;
pub type FridaSessionDetachReason = ::std::os::raw::c_uint;
pub const FridaSnapshotTransport_FRIDA_SNAPSHOT_TRANSPORT_INLINE: FridaSnapshotTransport = 0;
pub const FridaSnapshotTransport_FRIDA_SNAPSHOT_TRANSPORT_SHARED_MEMORY: FridaSnapshotTransport = 1;
pub type FridaSnapshotTransport = ::std::os::raw::c_uint;
pub const FridaStdio_FRIDA_STDIO_INHERIT: FridaStdio = 0;
pub const FridaStdio_FRIDA_STDIO_PIPE: FridaStdio = 1;
pub type FridaStdio = ::std::os::raw::c_uint;
pub const FridaUnloadPolicy_FRIDA_UNLOAD_POLICY_IMMEDIATE: FridaUnloadPolicy = 0;
pub const FridaUnloadPolicy_FRIDA_UNLOAD_POLICY_RESIDENT: FridaUnloadPolicy = 1;
pub const FridaUnloadPolicy_FRIDA_UNLOAD_POLICY_DEFERRED: FridaUnloadPolicy = 2;
pub type FridaUnloadPolicy = ::std::os::raw::c_uint;
pub const FridaWebServiceFlavor_FRIDA_WEB_SERVICE_FLAVOR_CONTROL: FridaWebServiceFlavor = 0;
pub const FridaWebServiceFlavor_FRIDA_WEB_SERVICE_FLAVOR_CLUSTER: FridaWebServiceFlavor = 1;
pub type FridaWebServiceFlavor = ::std::os::raw::c_uint;
pub const FridaWebServiceTransport_FRIDA_WEB_SERVICE_TRANSPORT_PLAIN: FridaWebServiceTransport = 0;
pub const FridaWebServiceTransport_FRIDA_WEB_SERVICE_TRANSPORT_TLS: FridaWebServiceTransport = 1;
pub type FridaWebServiceTransport = ::std::os::raw::c_uint;
extern "C" {
pub fn frida_init();
}
extern "C" {
pub fn frida_shutdown();
}
extern "C" {
pub fn frida_deinit();
}
extern "C" {
pub fn frida_get_main_context() -> *mut GMainContext;
}
extern "C" {
pub fn frida_unref(obj: gpointer);
}
extern "C" {
pub fn frida_version(major: *mut guint, minor: *mut guint, micro: *mut guint, nano: *mut guint);
}
extern "C" {
pub fn frida_version_string() -> *const gchar;
}
pub type FridaDeviceManagerPredicate = ::std::option::Option<
unsafe extern "C" fn(device: *mut FridaDevice, user_data: gpointer) -> gboolean,
>;
extern "C" {
pub fn frida_device_manager_new() -> *mut FridaDeviceManager;
}
extern "C" {
pub fn frida_device_manager_close(
self_: *mut FridaDeviceManager,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_close_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_manager_close_sync(
self_: *mut FridaDeviceManager,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_manager_get_device_by_id(
self_: *mut FridaDeviceManager,
id: *const gchar,
timeout: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_get_device_by_id_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_get_device_by_id_sync(
self_: *mut FridaDeviceManager,
id: *const gchar,
timeout: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_get_device_by_type(
self_: *mut FridaDeviceManager,
type_: FridaDeviceType,
timeout: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_get_device_by_type_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_get_device_by_type_sync(
self_: *mut FridaDeviceManager,
type_: FridaDeviceType,
timeout: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_get_device(
self_: *mut FridaDeviceManager,
predicate: FridaDeviceManagerPredicate,
predicate_target: gpointer,
timeout: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_get_device_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_get_device_sync(
self_: *mut FridaDeviceManager,
predicate: FridaDeviceManagerPredicate,
predicate_target: gpointer,
timeout: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_find_device_by_id(
self_: *mut FridaDeviceManager,
id: *const gchar,
timeout: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_find_device_by_id_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_find_device_by_id_sync(
self_: *mut FridaDeviceManager,
id: *const gchar,
timeout: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_find_device_by_type(
self_: *mut FridaDeviceManager,
type_: FridaDeviceType,
timeout: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_find_device_by_type_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_find_device_by_type_sync(
self_: *mut FridaDeviceManager,
type_: FridaDeviceType,
timeout: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_find_device(
self_: *mut FridaDeviceManager,
predicate: FridaDeviceManagerPredicate,
predicate_target: gpointer,
timeout: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_find_device_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_find_device_sync(
self_: *mut FridaDeviceManager,
predicate: FridaDeviceManagerPredicate,
predicate_target: gpointer,
timeout: gint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_enumerate_devices(
self_: *mut FridaDeviceManager,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_enumerate_devices_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaDeviceList;
}
extern "C" {
pub fn frida_device_manager_enumerate_devices_sync(
self_: *mut FridaDeviceManager,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaDeviceList;
}
extern "C" {
pub fn frida_device_manager_add_remote_device(
self_: *mut FridaDeviceManager,
address: *const gchar,
options: *mut FridaRemoteDeviceOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_add_remote_device_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_add_remote_device_sync(
self_: *mut FridaDeviceManager,
address: *const gchar,
options: *mut FridaRemoteDeviceOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_device_manager_remove_remote_device(
self_: *mut FridaDeviceManager,
address: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_manager_remove_remote_device_finish(
self_: *mut FridaDeviceManager,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_manager_remove_remote_device_sync(
self_: *mut FridaDeviceManager,
address: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_list_size(self_: *mut FridaDeviceList) -> gint;
}
extern "C" {
pub fn frida_device_list_get(self_: *mut FridaDeviceList, index: gint) -> *mut FridaDevice;
}
pub type FridaDeviceProcessPredicate = ::std::option::Option<
unsafe extern "C" fn(process: *mut FridaProcess, user_data: gpointer) -> gboolean,
>;
extern "C" {
pub fn frida_device_get_id(self_: *mut FridaDevice) -> *const gchar;
}
extern "C" {
pub fn frida_device_get_name(self_: *mut FridaDevice) -> *const gchar;
}
extern "C" {
pub fn frida_device_get_icon(self_: *mut FridaDevice) -> *mut GVariant;
}
extern "C" {
pub fn frida_device_get_dtype(self_: *mut FridaDevice) -> FridaDeviceType;
}
extern "C" {
pub fn frida_device_get_bus(self_: *mut FridaDevice) -> *mut FridaBus;
}
extern "C" {
pub fn frida_device_get_manager(self_: *mut FridaDevice) -> *mut FridaDeviceManager;
}
extern "C" {
pub fn frida_device_is_lost(self_: *mut FridaDevice) -> gboolean;
}
extern "C" {
pub fn frida_device_query_system_parameters(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_query_system_parameters_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GHashTable;
}
extern "C" {
pub fn frida_device_query_system_parameters_sync(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GHashTable;
}
extern "C" {
pub fn frida_device_get_frontmost_application(
self_: *mut FridaDevice,
options: *mut FridaFrontmostQueryOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_get_frontmost_application_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaApplication;
}
extern "C" {
pub fn frida_device_get_frontmost_application_sync(
self_: *mut FridaDevice,
options: *mut FridaFrontmostQueryOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaApplication;
}
extern "C" {
pub fn frida_device_enumerate_applications(
self_: *mut FridaDevice,
options: *mut FridaApplicationQueryOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_enumerate_applications_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaApplicationList;
}
extern "C" {
pub fn frida_device_enumerate_applications_sync(
self_: *mut FridaDevice,
options: *mut FridaApplicationQueryOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaApplicationList;
}
extern "C" {
pub fn frida_device_get_process_by_pid(
self_: *mut FridaDevice,
pid: guint,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_get_process_by_pid_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_get_process_by_pid_sync(
self_: *mut FridaDevice,
pid: guint,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_get_process_by_name(
self_: *mut FridaDevice,
name: *const gchar,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_get_process_by_name_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_get_process_by_name_sync(
self_: *mut FridaDevice,
name: *const gchar,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_get_process(
self_: *mut FridaDevice,
predicate: FridaDeviceProcessPredicate,
predicate_target: gpointer,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_get_process_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_get_process_sync(
self_: *mut FridaDevice,
predicate: FridaDeviceProcessPredicate,
predicate_target: gpointer,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_find_process_by_pid(
self_: *mut FridaDevice,
pid: guint,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_find_process_by_pid_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_find_process_by_pid_sync(
self_: *mut FridaDevice,
pid: guint,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_find_process_by_name(
self_: *mut FridaDevice,
name: *const gchar,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_find_process_by_name_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_find_process_by_name_sync(
self_: *mut FridaDevice,
name: *const gchar,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_find_process(
self_: *mut FridaDevice,
predicate: FridaDeviceProcessPredicate,
predicate_target: gpointer,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_find_process_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_find_process_sync(
self_: *mut FridaDevice,
predicate: FridaDeviceProcessPredicate,
predicate_target: gpointer,
options: *mut FridaProcessMatchOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_device_enumerate_processes(
self_: *mut FridaDevice,
options: *mut FridaProcessQueryOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_enumerate_processes_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaProcessList;
}
extern "C" {
pub fn frida_device_enumerate_processes_sync(
self_: *mut FridaDevice,
options: *mut FridaProcessQueryOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaProcessList;
}
extern "C" {
pub fn frida_device_enable_spawn_gating(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_enable_spawn_gating_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_enable_spawn_gating_sync(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_disable_spawn_gating(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_disable_spawn_gating_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_disable_spawn_gating_sync(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_enumerate_pending_spawn(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_enumerate_pending_spawn_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaSpawnList;
}
extern "C" {
pub fn frida_device_enumerate_pending_spawn_sync(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaSpawnList;
}
extern "C" {
pub fn frida_device_enumerate_pending_children(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_enumerate_pending_children_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaChildList;
}
extern "C" {
pub fn frida_device_enumerate_pending_children_sync(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaChildList;
}
extern "C" {
pub fn frida_device_spawn(
self_: *mut FridaDevice,
program: *const gchar,
options: *mut FridaSpawnOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_spawn_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_device_spawn_sync(
self_: *mut FridaDevice,
program: *const gchar,
options: *mut FridaSpawnOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_device_input(
self_: *mut FridaDevice,
pid: guint,
data: *mut GBytes,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_input_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_input_sync(
self_: *mut FridaDevice,
pid: guint,
data: *mut GBytes,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_resume(
self_: *mut FridaDevice,
pid: guint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_resume_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_resume_sync(
self_: *mut FridaDevice,
pid: guint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_kill(
self_: *mut FridaDevice,
pid: guint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_kill_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_kill_sync(
self_: *mut FridaDevice,
pid: guint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_device_attach(
self_: *mut FridaDevice,
pid: guint,
options: *mut FridaSessionOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_attach_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaSession;
}
extern "C" {
pub fn frida_device_attach_sync(
self_: *mut FridaDevice,
pid: guint,
options: *mut FridaSessionOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaSession;
}
extern "C" {
pub fn frida_device_inject_library_file(
self_: *mut FridaDevice,
pid: guint,
path: *const gchar,
entrypoint: *const gchar,
data: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_inject_library_file_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_device_inject_library_file_sync(
self_: *mut FridaDevice,
pid: guint,
path: *const gchar,
entrypoint: *const gchar,
data: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_device_inject_library_blob(
self_: *mut FridaDevice,
pid: guint,
blob: *mut GBytes,
entrypoint: *const gchar,
data: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_inject_library_blob_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_device_inject_library_blob_sync(
self_: *mut FridaDevice,
pid: guint,
blob: *mut GBytes,
entrypoint: *const gchar,
data: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_device_open_channel(
self_: *mut FridaDevice,
address: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_open_channel_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GIOStream;
}
extern "C" {
pub fn frida_device_open_channel_sync(
self_: *mut FridaDevice,
address: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GIOStream;
}
extern "C" {
pub fn frida_device_get_host_session(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_device_get_host_session_finish(
self_: *mut FridaDevice,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaHostSession;
}
extern "C" {
pub fn frida_device_get_host_session_sync(
self_: *mut FridaDevice,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaHostSession;
}
extern "C" {
pub fn frida_remote_device_options_new() -> *mut FridaRemoteDeviceOptions;
}
extern "C" {
pub fn frida_remote_device_options_get_certificate(
self_: *mut FridaRemoteDeviceOptions,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn frida_remote_device_options_get_origin(
self_: *mut FridaRemoteDeviceOptions,
) -> *const gchar;
}
extern "C" {
pub fn frida_remote_device_options_get_token(
self_: *mut FridaRemoteDeviceOptions,
) -> *const gchar;
}
extern "C" {
pub fn frida_remote_device_options_get_keepalive_interval(
self_: *mut FridaRemoteDeviceOptions,
) -> gint;
}
extern "C" {
pub fn frida_remote_device_options_set_certificate(
self_: *mut FridaRemoteDeviceOptions,
value: *mut GTlsCertificate,
);
}
extern "C" {
pub fn frida_remote_device_options_set_origin(
self_: *mut FridaRemoteDeviceOptions,
value: *const gchar,
);
}
extern "C" {
pub fn frida_remote_device_options_set_token(
self_: *mut FridaRemoteDeviceOptions,
value: *const gchar,
);
}
extern "C" {
pub fn frida_remote_device_options_set_keepalive_interval(
self_: *mut FridaRemoteDeviceOptions,
value: gint,
);
}
extern "C" {
pub fn frida_application_list_size(self_: *mut FridaApplicationList) -> gint;
}
extern "C" {
pub fn frida_application_list_get(
self_: *mut FridaApplicationList,
index: gint,
) -> *mut FridaApplication;
}
extern "C" {
pub fn frida_application_get_identifier(self_: *mut FridaApplication) -> *const gchar;
}
extern "C" {
pub fn frida_application_get_name(self_: *mut FridaApplication) -> *const gchar;
}
extern "C" {
pub fn frida_application_get_pid(self_: *mut FridaApplication) -> guint;
}
extern "C" {
pub fn frida_application_get_parameters(self_: *mut FridaApplication) -> *mut GHashTable;
}
extern "C" {
pub fn frida_process_list_size(self_: *mut FridaProcessList) -> gint;
}
extern "C" {
pub fn frida_process_list_get(self_: *mut FridaProcessList, index: gint) -> *mut FridaProcess;
}
extern "C" {
pub fn frida_process_get_pid(self_: *mut FridaProcess) -> guint;
}
extern "C" {
pub fn frida_process_get_name(self_: *mut FridaProcess) -> *const gchar;
}
extern "C" {
pub fn frida_process_get_parameters(self_: *mut FridaProcess) -> *mut GHashTable;
}
extern "C" {
pub fn frida_process_match_options_new() -> *mut FridaProcessMatchOptions;
}
extern "C" {
pub fn frida_process_match_options_get_timeout(self_: *mut FridaProcessMatchOptions) -> gint;
}
extern "C" {
pub fn frida_process_match_options_get_scope(
self_: *mut FridaProcessMatchOptions,
) -> FridaScope;
}
extern "C" {
pub fn frida_process_match_options_set_timeout(
self_: *mut FridaProcessMatchOptions,
value: gint,
);
}
extern "C" {
pub fn frida_process_match_options_set_scope(
self_: *mut FridaProcessMatchOptions,
value: FridaScope,
);
}
extern "C" {
pub fn frida_spawn_options_new() -> *mut FridaSpawnOptions;
}
extern "C" {
pub fn frida_spawn_options_get_argv(
self_: *mut FridaSpawnOptions,
result_length: *mut gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn frida_spawn_options_get_envp(
self_: *mut FridaSpawnOptions,
result_length: *mut gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn frida_spawn_options_get_env(
self_: *mut FridaSpawnOptions,
result_length: *mut gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn frida_spawn_options_get_cwd(self_: *mut FridaSpawnOptions) -> *const gchar;
}
extern "C" {
pub fn frida_spawn_options_get_stdio(self_: *mut FridaSpawnOptions) -> FridaStdio;
}
extern "C" {
pub fn frida_spawn_options_get_aux(self_: *mut FridaSpawnOptions) -> *mut GHashTable;
}
extern "C" {
pub fn frida_spawn_options_set_argv(
self_: *mut FridaSpawnOptions,
value: *mut *mut gchar,
value_length: gint,
);
}
extern "C" {
pub fn frida_spawn_options_set_envp(
self_: *mut FridaSpawnOptions,
value: *mut *mut gchar,
value_length: gint,
);
}
extern "C" {
pub fn frida_spawn_options_set_env(
self_: *mut FridaSpawnOptions,
value: *mut *mut gchar,
value_length: gint,
);
}
extern "C" {
pub fn frida_spawn_options_set_cwd(self_: *mut FridaSpawnOptions, value: *const gchar);
}
extern "C" {
pub fn frida_spawn_options_set_stdio(self_: *mut FridaSpawnOptions, value: FridaStdio);
}
extern "C" {
pub fn frida_spawn_options_set_aux(self_: *mut FridaSpawnOptions, value: *mut GHashTable);
}
extern "C" {
pub fn frida_frontmost_query_options_new() -> *mut FridaFrontmostQueryOptions;
}
extern "C" {
pub fn frida_frontmost_query_options_get_scope(
self_: *mut FridaFrontmostQueryOptions,
) -> FridaScope;
}
extern "C" {
pub fn frida_frontmost_query_options_set_scope(
self_: *mut FridaFrontmostQueryOptions,
value: FridaScope,
);
}
extern "C" {
pub fn frida_application_query_options_new() -> *mut FridaApplicationQueryOptions;
}
extern "C" {
pub fn frida_application_query_options_get_scope(
self_: *mut FridaApplicationQueryOptions,
) -> FridaScope;
}
extern "C" {
pub fn frida_application_query_options_select_identifier(
self_: *mut FridaApplicationQueryOptions,
identifier: *const gchar,
);
}
extern "C" {
pub fn frida_application_query_options_has_selected_identifiers(
self_: *mut FridaApplicationQueryOptions,
) -> gboolean;
}
extern "C" {
pub fn frida_application_query_options_enumerate_selected_identifiers(
self_: *mut FridaApplicationQueryOptions,
func: GFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_application_query_options_set_scope(
self_: *mut FridaApplicationQueryOptions,
value: FridaScope,
);
}
extern "C" {
pub fn frida_process_query_options_new() -> *mut FridaProcessQueryOptions;
}
extern "C" {
pub fn frida_process_query_options_get_scope(
self_: *mut FridaProcessQueryOptions,
) -> FridaScope;
}
extern "C" {
pub fn frida_process_query_options_select_pid(self_: *mut FridaProcessQueryOptions, pid: guint);
}
extern "C" {
pub fn frida_process_query_options_has_selected_pids(
self_: *mut FridaProcessQueryOptions,
) -> gboolean;
}
extern "C" {
pub fn frida_process_query_options_enumerate_selected_pids(
self_: *mut FridaProcessQueryOptions,
func: GFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_process_query_options_set_scope(
self_: *mut FridaProcessQueryOptions,
value: FridaScope,
);
}
extern "C" {
pub fn frida_session_options_new() -> *mut FridaSessionOptions;
}
extern "C" {
pub fn frida_session_options_get_realm(self_: *mut FridaSessionOptions) -> FridaRealm;
}
extern "C" {
pub fn frida_session_options_get_persist_timeout(self_: *mut FridaSessionOptions) -> guint;
}
extern "C" {
pub fn frida_session_options_set_realm(self_: *mut FridaSessionOptions, value: FridaRealm);
}
extern "C" {
pub fn frida_session_options_set_persist_timeout(self_: *mut FridaSessionOptions, value: guint);
}
extern "C" {
pub fn frida_spawn_list_size(self_: *mut FridaSpawnList) -> gint;
}
extern "C" {
pub fn frida_spawn_list_get(self_: *mut FridaSpawnList, index: gint) -> *mut FridaSpawn;
}
extern "C" {
pub fn frida_spawn_get_pid(self_: *mut FridaSpawn) -> guint;
}
extern "C" {
pub fn frida_spawn_get_identifier(self_: *mut FridaSpawn) -> *const gchar;
}
extern "C" {
pub fn frida_child_list_size(self_: *mut FridaChildList) -> gint;
}
extern "C" {
pub fn frida_child_list_get(self_: *mut FridaChildList, index: gint) -> *mut FridaChild;
}
extern "C" {
pub fn frida_child_get_pid(self_: *mut FridaChild) -> guint;
}
extern "C" {
pub fn frida_child_get_parent_pid(self_: *mut FridaChild) -> guint;
}
extern "C" {
pub fn frida_child_get_origin(self_: *mut FridaChild) -> FridaChildOrigin;
}
extern "C" {
pub fn frida_child_get_identifier(self_: *mut FridaChild) -> *const gchar;
}
extern "C" {
pub fn frida_child_get_path(self_: *mut FridaChild) -> *const gchar;
}
extern "C" {
pub fn frida_child_get_argv(
self_: *mut FridaChild,
result_length: *mut gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn frida_child_get_envp(
self_: *mut FridaChild,
result_length: *mut gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn frida_crash_get_pid(self_: *mut FridaCrash) -> guint;
}
extern "C" {
pub fn frida_crash_get_process_name(self_: *mut FridaCrash) -> *const gchar;
}
extern "C" {
pub fn frida_crash_get_summary(self_: *mut FridaCrash) -> *const gchar;
}
extern "C" {
pub fn frida_crash_get_report(self_: *mut FridaCrash) -> *const gchar;
}
extern "C" {
pub fn frida_crash_get_parameters(self_: *mut FridaCrash) -> *mut GHashTable;
}
extern "C" {
pub fn frida_bus_get_device(self_: *mut FridaBus) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_bus_is_detached(self_: *mut FridaBus) -> gboolean;
}
extern "C" {
pub fn frida_bus_attach(
self_: *mut FridaBus,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_bus_attach_finish(
self_: *mut FridaBus,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_bus_attach_sync(
self_: *mut FridaBus,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_bus_post(self_: *mut FridaBus, json: *const gchar, data: *mut GBytes);
}
extern "C" {
pub fn frida_session_get_pid(self_: *mut FridaSession) -> guint;
}
extern "C" {
pub fn frida_session_get_persist_timeout(self_: *mut FridaSession) -> guint;
}
extern "C" {
pub fn frida_session_get_device(self_: *mut FridaSession) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_session_is_detached(self_: *mut FridaSession) -> gboolean;
}
extern "C" {
pub fn frida_session_detach(
self_: *mut FridaSession,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_detach_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_detach_sync(
self_: *mut FridaSession,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_resume(
self_: *mut FridaSession,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_resume_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_resume_sync(
self_: *mut FridaSession,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_enable_child_gating(
self_: *mut FridaSession,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_enable_child_gating_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_enable_child_gating_sync(
self_: *mut FridaSession,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_disable_child_gating(
self_: *mut FridaSession,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_disable_child_gating_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_disable_child_gating_sync(
self_: *mut FridaSession,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_create_script(
self_: *mut FridaSession,
source: *const gchar,
options: *mut FridaScriptOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_create_script_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaScript;
}
extern "C" {
pub fn frida_session_create_script_sync(
self_: *mut FridaSession,
source: *const gchar,
options: *mut FridaScriptOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaScript;
}
extern "C" {
pub fn frida_session_create_script_from_bytes(
self_: *mut FridaSession,
bytes: *mut GBytes,
options: *mut FridaScriptOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_create_script_from_bytes_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaScript;
}
extern "C" {
pub fn frida_session_create_script_from_bytes_sync(
self_: *mut FridaSession,
bytes: *mut GBytes,
options: *mut FridaScriptOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaScript;
}
extern "C" {
pub fn frida_session_compile_script(
self_: *mut FridaSession,
source: *const gchar,
options: *mut FridaScriptOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_compile_script_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn frida_session_compile_script_sync(
self_: *mut FridaSession,
source: *const gchar,
options: *mut FridaScriptOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn frida_session_snapshot_script(
self_: *mut FridaSession,
embed_script: *const gchar,
options: *mut FridaSnapshotOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_snapshot_script_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn frida_session_snapshot_script_sync(
self_: *mut FridaSession,
embed_script: *const gchar,
options: *mut FridaSnapshotOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut GBytes;
}
extern "C" {
pub fn frida_session_setup_peer_connection(
self_: *mut FridaSession,
options: *mut FridaPeerOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_setup_peer_connection_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_setup_peer_connection_sync(
self_: *mut FridaSession,
options: *mut FridaPeerOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_session_join_portal(
self_: *mut FridaSession,
address: *const gchar,
options: *mut FridaPortalOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_session_join_portal_finish(
self_: *mut FridaSession,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut FridaPortalMembership;
}
extern "C" {
pub fn frida_session_join_portal_sync(
self_: *mut FridaSession,
address: *const gchar,
options: *mut FridaPortalOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut FridaPortalMembership;
}
extern "C" {
pub fn frida_script_is_destroyed(self_: *mut FridaScript) -> gboolean;
}
extern "C" {
pub fn frida_script_load(
self_: *mut FridaScript,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_script_load_finish(
self_: *mut FridaScript,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_load_sync(
self_: *mut FridaScript,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_unload(
self_: *mut FridaScript,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_script_unload_finish(
self_: *mut FridaScript,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_unload_sync(
self_: *mut FridaScript,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_eternalize(
self_: *mut FridaScript,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_script_eternalize_finish(
self_: *mut FridaScript,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_eternalize_sync(
self_: *mut FridaScript,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_post(self_: *mut FridaScript, json: *const gchar, data: *mut GBytes);
}
extern "C" {
pub fn frida_script_enable_debugger(
self_: *mut FridaScript,
port: guint16,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_script_enable_debugger_finish(
self_: *mut FridaScript,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_enable_debugger_sync(
self_: *mut FridaScript,
port: guint16,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_disable_debugger(
self_: *mut FridaScript,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_script_disable_debugger_finish(
self_: *mut FridaScript,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_script_disable_debugger_sync(
self_: *mut FridaScript,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_snapshot_options_new() -> *mut FridaSnapshotOptions;
}
extern "C" {
pub fn frida_snapshot_options_get_warmup_script(
self_: *mut FridaSnapshotOptions,
) -> *const gchar;
}
extern "C" {
pub fn frida_snapshot_options_get_runtime(
self_: *mut FridaSnapshotOptions,
) -> FridaScriptRuntime;
}
extern "C" {
pub fn frida_snapshot_options_set_warmup_script(
self_: *mut FridaSnapshotOptions,
value: *const gchar,
);
}
extern "C" {
pub fn frida_snapshot_options_set_runtime(
self_: *mut FridaSnapshotOptions,
value: FridaScriptRuntime,
);
}
extern "C" {
pub fn frida_script_options_new() -> *mut FridaScriptOptions;
}
extern "C" {
pub fn frida_script_options_get_name(self_: *mut FridaScriptOptions) -> *const gchar;
}
extern "C" {
pub fn frida_script_options_get_snapshot(self_: *mut FridaScriptOptions) -> *mut GBytes;
}
extern "C" {
pub fn frida_script_options_get_snapshot_transport(
self_: *mut FridaScriptOptions,
) -> FridaSnapshotTransport;
}
extern "C" {
pub fn frida_script_options_get_runtime(self_: *mut FridaScriptOptions) -> FridaScriptRuntime;
}
extern "C" {
pub fn frida_script_options_set_name(self_: *mut FridaScriptOptions, value: *const gchar);
}
extern "C" {
pub fn frida_script_options_set_snapshot(self_: *mut FridaScriptOptions, value: *mut GBytes);
}
extern "C" {
pub fn frida_script_options_set_snapshot_transport(
self_: *mut FridaScriptOptions,
value: FridaSnapshotTransport,
);
}
extern "C" {
pub fn frida_script_options_set_runtime(
self_: *mut FridaScriptOptions,
value: FridaScriptRuntime,
);
}
extern "C" {
pub fn frida_peer_options_new() -> *mut FridaPeerOptions;
}
extern "C" {
pub fn frida_peer_options_get_stun_server(self_: *mut FridaPeerOptions) -> *const gchar;
}
extern "C" {
pub fn frida_peer_options_clear_relays(self_: *mut FridaPeerOptions);
}
extern "C" {
pub fn frida_peer_options_add_relay(self_: *mut FridaPeerOptions, relay: *mut FridaRelay);
}
extern "C" {
pub fn frida_peer_options_enumerate_relays(
self_: *mut FridaPeerOptions,
func: GFunc,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_peer_options_set_stun_server(self_: *mut FridaPeerOptions, value: *const gchar);
}
extern "C" {
pub fn frida_relay_new(
address: *const gchar,
username: *const gchar,
password: *const gchar,
kind: FridaRelayKind,
) -> *mut FridaRelay;
}
extern "C" {
pub fn frida_relay_get_address(self_: *mut FridaRelay) -> *const gchar;
}
extern "C" {
pub fn frida_relay_get_username(self_: *mut FridaRelay) -> *const gchar;
}
extern "C" {
pub fn frida_relay_get_password(self_: *mut FridaRelay) -> *const gchar;
}
extern "C" {
pub fn frida_relay_get_kind(self_: *mut FridaRelay) -> FridaRelayKind;
}
extern "C" {
pub fn frida_portal_options_new() -> *mut FridaPortalOptions;
}
extern "C" {
pub fn frida_portal_options_get_certificate(
self_: *mut FridaPortalOptions,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn frida_portal_options_get_token(self_: *mut FridaPortalOptions) -> *const gchar;
}
extern "C" {
pub fn frida_portal_options_get_acl(
self_: *mut FridaPortalOptions,
result_length: *mut gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn frida_portal_options_set_certificate(
self_: *mut FridaPortalOptions,
value: *mut GTlsCertificate,
);
}
extern "C" {
pub fn frida_portal_options_set_token(self_: *mut FridaPortalOptions, value: *const gchar);
}
extern "C" {
pub fn frida_portal_options_set_acl(
self_: *mut FridaPortalOptions,
value: *mut *mut gchar,
value_length: gint,
);
}
extern "C" {
pub fn frida_portal_membership_get_id(self_: *mut FridaPortalMembership) -> guint;
}
extern "C" {
pub fn frida_portal_membership_terminate(
self_: *mut FridaPortalMembership,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_portal_membership_terminate_finish(
self_: *mut FridaPortalMembership,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_portal_membership_terminate_sync(
self_: *mut FridaPortalMembership,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_rpc_client_new(peer: *mut FridaRpcPeer) -> *mut FridaRpcClient;
}
extern "C" {
pub fn frida_rpc_client_get_peer(self_: *mut FridaRpcClient) -> *mut FridaRpcPeer;
}
extern "C" {
pub fn frida_rpc_client_call(
self_: *mut FridaRpcClient,
method: *const gchar,
args: *mut *mut JsonNode,
args_length: gint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_rpc_client_call_finish(
self_: *mut FridaRpcClient,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut JsonNode;
}
extern "C" {
pub fn frida_rpc_client_try_handle_message(
self_: *mut FridaRpcClient,
json: *const gchar,
) -> gboolean;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaRpcPeerIface {
pub parent_iface: GTypeInterface,
pub post_rpc_message: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut FridaRpcPeer,
json: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub post_rpc_message_finish: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut FridaRpcPeer,
result: *mut GAsyncResult,
error: *mut *mut GError,
),
>,
}
extern "C" {
pub fn frida_rpc_peer_post_rpc_message(
self_: *mut FridaRpcPeer,
json: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_rpc_peer_post_rpc_message_finish(
self_: *mut FridaRpcPeer,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_injector_new() -> *mut FridaInjector;
}
extern "C" {
pub fn frida_injector_new_inprocess() -> *mut FridaInjector;
}
extern "C" {
pub fn frida_injector_close(
self_: *mut FridaInjector,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_injector_close_finish(
self_: *mut FridaInjector,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_injector_close_sync(
self_: *mut FridaInjector,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_injector_inject_library_file(
self_: *mut FridaInjector,
pid: guint,
path: *const gchar,
entrypoint: *const gchar,
data: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_injector_inject_library_file_finish(
self_: *mut FridaInjector,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_injector_inject_library_file_sync(
self_: *mut FridaInjector,
pid: guint,
path: *const gchar,
entrypoint: *const gchar,
data: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_injector_inject_library_blob(
self_: *mut FridaInjector,
pid: guint,
blob: *mut GBytes,
entrypoint: *const gchar,
data: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_injector_inject_library_blob_finish(
self_: *mut FridaInjector,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_injector_inject_library_blob_sync(
self_: *mut FridaInjector,
pid: guint,
blob: *mut GBytes,
entrypoint: *const gchar,
data: *const gchar,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_injector_demonitor(
self_: *mut FridaInjector,
id: guint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_injector_demonitor_finish(
self_: *mut FridaInjector,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_injector_demonitor_sync(
self_: *mut FridaInjector,
id: guint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_injector_demonitor_and_clone_state(
self_: *mut FridaInjector,
id: guint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_injector_demonitor_and_clone_state_finish(
self_: *mut FridaInjector,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_injector_demonitor_and_clone_state_sync(
self_: *mut FridaInjector,
id: guint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> guint;
}
extern "C" {
pub fn frida_injector_recreate_thread(
self_: *mut FridaInjector,
pid: guint,
id: guint,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_injector_recreate_thread_finish(
self_: *mut FridaInjector,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_injector_recreate_thread_sync(
self_: *mut FridaInjector,
pid: guint,
id: guint,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_control_service_new(
endpoint_params: *mut FridaEndpointParameters,
options: *mut FridaControlServiceOptions,
) -> *mut FridaControlService;
}
extern "C" {
pub fn frida_control_service_new_with_host_session(
host_session: *mut FridaHostSession,
endpoint_params: *mut FridaEndpointParameters,
options: *mut FridaControlServiceOptions,
) -> *mut FridaControlService;
}
extern "C" {
pub fn frida_control_service_get_host_session(
self_: *mut FridaControlService,
) -> *mut FridaHostSession;
}
extern "C" {
pub fn frida_control_service_get_endpoint_params(
self_: *mut FridaControlService,
) -> *mut FridaEndpointParameters;
}
extern "C" {
pub fn frida_control_service_get_options(
self_: *mut FridaControlService,
) -> *mut FridaControlServiceOptions;
}
extern "C" {
pub fn frida_control_service_start(
self_: *mut FridaControlService,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_control_service_start_finish(
self_: *mut FridaControlService,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_control_service_start_sync(
self_: *mut FridaControlService,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_control_service_stop(
self_: *mut FridaControlService,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_control_service_stop_finish(
self_: *mut FridaControlService,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_control_service_stop_sync(
self_: *mut FridaControlService,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_control_service_options_new() -> *mut FridaControlServiceOptions;
}
extern "C" {
pub fn frida_control_service_options_get_enable_preload(
self_: *mut FridaControlServiceOptions,
) -> gboolean;
}
extern "C" {
pub fn frida_control_service_options_get_report_crashes(
self_: *mut FridaControlServiceOptions,
) -> gboolean;
}
extern "C" {
pub fn frida_control_service_options_set_enable_preload(
self_: *mut FridaControlServiceOptions,
value: gboolean,
);
}
extern "C" {
pub fn frida_control_service_options_set_report_crashes(
self_: *mut FridaControlServiceOptions,
value: gboolean,
);
}
extern "C" {
pub fn frida_portal_service_new(
cluster_params: *mut FridaEndpointParameters,
control_params: *mut FridaEndpointParameters,
) -> *mut FridaPortalService;
}
extern "C" {
pub fn frida_portal_service_get_device(self_: *mut FridaPortalService) -> *mut FridaDevice;
}
extern "C" {
pub fn frida_portal_service_get_cluster_params(
self_: *mut FridaPortalService,
) -> *mut FridaEndpointParameters;
}
extern "C" {
pub fn frida_portal_service_get_control_params(
self_: *mut FridaPortalService,
) -> *mut FridaEndpointParameters;
}
extern "C" {
pub fn frida_portal_service_start(
self_: *mut FridaPortalService,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_portal_service_start_finish(
self_: *mut FridaPortalService,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_portal_service_start_sync(
self_: *mut FridaPortalService,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_portal_service_stop(
self_: *mut FridaPortalService,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_portal_service_stop_finish(
self_: *mut FridaPortalService,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_portal_service_stop_sync(
self_: *mut FridaPortalService,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_portal_service_kick(self_: *mut FridaPortalService, connection_id: guint);
}
extern "C" {
pub fn frida_portal_service_post(
self_: *mut FridaPortalService,
connection_id: guint,
json: *const gchar,
data: *mut GBytes,
);
}
extern "C" {
pub fn frida_portal_service_narrowcast(
self_: *mut FridaPortalService,
tag: *const gchar,
json: *const gchar,
data: *mut GBytes,
);
}
extern "C" {
pub fn frida_portal_service_broadcast(
self_: *mut FridaPortalService,
json: *const gchar,
data: *mut GBytes,
);
}
extern "C" {
pub fn frida_portal_service_enumerate_tags(
self_: *mut FridaPortalService,
connection_id: guint,
result_length: *mut gint,
) -> *mut *mut gchar;
}
extern "C" {
pub fn frida_portal_service_tag(
self_: *mut FridaPortalService,
connection_id: guint,
tag: *const gchar,
);
}
extern "C" {
pub fn frida_portal_service_untag(
self_: *mut FridaPortalService,
connection_id: guint,
tag: *const gchar,
);
}
extern "C" {
pub fn frida_endpoint_parameters_new(
address: *const gchar,
port: guint16,
certificate: *mut GTlsCertificate,
origin: *const gchar,
auth_service: *mut FridaAuthenticationService,
asset_root: *mut GFile,
) -> *mut FridaEndpointParameters;
}
extern "C" {
pub fn frida_endpoint_parameters_get_address(
self_: *mut FridaEndpointParameters,
) -> *const gchar;
}
extern "C" {
pub fn frida_endpoint_parameters_get_port(self_: *mut FridaEndpointParameters) -> guint16;
}
extern "C" {
pub fn frida_endpoint_parameters_get_certificate(
self_: *mut FridaEndpointParameters,
) -> *mut GTlsCertificate;
}
extern "C" {
pub fn frida_endpoint_parameters_get_origin(
self_: *mut FridaEndpointParameters,
) -> *const gchar;
}
extern "C" {
pub fn frida_endpoint_parameters_get_auth_service(
self_: *mut FridaEndpointParameters,
) -> *mut FridaAuthenticationService;
}
extern "C" {
pub fn frida_endpoint_parameters_get_asset_root(
self_: *mut FridaEndpointParameters,
) -> *mut GFile;
}
extern "C" {
pub fn frida_endpoint_parameters_set_asset_root(
self_: *mut FridaEndpointParameters,
value: *mut GFile,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _FridaAuthenticationServiceIface {
pub parent_iface: GTypeInterface,
pub authenticate: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut FridaAuthenticationService,
token: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
),
>,
pub authenticate_finish: ::std::option::Option<
unsafe extern "C" fn(
self_: *mut FridaAuthenticationService,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut gchar,
>,
}
extern "C" {
pub fn frida_authentication_service_authenticate(
self_: *mut FridaAuthenticationService,
token: *const gchar,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_authentication_service_authenticate_finish(
self_: *mut FridaAuthenticationService,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn frida_static_authentication_service_new(
token: *const gchar,
) -> *mut FridaStaticAuthenticationService;
}
extern "C" {
pub fn frida_static_authentication_service_get_token_hash(
self_: *mut FridaStaticAuthenticationService,
) -> *const gchar;
}
extern "C" {
pub fn frida_file_monitor_new(path: *const gchar) -> *mut FridaFileMonitor;
}
extern "C" {
pub fn frida_file_monitor_get_path(self_: *mut FridaFileMonitor) -> *const gchar;
}
extern "C" {
pub fn frida_file_monitor_enable(
self_: *mut FridaFileMonitor,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_file_monitor_enable_finish(
self_: *mut FridaFileMonitor,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_file_monitor_enable_sync(
self_: *mut FridaFileMonitor,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_file_monitor_disable(
self_: *mut FridaFileMonitor,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_file_monitor_disable_finish(
self_: *mut FridaFileMonitor,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_file_monitor_disable_sync(
self_: *mut FridaFileMonitor,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_compiler_new(manager: *mut FridaDeviceManager) -> *mut FridaCompiler;
}
extern "C" {
pub fn frida_compiler_get_manager(self_: *mut FridaCompiler) -> *mut FridaDeviceManager;
}
extern "C" {
pub fn frida_compiler_build(
self_: *mut FridaCompiler,
entrypoint: *const gchar,
options: *mut FridaBuildOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_compiler_build_finish(
self_: *mut FridaCompiler,
result: *mut GAsyncResult,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn frida_compiler_build_sync(
self_: *mut FridaCompiler,
entrypoint: *const gchar,
options: *mut FridaBuildOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
) -> *mut gchar;
}
extern "C" {
pub fn frida_compiler_watch(
self_: *mut FridaCompiler,
entrypoint: *const gchar,
options: *mut FridaWatchOptions,
cancellable: *mut GCancellable,
callback: GAsyncReadyCallback,
user_data: gpointer,
);
}
extern "C" {
pub fn frida_compiler_watch_finish(
self_: *mut FridaCompiler,
result: *mut GAsyncResult,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_compiler_watch_sync(
self_: *mut FridaCompiler,
entrypoint: *const gchar,
options: *mut FridaWatchOptions,
cancellable: *mut GCancellable,
error: *mut *mut GError,
);
}
extern "C" {
pub fn frida_compiler_options_new() -> *mut FridaCompilerOptions;
}
extern "C" {
pub fn frida_compiler_options_get_project_root(
self_: *mut FridaCompilerOptions,
) -> *const gchar;
}
extern "C" {
pub fn frida_compiler_options_get_source_maps(
self_: *mut FridaCompilerOptions,
) -> FridaSourceMaps;
}
extern "C" {
pub fn frida_compiler_options_get_compression(
self_: *mut FridaCompilerOptions,
) -> FridaJsCompression;
}
extern "C" {
pub fn frida_compiler_options_set_project_root(
self_: *mut FridaCompilerOptions,
value: *const gchar,
);
}
extern "C" {
pub fn frida_compiler_options_set_source_maps(
self_: *mut FridaCompilerOptions,
value: FridaSourceMaps,
);
}
extern "C" {
pub fn frida_compiler_options_set_compression(
self_: *mut FridaCompilerOptions,
value: FridaJsCompression,
);
}
extern "C" {
pub fn frida_build_options_new() -> *mut FridaBuildOptions;
}
extern "C" {
pub fn frida_watch_options_new() -> *mut FridaWatchOptions;
}
extern "C" {
pub fn frida_error_quark() -> GQuark;
}
pub const FridaError_FRIDA_ERROR_SERVER_NOT_RUNNING: FridaError = 0;
pub const FridaError_FRIDA_ERROR_EXECUTABLE_NOT_FOUND: FridaError = 1;
pub const FridaError_FRIDA_ERROR_EXECUTABLE_NOT_SUPPORTED: FridaError = 2;
pub const FridaError_FRIDA_ERROR_PROCESS_NOT_FOUND: FridaError = 3;
pub const FridaError_FRIDA_ERROR_PROCESS_NOT_RESPONDING: FridaError = 4;
pub const FridaError_FRIDA_ERROR_INVALID_ARGUMENT: FridaError = 5;
pub const FridaError_FRIDA_ERROR_INVALID_OPERATION: FridaError = 6;
pub const FridaError_FRIDA_ERROR_PERMISSION_DENIED: FridaError = 7;
pub const FridaError_FRIDA_ERROR_ADDRESS_IN_USE: FridaError = 8;
pub const FridaError_FRIDA_ERROR_TIMED_OUT: FridaError = 9;
pub const FridaError_FRIDA_ERROR_NOT_SUPPORTED: FridaError = 10;
pub const FridaError_FRIDA_ERROR_PROTOCOL: FridaError = 11;
pub const FridaError_FRIDA_ERROR_TRANSPORT: FridaError = 12;
pub type FridaError = ::std::os::raw::c_uint;
extern "C" {
pub fn frida_runtime_get_type() -> GType;
}
extern "C" {
pub fn frida_device_type_get_type() -> GType;
}
extern "C" {
pub fn frida_source_maps_get_type() -> GType;
}
extern "C" {
pub fn frida_js_compression_get_type() -> GType;
}
extern "C" {
pub fn frida_agent_message_kind_get_type() -> GType;
}
extern "C" {
pub fn frida_child_origin_get_type() -> GType;
}
extern "C" {
pub fn frida_peer_setup_get_type() -> GType;
}
extern "C" {
pub fn frida_port_conflict_behavior_get_type() -> GType;
}
extern "C" {
pub fn frida_realm_get_type() -> GType;
}
extern "C" {
pub fn frida_relay_kind_get_type() -> GType;
}
extern "C" {
pub fn frida_scope_get_type() -> GType;
}
extern "C" {
pub fn frida_script_runtime_get_type() -> GType;
}
extern "C" {
pub fn frida_session_detach_reason_get_type() -> GType;
}
extern "C" {
pub fn frida_snapshot_transport_get_type() -> GType;
}
extern "C" {
pub fn frida_stdio_get_type() -> GType;
}
extern "C" {
pub fn frida_unload_policy_get_type() -> GType;
}
extern "C" {
pub fn frida_web_service_flavor_get_type() -> GType;
}
extern "C" {
pub fn frida_web_service_transport_get_type() -> GType;
}
extern "C" {
pub fn frida_device_manager_get_type() -> GType;
}
extern "C" {
pub fn frida_device_list_get_type() -> GType;
}
extern "C" {
pub fn frida_device_get_type() -> GType;
}
extern "C" {
pub fn frida_remote_device_options_get_type() -> GType;
}
extern "C" {
pub fn frida_application_list_get_type() -> GType;
}
extern "C" {
pub fn frida_application_get_type() -> GType;
}
extern "C" {
pub fn frida_process_list_get_type() -> GType;
}
extern "C" {
pub fn frida_process_get_type() -> GType;
}
extern "C" {
pub fn frida_process_match_options_get_type() -> GType;
}
extern "C" {
pub fn frida_spawn_options_get_type() -> GType;
}
extern "C" {
pub fn frida_frontmost_query_options_get_type() -> GType;
}
extern "C" {
pub fn frida_application_query_options_get_type() -> GType;
}
extern "C" {
pub fn frida_process_query_options_get_type() -> GType;
}
extern "C" {
pub fn frida_session_options_get_type() -> GType;
}
extern "C" {
pub fn frida_spawn_list_get_type() -> GType;
}
extern "C" {
pub fn frida_spawn_get_type() -> GType;
}
extern "C" {
pub fn frida_child_list_get_type() -> GType;
}
extern "C" {
pub fn frida_child_get_type() -> GType;
}
extern "C" {
pub fn frida_crash_get_type() -> GType;
}
extern "C" {
pub fn frida_bus_get_type() -> GType;
}
extern "C" {
pub fn frida_session_get_type() -> GType;
}
extern "C" {
pub fn frida_script_get_type() -> GType;
}
extern "C" {
pub fn frida_snapshot_options_get_type() -> GType;
}
extern "C" {
pub fn frida_script_options_get_type() -> GType;
}
extern "C" {
pub fn frida_peer_options_get_type() -> GType;
}
extern "C" {
pub fn frida_relay_get_type() -> GType;
}
extern "C" {
pub fn frida_portal_options_get_type() -> GType;
}
extern "C" {
pub fn frida_portal_membership_get_type() -> GType;
}
extern "C" {
pub fn frida_rpc_client_get_type() -> GType;
}
extern "C" {
pub fn frida_rpc_peer_get_type() -> GType;
}
extern "C" {
pub fn frida_injector_get_type() -> GType;
}
extern "C" {
pub fn frida_control_service_get_type() -> GType;
}
extern "C" {
pub fn frida_control_service_options_get_type() -> GType;
}
extern "C" {
pub fn frida_portal_service_get_type() -> GType;
}
extern "C" {
pub fn frida_endpoint_parameters_get_type() -> GType;
}
extern "C" {
pub fn frida_authentication_service_get_type() -> GType;
}
extern "C" {
pub fn frida_static_authentication_service_get_type() -> GType;
}
extern "C" {
pub fn frida_file_monitor_get_type() -> GType;
}
extern "C" {
pub fn frida_compiler_get_type() -> GType;
}
extern "C" {
pub fn frida_compiler_options_get_type() -> GType;
}
extern "C" {
pub fn frida_build_options_get_type() -> GType;
}
extern "C" {
pub fn frida_watch_options_get_type() -> GType;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __locale_data {
pub _address: u8,
}
pub type __builtin_va_list = *mut ::std::os::raw::c_char;