summaryrefslogtreecommitdiffstats
path: root/src/sessionp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionp.h')
-rw-r--r--src/sessionp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sessionp.h b/src/sessionp.h
index 319db10..32b1c96 100644
--- a/src/sessionp.h
+++ b/src/sessionp.h
@@ -19,6 +19,13 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int session_load(char **cmd_device, char **current_cmd, alloc_data_t *list_free_space);
int session_save(alloc_data_t *list_free_space, disk_t *disk_car, const partition_t *partition, const file_enable_t *files_enable, const unsigned int blocksize, const unsigned int paranoid, const unsigned int keep_corrupted_file, const unsigned int mode_ext2, const unsigned int expert, const unsigned int lowmem, const unsigned int carve_free_space_only, const int verbose);
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif