whitespace and include guards

2002/07/02 23:47:10-00:00 !antona
Global replacement of __[su]{8,16,32,64} with [su]{8,16,32,64} and layout.h define it.

2002/06/04 12:12:42-00:00 !antona
Final POSIXification of disk_io functions. (famous last words)

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/15 18:39:36-00:00 !antona
Cleanup some mistakes.

2002/04/15 17:51:26-00:00 !antona
read/write_mft_record(s) are here

2002/04/15 00:45:28-00:00 !antona
Update headers to reflect changes in libntfs.

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 14:29:11-00:00 !antona
Almost fixed compilaton. Remember to declare a struct type with
struct NAME { declaration }; rather than the bogus struct { declaration NAME };
then can use typedef NAME othername; on a forward declaration of NAME
(struct NAME;) and all is fine...

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/26 04:30:27-00:00 !antona
Cleanup and fixes.

2001/01/26 00:34:35-00:00 !antona
Inconsisteny fixes.

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.

2001/01/24 18:44:31-00:00 !antona
Added disk_io.h header file.

(Logical change 1.5)
edge.strict_endians
!flatcap 2002-08-22 18:09:47 +00:00
parent 10a361fafa
commit c5d4f9c9bc
1 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,43 @@
/*
* $Id$
*
* disk_io.h - Exports for disk io. 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_DISK_IO_H
#define _NTFS_DISK_IO_H
#include "volume.h"
extern s64 ntfs_pread(const int fd, const s64 pos, s64 count, const void *b);
extern s64 ntfs_pwrite(const int fd, const s64 pos, s64 count, const void *b);
extern s64 ntfs_mst_pread(const int fd, const s64 pos, s64 count,
const u32 bksize, const void *b);
extern s64 ntfs_mst_pwrite(const int fd, const s64 pos, s64 count,
const u32 bksize, const void *b);
extern s64 ntfs_read_clusters(const ntfs_volume *vol, const s64 lcn,
const s64 count, const void *b);
extern s64 ntfs_write_clusters(const ntfs_volume *vol, const s64 lcn,
const s64 count, const void *b);
#endif /* defined _NTFS_DISK_IO_H */