Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/external/physfsrwops.h

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 
00038 SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
00039 
00050 SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
00051 
00062 SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
00063 
00074 SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
00075 
00076 
00077 #endif /* include-once blocker */
00078 
00079 /* end of physfsrwops.h ... */
00080 

Generated on Sun Jun 29 14:13:50 2003 for ZEngine by doxygen1.3