1/*==========================================================================
2 *
3 *  Copyright (C) 1995-1996 Microsoft Corporation.  All Rights Reserved.
4 *
5 *  File:       fastfile.h
6 *  Content:    Definitions for fastfile access.
7 *
8 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10 * WARRANTIES OF MERCHANTBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11 *
12 ***************************************************************************/
13
14typedef LPVOID  HFASTFILE;
15
16extern BOOL FastFileInit( LPSTR fname, int max_handles );
17extern void FastFileFini( void );
18extern HFASTFILE FastFileOpen( LPSTR name );
19extern BOOL FastFileClose( HFASTFILE pfe );
20extern BOOL FastFileRead( HFASTFILE pfh, LPVOID ptr, int size );
21extern BOOL FastFileSeek( HFASTFILE pfe, int off, int how );
22extern long FastFileTell( HFASTFILE pfe );
23extern LPVOID FastFileLock( HFASTFILE pfe, int off, int len );
24extern BOOL FastFileUnlock( HFASTFILE pfe, int off, int len );
25