"Fossies" - the Fresh Open Source Software Archive

Member "ms-sys-2.7.0/inc/fat16.h" (25 Dec 2015, 1530 Bytes) of package /linux/privat/ms-sys-2.7.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "fat16.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 2.4.1_vs_2.6.0.

    1 #ifndef FAT16_H
    2 #define FAT16_H
    3 
    4 #include <stdio.h>
    5 
    6 /* returns TRUE if the file has a FAT16 file system, otherwise FALSE.
    7    The file position will change when this function is called! */
    8 int is_fat_16_fs(FILE *fp);
    9 
   10 /* returns TRUE if the file has a FAT16 boot record, otherwise FALSE.
   11    The file position will change when this function is called! */
   12 int is_fat_16_br(FILE *fp);
   13 
   14 /* returns TRUE if the file has an exact match of the FAT16 boot record this
   15    program would create, otherwise FALSE.
   16    The file position will change when this function is called! */
   17 int entire_fat_16_br_matches(FILE *fp);
   18 
   19 /* Writes a FAT16 boot record to a file, returns TRUE on success, otherwise
   20    FALSE */
   21 int write_fat_16_br(FILE *fp, int bKeepLabel);
   22 
   23 /* returns TRUE if the file has an exact match of the FAT16 boot record this
   24    program would create for FreeDOS, otherwise FALSE.
   25    The file position will change when this function is called! */
   26 int entire_fat_16_fd_br_matches(FILE *fp);
   27 
   28 /* Writes a FAT16 FreeDOS boot record to a file, returns TRUE on success,
   29    otherwise FALSE */
   30 int write_fat_16_fd_br(FILE *fp, int bKeepLabel);
   31 
   32 /* returns TRUE if the file has an exact match of the FAT16 boot record this
   33    program would create for ReactOS, otherwise FALSE.
   34    The file position will change when this function is called! */
   35 int entire_fat_16_ros_br_matches(FILE *fp);
   36 
   37 /* Writes a FAT16 ReactOS boot record to a file, returns TRUE on success,
   38    otherwise FALSE */
   39 int write_fat_16_ros_br(FILE *fp, int bKeepLabel);
   40 
   41 #endif