Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

physfsrwops.h

Go to the documentation of this file.
00001 /*
00002  * This code provides a glue layer between PhysicsFS and Simple Directmedia
00003  *  Layer's (SDL) RWops i/o abstraction.
00004  *
00005  * License: this code is public domain. I make no warranty that it is useful,
00006  *  correct, harmless, or environmentally safe.
00007  *
00008  * This particular file may be used however you like, including copying it
00009  *  verbatim into a closed-source project, exploiting it commercially, and
00010  *  removing any trace of my name from the source (although I hope you won't
00011  *  do that). I welcome enhancements and corrections to this file, but I do
00012  *  not require you to send me patches if you make changes.
00013  *
00014  * Unless otherwise stated, the rest of PhysicsFS falls under the GNU Lesser
00015  *  General Public License: http://www.gnu.org/licenses/lgpl.txt
00016  *
00017  * SDL falls under the LGPL, too. You can get SDL at http://www.libsdl.org/
00018  *
00019  *  This file was written by Ryan C. Gordon. (icculus@clutteredmind.org).
00020  */
00021 
00022 #ifndef _INCLUDE_PHYSFSRWOPS_H_
00023 #define _INCLUDE_PHYSFSRWOPS_H_
00024 
00025 #include "physfs.h"
00026 #include "SDL.h"
00027 
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031 
00042 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
00043 
00054 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
00055 
00066 __EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
00067 
00078 __EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
00079 
00080 #ifdef __cplusplus
00081 }
00082 #endif
00083 
00084 #endif /* include-once blocker */
00085 
00086 /* end of physfsrwops.h ... */
00087 

Generated on Tue Jun 24 01:27:50 2008 for Advanced Strategic Command by  doxygen 1.4.2