mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
31 lines
598 B
C
31 lines
598 B
C
#ifndef __LOCKDOWN_HELPER_H
|
|
#define __LOCKDOWN_HELPER_H
|
|
|
|
#ifndef HAVE_LIBIMOBILEDEVICE
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int lockdown_connect_udid(const char* udid);
|
|
int lockdown_connect_handle(uint32_t handle);
|
|
|
|
void lockdown_disconnect(int fd);
|
|
|
|
int lockdown_check_type(int fd, const char* type_match);
|
|
|
|
int lockdown_get_uint_value(int fd, const char* domain, const char* key, uint64_t* value);
|
|
int lockdown_get_string_value(int fd, const char* domain, const char* key, char** value);
|
|
|
|
int lockdown_enter_recovery(int fd);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|