Rev 18 | 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 | |||
20 | pmbaty | 4 | #include "brender/br_types.h" |
1 | pmbaty | 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 |