1 /* 2 file_io.c 3 4 file handling 5 6 Copyright (C) Chris Ison 2001-2011 7 Copyright (C) Bret Curtis 2013-2014 8 9 This file is part of WildMIDI. 10 11 WildMIDI is free software: you can redistribute and/or modify the player 12 under the terms of the GNU General Public License and you can redistribute 13 and/or modify the library under the terms of the GNU Lesser General Public 14 License as published by the Free Software Foundation, either version 3 of 15 the licenses, or(at your option) any later version. 16 17 WildMIDI is distributed in the hope that it will be useful, but WITHOUT 18 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 19 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License and 20 the GNU Lesser General Public License for more details. 21 22 You should have received a copy of the GNU General Public License and the 23 GNU Lesser General Public License along with WildMIDI. If not, see 24 <http://www.gnu.org/licenses/>. 25 */ 26 27 #ifndef __FILE_IO_H 28 #define __FILE_IO_H 29 30 #define WM_MAXFILESIZE 0x1fffffff 31 extern unsigned char *_WM_BufferFile (const char *filename, unsigned long int *size, bool mainfile = false); 32 33 #endif /* __FILE_IO_H */ 34