summaryrefslogtreecommitdiffstats
path: root/src/fat_cluster.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-16 19:59:12 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-16 19:59:12 +0100
commit1bb6df5595fd5ae52aebf20ca87d30f44fa507b4 (patch)
tree642a12b0b21962cef0674ec2ccccf38cca09af82 /src/fat_cluster.h
parentac32ef6ddff1231a65b2c114fec6f1d55975b950 (diff)
Move find_sectors_per_cluster() and no_of_cluster2part_type() to a separated file
Diffstat (limited to 'src/fat_cluster.h')
-rw-r--r--src/fat_cluster.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/fat_cluster.h b/src/fat_cluster.h
new file mode 100644
index 0000000..0a0483f
--- /dev/null
+++ b/src/fat_cluster.h
@@ -0,0 +1,34 @@
+/*
+
+ File: fat_cluster.h
+
+ Copyright (C) 2008-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.
+
+ */
+#ifndef _FAT_CLUSTER_H
+#define _FAT_CLUSTER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int find_sectors_per_cluster(disk_t *disk_car, partition_t *partition, const int verbose, const int dump_ind,const int interface, unsigned int *sectors_per_cluster, uint64_t *offset);
+upart_type_t no_of_cluster2part_type(const unsigned long int no_of_cluster);
+
+#ifdef __cplusplus
+} /* closing brace for extern "c" */
+#endif
+#endif