summaryrefslogtreecommitdiffstats
path: root/src/fat.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-11-10 08:12:15 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-11-10 08:12:15 +0100
commit3707225caf554891fed4261fef74441e9bd74345 (patch)
tree8be6284afd61cb8619cf2cefd94b18b07eaae77a /src/fat.h
parent630a6ef2d6d2daf654cfe5aac9c39b78b275b70e (diff)
Defined more functions as static
Diffstat (limited to 'src/fat.h')
-rw-r--r--src/fat.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fat.h b/src/fat.h
index b84a503..a211b26 100644
--- a/src/fat.h
+++ b/src/fat.h
@@ -2,7 +2,7 @@
File: fat.h
- Copyright (C) 1998-2004,2007 Christophe GRENIER <grenier@cgsecurity.org>
+ Copyright (C) 1998-2004,2007-2008 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
@@ -118,13 +118,10 @@ int is_part_fat32(const partition_t *partition);
unsigned int get_dir_entries(const struct fat_boot_sector *fat_header);
int dump_fat_info(const struct fat_boot_sector*fh1, const upart_type_t upart_type, const unsigned int sector_size);
int dump_2fat_info(const struct fat_boot_sector*fh1, const struct fat_boot_sector*fh2, const upart_type_t upart_type, const unsigned int sector_size);
-int fat32_set_part_name(disk_t *disk_car, partition_t *partition, const struct fat_boot_sector*fat_header);
unsigned int fat_sector_size(const struct fat_boot_sector *fat_header);
unsigned int sectors(const struct fat_boot_sector *fat_header);
unsigned int fat32_get_prev_cluster(disk_t *disk_car,const partition_t *partition, const unsigned int fat_offset, const unsigned int cluster, const unsigned int no_of_cluster);
int fat32_free_info(disk_t *disk_car,const partition_t *partition, const unsigned int fat_offset, const unsigned int no_of_cluster, unsigned int *next_free, unsigned int*free_count);
-unsigned long int fat32_get_free_count(const unsigned char *boot_fat32, const unsigned int sector_size);
-unsigned long int fat32_get_next_free(const unsigned char *boot_fat32, const unsigned int sector_size);
#define DELETED_FLAG 0xe5 /* marks file as deleted when in name[0] */
#define IS_FREE(n) (!*(n) || *(const unsigned char *) (n) == DELETED_FLAG)
@@ -155,8 +152,6 @@ int check_FAT(disk_t *disk_car,partition_t *partition, const int verbose);
int test_FAT(disk_t *disk_car,const struct fat_boot_sector *fat_header, partition_t *partition,const int verbose, const int dump_ind);
int recover_HPFS(disk_t *disk_car, const struct fat_boot_sector*fat_header, partition_t *partition, const int verbose, const int dump_ind);
int check_HPFS(disk_t *disk_car,partition_t *partition, const int verbose);
-int test_HPFS(disk_t *disk_car,const struct fat_boot_sector *fat_header, partition_t *partition,const int verbose, const int dump_ind);
int recover_OS2MB(disk_t *disk_car, const struct fat_boot_sector*fat_header, partition_t *partition, const int verbose, const int dump_ind);
int check_OS2MB(disk_t *disk_car,partition_t *partition, const int verbose);
-int test_OS2MB(disk_t *disk_car,const struct fat_boot_sector *fat_header, partition_t *partition,const int verbose, const int dump_ind);
int check_VFAT_volume_name(const char *name, const unsigned int max_size);