janwas
836cd08d5e
also: - renamed wdll to delay_load, and wdll_ver to dll_ver - removed empty wcpu This was SVN commit r3751.
33 lines
1.0 KiB
C
33 lines
1.0 KiB
C
/**
|
|
* =========================================================================
|
|
* File : file_io.h
|
|
* Project : 0 A.D.
|
|
* Description : provide fast I/O via POSIX aio and splitting into blocks.
|
|
*
|
|
* @author Jan.Wassenberg@stud.uni-karlsruhe.de
|
|
* =========================================================================
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 2004-2006 Jan Wassenberg
|
|
*
|
|
* Redistribution and/or modification are also permitted under the
|
|
* terms of the GNU General Public License as published by the
|
|
* Free Software Foundation (version 2 or later, at your option).
|
|
*
|
|
* This program 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.
|
|
*/
|
|
|
|
#ifndef FILE_IO_H__
|
|
#define FILE_IO_H__
|
|
|
|
extern void file_io_init();
|
|
extern void file_io_shutdown();
|
|
|
|
extern LibError file_io_get_buf(FileIOBuf* pbuf, size_t size,
|
|
const char* atom_fn, uint file_flags, FileIOCB cb);
|
|
|
|
#endif // #ifndef FILE_IO_H__
|