src/core/android/SDL_android.h
changeset 5582 1281a3f1f0a6
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
--- a/src/core/android/SDL_android.h	Wed Jul 27 18:07:40 2011 -0400
+++ b/src/core/android/SDL_android.h	Fri Jul 29 16:51:25 2011 -0400
@@ -39,6 +39,14 @@
 extern void Android_JNI_WriteAudioBuffer();
 extern void Android_JNI_CloseAudioDevice();
 
+#include "SDL_rwops.h"
+
+int Android_JNI_FileOpen(SDL_RWops* ctx, const char* fileName, const char* mode);
+long Android_JNI_FileSeek(SDL_RWops* ctx, long offset, int whence);
+size_t Android_JNI_FileRead(SDL_RWops* ctx, void* buffer, size_t size, size_t maxnum);
+size_t Android_JNI_FileWrite(SDL_RWops* ctx, const void* buffer, size_t size, size_t num);
+int Android_JNI_FileClose(SDL_RWops* ctx);
+
 /* Ends C function definitions when using C++ */
 #ifdef __cplusplus
 /* *INDENT-OFF* */