whitespace and include guards
2002/07/11 13:18:11-00:00 !flatcap start to break up the dependency loops in the header files 2002/06/02 23:02:20-00:00 !antona More fixes and updates. 2002/04/20 23:09:42-00:00 !antona Port attribute lookup functions with attribute list support from ntfs tng driver. Port/reimplement extent mft record handling code as well. Rename out all dollar signs from type names and constants. Adapt all callers to new API. Note mkntfs is currently broken due to some needed work. 2002/04/18 18:15:46-00:00 !antona Define API for bootsect.[ch]: is_boot_sector_ntfs(). 2002/04/14 13:56:45-00:00 !antona cleanup header files. 2001/06/01 02:07:24-00:00 !antona It has been a long time since last commit. At moment have done a lot of work on mkntfs but also at the moment ntfsfix and ntfsdump_logfile and libntfs are broken. Basically only mkntfs works and that is not complete either. 2001/04/11 11:49:16-00:00 !antona Header file reorganisation so that it compiles. 2001/04/08 03:02:55-00:00 !antona Added cvs Id header. 2001/03/02 15:03:56-00:00 !antona Update to latest include files. 2001/01/30 12:29:03-00:00 !antona And the last move into CVS. The make files. (Note: compilation is untested and all changes have been done without testing so if it doesn't compile at the moment don't be too surprised.) 2001/01/25 22:25:43-00:00 !antona More files added to ntfs lib. Fixed some consistency problems. 2001/01/24 20:37:36-00:00 !antona Added for now last header file for boot sector handling. (Logical change 1.5)edge.strict_endians
parent
e1032c4b86
commit
91b6d82cbc
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* $Id$
|
||||
*
|
||||
* bootsect.h - Exports for bootsector record handling. Part of the Linux-NTFS
|
||||
* project.
|
||||
*
|
||||
* Copyright (c) 2000-2002 Anton Altaparmakov.
|
||||
*
|
||||
* This program/include file is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as published
|
||||
* by the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program/include file is distributed in the hope that it will be
|
||||
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program (in the main directory of the Linux-NTFS
|
||||
* distribution in the file COPYING); if not, write to the Free Software
|
||||
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef _NTFS_BOOTSECT_H
|
||||
#define _NTFS_BOOTSECT_H
|
||||
|
||||
#include "types.h"
|
||||
#include "volume.h"
|
||||
#include "layout.h"
|
||||
|
||||
/**
|
||||
* is_boot_sector_ntfs - check a boot sector for describing an ntfs volume
|
||||
* @b: buffer containing the boot sector
|
||||
* @silent: if 1 don't display progress information
|
||||
*
|
||||
* This function checks the boot sector in @b for describing a valid ntfs
|
||||
* volume. Return TRUE if @b is a valid NTFS boot sector or FALSE otherwise.
|
||||
* If silent is FALSE, progress output will be output to stdout. If silent is
|
||||
* TRUE no output to stdout will occur. Errors/warnings to stderr will occur
|
||||
* disregarding the value of silent (but only if configure was run with
|
||||
* --enable-debug).
|
||||
*/
|
||||
extern BOOL is_boot_sector_ntfs(const NTFS_BOOT_SECTOR *b, const BOOL silent);
|
||||
extern int parse_ntfs_boot_sector(ntfs_volume *vol, const NTFS_BOOT_SECTOR *b);
|
||||
|
||||
#endif /* defined _NTFS_BOOTSECT_H */
|
||||
|
Loading…
Reference in New Issue