Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | #ifndef _DRFILE_H_ |
2 | #define _DRFILE_H_ |
||
3 | |||
4 | #include "dr_types.h" |
||
5 | |||
6 | extern br_filesystem gFilesystem; |
||
7 | extern br_filesystem* gOld_file_system; |
||
8 | |||
9 | void* DRStdioOpenRead(char* name, br_size_t n_magics, br_mode_test_cbfn* identify, int* mode_result); |
||
10 | |||
11 | void* DRStdioOpenWrite(char* name, int mode); |
||
12 | |||
13 | void DRStdioClose(void* f); |
||
14 | |||
15 | br_size_t DRStdioRead(void* buf, br_size_t size, unsigned int n, void* f); |
||
16 | |||
17 | br_size_t DRStdioWrite(void* buf, br_size_t size, unsigned int n, void* f); |
||
18 | |||
19 | void InstallDRFileCalls(void); |
||
20 | |||
21 | #endif |