1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00
rufus/inc/fat12.h

19 lines
568 B
C
Raw Normal View History

2011-11-29 20:18:23 +00:00
#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