"Fossies" - the Fresh Open Source Software Archive

Member "ms-sys-2.7.0/inc/ntfs.h" (26 Feb 2012, 723 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 "ntfs.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef NTFS_H
    2 #define NTFS_H
    3 
    4 #include <stdio.h>
    5 
    6 /* returns TRUE if the file has an NFTS file system, otherwise FALSE.
    7    The file position will change when this function is called! */
    8 int is_ntfs_fs(FILE *fp);
    9 
   10 /* returns TRUE if the file has a NTFS boot record, otherwise FALSE.
   11    The file position will change when this function is called! */
   12 int is_ntfs_br(FILE *fp);
   13 
   14 /* returns TRUE if the file has an exact match of the NTFS boot record
   15    this program would create, otherwise FALSE.
   16    The file position will change when this function is called! */
   17 int entire_ntfs_br_matches(FILE *fp);
   18 
   19 /* Writes a NTFS boot record to a file, returns TRUE on success, otherwise
   20    FALSE */
   21 int write_ntfs_br(FILE *fp);
   22 
   23 #endif