summaryrefslogtreecommitdiffstats
path: root/src/ipsw.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-20 22:02:18 -0400
committerGravatar Joshua Hill2010-06-21 03:59:31 -0400
commit24afafe06f902bfd9f5652beb8797f24033c68bc (patch)
treec998387441a8e044a07cb3a5ae1282543ddaebad /src/ipsw.h
parent2a2934ca1568dffe69da9a20420c7c0c71376bce (diff)
downloadidevicerestore-24afafe06f902bfd9f5652beb8797f24033c68bc.tar.gz
idevicerestore-24afafe06f902bfd9f5652beb8797f24033c68bc.tar.bz2
Archived for historical reasons
Diffstat (limited to 'src/ipsw.h')
-rw-r--r--src/ipsw.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ipsw.h b/src/ipsw.h
index aa0fd1d..cd11406 100644
--- a/src/ipsw.h
+++ b/src/ipsw.h
@@ -22,6 +22,10 @@
#ifndef IDEVICERESTORE_IPSW_H
#define IDEVICERESTORE_IPSW_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <zip.h>
#include <stdint.h>
@@ -35,4 +39,8 @@ typedef struct {
int ipsw_extract_to_memory(const char* ipsw, const char* infile, char** pbuffer, uint32_t* psize);
void ipsw_free_file(ipsw_file* file);
+#ifdef __cplusplus
+}
+#endif
+
#endif