summaryrefslogtreecommitdiffstats
path: root/src/asr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asr.h')
-rw-r--r--src/asr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/asr.h b/src/asr.h
index 29210ce..1423496 100644
--- a/src/asr.h
+++ b/src/asr.h
@@ -22,6 +22,10 @@
#ifndef IDEVICERESTORE_ASR_H
#define IDEVICERESTORE_ASR_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <libimobiledevice/libimobiledevice.h>
int asr_open_with_timeout(idevice_t device, idevice_connection_t* asr);
@@ -33,4 +37,9 @@ int asr_perform_validation(idevice_connection_t asr, const char* filesystem);
int asr_send_payload(idevice_connection_t asr, const char* filesystem);
int asr_handle_oob_data_request(idevice_connection_t asr, plist_t packet, FILE* file);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif