summaryrefslogtreecommitdiffstats
path: root/src/tss.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tss.h')
-rw-r--r--src/tss.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tss.h b/src/tss.h
index ff60da0..d45c74c 100644
--- a/src/tss.h
+++ b/src/tss.h
@@ -22,6 +22,10 @@
#ifndef IDEVICERESTORE_TSS_H
#define IDEVICERESTORE_TSS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <plist/plist.h>
plist_t tss_send_request(plist_t request);
@@ -30,4 +34,9 @@ int tss_get_entry_path(plist_t tss, const char* entry, char** path);
int tss_get_blob_by_path(plist_t tss, const char* path, char** blob);
int tss_get_blob_by_name(plist_t tss, const char* entry, char** blob);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif