summaryrefslogtreecommitdiffstats
path: root/src/activate.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/activate.h
parent2a2934ca1568dffe69da9a20420c7c0c71376bce (diff)
downloadidevicerestore-24afafe06f902bfd9f5652beb8797f24033c68bc.tar.gz
idevicerestore-24afafe06f902bfd9f5652beb8797f24033c68bc.tar.bz2
Archived for historical reasons
Diffstat (limited to 'src/activate.h')
-rw-r--r--src/activate.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/activate.h b/src/activate.h
index f992d4f..00510d3 100644
--- a/src/activate.h
+++ b/src/activate.h
@@ -19,8 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef ACTIVATE_H
-#define ACTIVATE_H
+#ifndef IDEVICERESTORE_ACTIVATE_H
+#define IDEVICERESTORE_ACTIVATE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
#include <plist/plist.h>
#include <libimobiledevice/lockdown.h>
@@ -29,4 +33,9 @@ int activate_device(const char* uuid);
int activate_check_status(const char* uuid);
int activate_fetch_record(lockdownd_client_t lockdown, plist_t* record);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif