mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
b6bc17b7f4
* Closes #331
59 lines
2.3 KiB
C
59 lines
2.3 KiB
C
#ifndef FAT32_H
|
|
#define FAT32_H
|
|
|
|
#include <stdio.h>
|
|
|
|
/* returns TRUE if the file has a FAT32 file system, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int is_fat_32_fs(FILE *fp);
|
|
|
|
/* returns TRUE if the file has a FAT32 DOS boot record, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int is_fat_32_br(FILE *fp);
|
|
|
|
/* returns TRUE if the file has an exact match of the FAT32 DOS boot record
|
|
this program would create, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int entire_fat_32_br_matches(FILE *fp);
|
|
|
|
/* Writes a FAT32 DOS boot record to a file, returns TRUE on success, otherwise
|
|
FALSE */
|
|
int write_fat_32_br(FILE *fp, int bKeepLabel);
|
|
|
|
/* returns TRUE if the file has an exact match of the FAT32 boot record this
|
|
program would create for FreeDOS, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int entire_fat_32_fd_br_matches(FILE *fp);
|
|
|
|
/* Writes a FAT32 FreeDOS boot record to a file, returns TRUE on success,
|
|
otherwise FALSE */
|
|
int write_fat_32_fd_br(FILE *fp, int bKeepLabel);
|
|
|
|
/* returns TRUE if the file has an exact match of the FAT32 boot record this
|
|
program would create for NT, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int entire_fat_32_nt_br_matches(FILE *fp);
|
|
|
|
/* Writes a FAT32 NT boot record to a file, returns TRUE on success, otherwise
|
|
FALSE */
|
|
int write_fat_32_nt_br(FILE *fp, int bKeepLabel);
|
|
|
|
/* returns TRUE if the file has an exact match of the FAT32 boot record this
|
|
program would create for ReactOS, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int entire_fat_32_ros_br_matches(FILE *fp);
|
|
|
|
/* Writes a FAT32 ReactOS boot record to a file, returns TRUE on success, otherwise
|
|
FALSE */
|
|
int write_fat_32_ros_br(FILE *fp, int bKeepLabel);
|
|
|
|
/* returns TRUE if the file has an exact match of the FAT32 boot record this
|
|
program would create for KolibriOS, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int entire_fat_32_kos_br_matches(FILE *fp);
|
|
|
|
/* Writes a FAT32 KolibriOS boot record to a file, returns TRUE on success, otherwise
|
|
FALSE */
|
|
int write_fat_32_kos_br(FILE *fp, int bKeepLabel);
|
|
|
|
#endif
|