2 * bootsect.h - Exports for bootsector record handling. Part of the Linux-NTFS
5 * Copyright (c) 2000-2002 Anton Altaparmakov
7 * This program/include file is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as published
9 * by the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program/include file is distributed in the hope that it will be
13 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program (in the main directory of the Linux-NTFS
19 * distribution in the file COPYING); if not, write to the Free Software
20 * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef _NTFS_BOOTSECT_H
24 #define _NTFS_BOOTSECT_H
31 * is_boot_sector_ntfs - check a boot sector for describing an ntfs volume
32 * @b: buffer containing the boot sector
33 * @silent: if 1 don't display progress information
35 * This function checks the boot sector in @b for describing a valid ntfs
36 * volume. Return TRUE if @b is a valid NTFS boot sector or FALSE otherwise.
37 * If silent is FALSE, progress output will be output to stdout. If silent is
38 * TRUE no output to stdout will occur. Errors/warnings to stderr will occur
39 * disregarding the value of silent (but only if configure was run with
42 extern BOOL ntfs_boot_sector_is_ntfs(const NTFS_BOOT_SECTOR *b,
44 extern int ntfs_boot_sector_parse(ntfs_volume *vol, const NTFS_BOOT_SECTOR *b);
46 #endif /* defined _NTFS_BOOTSECT_H */