summaryrefslogtreecommitdiffstats
path: root/src/iso.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-10-19 22:14:08 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2009-10-19 22:14:08 +0200
commit07c141de4d9ddd44f3bca65421057125ce365c51 (patch)
tree7ff7854a1381ea0eab56934206654d82e85e8db6 /src/iso.h
parent33e823ef654f4f79fb88599b7b8e09429f28afff (diff)
Identify ISO9660 image as non-partitionned media
Diffstat (limited to 'src/iso.h')
-rw-r--r--src/iso.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/iso.h b/src/iso.h
new file mode 100644
index 0000000..9b5cbbc
--- /dev/null
+++ b/src/iso.h
@@ -0,0 +1,31 @@
+/*
+
+ File: iso.h
+
+ Copyright (C) 2009 Christophe GRENIER <grenier@cgsecurity.org>
+
+ This software is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write the Free Software Foundation, Inc., 51
+ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+#include "iso9660.h"
+int check_ISO(disk_t *disk_car, partition_t *partition);
+int recover_ISO(disk_t *disk_car, const struct iso_primary_descriptor *iso, partition_t *partition, const int verbose, const int dump_ind);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif