summaryrefslogtreecommitdiffstats
path: root/src/fat_cluster.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-01-07 11:42:10 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2012-01-07 11:42:10 +0100
commit106fb14319f27da60ed76667a11bdae3fb4db057 (patch)
tree08a3a43ab3ee21443af45bd9e29988ed8018c27a /src/fat_cluster.h
parentd741d15777e4249d824f0ba5db3350ac6fe56cb7 (diff)
Make FAT RebuildBS works when there is a single FAT table
Diffstat (limited to 'src/fat_cluster.h')
-rw-r--r--src/fat_cluster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fat_cluster.h b/src/fat_cluster.h
index d648b4a..c890a42 100644
--- a/src/fat_cluster.h
+++ b/src/fat_cluster.h
@@ -42,9 +42,9 @@ struct cluster_offset_struct
unsigned int first_sol;
};
-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);
+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, const upart_type_t upart_type);
upart_type_t no_of_cluster2part_type(const unsigned long int no_of_cluster);
-int find_sectors_per_cluster_aux(const sector_cluster_t *sector_cluster, const unsigned int nbr_sector_cluster,unsigned int *sectors_per_cluster, uint64_t *offset, const int verbose, const unsigned long int part_size_in_sectors);
+int find_sectors_per_cluster_aux(const sector_cluster_t *sector_cluster, const unsigned int nbr_sector_cluster,unsigned int *sectors_per_cluster, uint64_t *offset, const int verbose, const unsigned long int part_size_in_sectors, const upart_type_t upart_type);
#ifdef __cplusplus
} /* closing brace for extern "c" */