mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
23 lines
723 B
C
23 lines
723 B
C
#ifndef NTFS_H
|
|
#define NTFS_H
|
|
|
|
#include <stdio.h>
|
|
|
|
/* returns TRUE if the file has an NFTS file system, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int is_ntfs_fs(FILE *fp);
|
|
|
|
/* returns TRUE if the file has a NTFS boot record, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int is_ntfs_br(FILE *fp);
|
|
|
|
/* returns TRUE if the file has an exact match of the NTFS boot record
|
|
this program would create, otherwise FALSE.
|
|
The file position will change when this function is called! */
|
|
int entire_ntfs_br_matches(FILE *fp);
|
|
|
|
/* Writes a NTFS boot record to a file, returns TRUE on success, otherwise
|
|
FALSE */
|
|
int write_ntfs_br(FILE *fp);
|
|
|
|
#endif
|