| 1 |
/** |
| 2 |
* Free fastfile.cpp replacement prototypes |
| 3 |
|
| 4 |
* Copyright (C) 2003 Shawn Bett |
| 5 |
* Copyright (C) 2007, 2009 Sylvain Beucler |
| 6 |
|
| 7 |
* This file is part of GNU FreeDink |
| 8 |
|
| 9 |
* GNU FreeDink is free software; you can redistribute it and/or |
| 10 |
* modify it under the terms of the GNU General Public License as |
| 11 |
* published by the Free Software Foundation; either version 3 of the |
| 12 |
* License, or (at your option) any later version. |
| 13 |
|
| 14 |
* GNU FreeDink is distributed in the hope that it will be useful, but |
| 15 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 |
* General Public License for more details. |
| 18 |
|
| 19 |
* You should have received a copy of the GNU General Public License |
| 20 |
* along with this program. If not, see |
| 21 |
* <http://www.gnu.org/licenses/>. |
| 22 |
*/ |
| 23 |
|
| 24 |
#ifndef _FASTFILE_H |
| 25 |
#define _FASTFILE_H |
| 26 |
|
| 27 |
struct FF_Handle; |
| 28 |
|
| 29 |
extern int FastFileInit(char *filename, int max_handles); |
| 30 |
extern void FastFileFini(void); |
| 31 |
extern struct FF_Handle* FastFileOpen(char *name); |
| 32 |
extern int FastFileClose(struct FF_Handle* pfe); |
| 33 |
extern SDL_RWops* FastFileLock(struct FF_Handle* pfe); |
| 34 |
extern int FastFileLen(void *i); |
| 35 |
|
| 36 |
#endif |