Subversion Repositories Games.Carmageddon

Rev

Rev 18 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef _DRFILE_H_
  2. #define _DRFILE_H_
  3.  
  4. #include "brender/br_types.h"
  5. #include "dr_types.h"
  6.  
  7. extern br_filesystem gFilesystem;
  8. extern br_filesystem* gOld_file_system;
  9.  
  10. void* DRStdioOpenRead(char* name, br_size_t n_magics, br_mode_test_cbfn* identify, int* mode_result);
  11.  
  12. void* DRStdioOpenWrite(char* name, int mode);
  13.  
  14. void DRStdioClose(void* f);
  15.  
  16. br_size_t DRStdioRead(void* buf, br_size_t size, unsigned int n, void* f);
  17.  
  18. br_size_t DRStdioWrite(void* buf, br_size_t size, unsigned int n, void* f);
  19.  
  20. void InstallDRFileCalls(void);
  21.  
  22. #endif
  23.