summaryrefslogtreecommitdiffstats
path: root/src/normal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.h')
-rw-r--r--src/normal.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/normal.h b/src/normal.h
index cdc29ba..352e643 100644
--- a/src/normal.h
+++ b/src/normal.h
@@ -22,7 +22,20 @@
#ifndef IDEVICERESTORE_NORMAL_H
#define IDEVICERESTORE_NORMAL_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdint.h>
+#include <libimobiledevice/lockdown.h>
+#include <libimobiledevice/libimobiledevice.h>
+
+struct normal_client_t {
+ idevice_t device;
+ lockdownd_client_t client;
+ const char* ipsw;
+ plist_t tss;
+};
int normal_check_mode(const char* uuid);
int normal_check_device(const char* uuid);
@@ -31,4 +44,8 @@ int normal_get_cpid(const char* uuid, uint32_t* cpid);
int normal_get_bdid(const char* uuid, uint32_t* cpid);
int normal_get_ecid(const char* uuid, uint64_t* ecid);
+#ifdef __cplusplus
+}
+#endif
+
#endif