<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>/include/external/physfsrwops.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3-rc2 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>/include/external/physfsrwops.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span> 00002 <span class="comment"> * This code provides a glue layer between PhysicsFS and Simple Directmedia</span> 00003 <span class="comment"> * Layer's (SDL) RWops i/o abstraction.</span> 00004 <span class="comment"> *</span> 00005 <span class="comment"> * License: this code is public domain. I make no warranty that it is useful,</span> 00006 <span class="comment"> * correct, harmless, or environmentally safe.</span> 00007 <span class="comment"> *</span> 00008 <span class="comment"> * This particular file may be used however you like, including copying it</span> 00009 <span class="comment"> * verbatim into a closed-source project, exploiting it commercially, and</span> 00010 <span class="comment"> * removing any trace of my name from the source (although I hope you won't</span> 00011 <span class="comment"> * do that). I welcome enhancements and corrections to this file, but I do</span> 00012 <span class="comment"> * not require you to send me patches if you make changes.</span> 00013 <span class="comment"> *</span> 00014 <span class="comment"> * Unless otherwise stated, the rest of PhysicsFS falls under the GNU Lesser</span> 00015 <span class="comment"> * General Public License: http://www.gnu.org/licenses/lgpl.txt</span> 00016 <span class="comment"> *</span> 00017 <span class="comment"> * SDL falls under the LGPL, too. You can get SDL at http://www.libsdl.org/</span> 00018 <span class="comment"> *</span> 00019 <span class="comment"> * This file was written by Ryan C. Gordon. (icculus@clutteredmind.org).</span> 00020 <span class="comment"> */</span> 00021 00022 <span class="preprocessor">#ifndef _INCLUDE_PHYSFSRWOPS_H_</span> 00023 <span class="preprocessor"></span><span class="preprocessor">#define _INCLUDE_PHYSFSRWOPS_H_</span> 00024 <span class="preprocessor"></span> 00025 <span class="preprocessor">#include <physfs.h></span> 00026 <span class="preprocessor">#include <SDL.h></span> 00027 00038 SDL_RWops *PHYSFSRWOPS_openRead(<span class="keyword">const</span> <span class="keywordtype">char</span> *fname); 00039 00050 SDL_RWops *PHYSFSRWOPS_openWrite(<span class="keyword">const</span> <span class="keywordtype">char</span> *fname); 00051 00062 SDL_RWops *PHYSFSRWOPS_openAppend(<span class="keyword">const</span> <span class="keywordtype">char</span> *fname); 00063 00074 SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle); 00075 00076 00077 <span class="preprocessor">#endif </span><span class="comment">/* include-once blocker */</span> 00078 00079 <span class="comment">/* end of physfsrwops.h ... */</span> 00080 </pre></div><hr><address style="align: right;"><small>Generated on Tue Jan 28 16:31:28 2003 for ZEngine by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc2 </small></address> </body> </html>