1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-01 00:16:09 +00:00
rufus/src/ms-sys/inc/fat12.h
Pete Batard dc010cc418 [misc] separated ms-sys dependency from application
* set ms-sys to be built as a library
* also removed unused code from badblocks.c
2012-01-11 00:05:16 +00:00

19 lines
568 B
C

#ifndef FAT12_H
#define FAT12_H
/* returns TRUE if the file has a FAT12 file system, otherwise FALSE.
The file position will change when this function is called! */
int is_fat_12_fs(FILE *fp);
/* returns TRUE if the file has an exact match ot the FAT12 boot record this
program would create, otherwise FALSE.
The file position will change when this function is called! */
int entire_fat_12_br_matches(FILE *fp);
/* Writes a FAT12 boot record to a file, returns TRUE on success, otherwise
FALSE */
int write_fat_12_br(FILE *fp, int bKeepLabel);
#endif