Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | pmbaty | 1 | #ifndef _BRSTDFILE_H_ |
2 | #define _BRSTDFILE_H_ |
||
3 | |||
4 | #include "brender/br_types.h" |
||
5 | |||
6 | extern br_filesystem* _BrDefaultFilesystem; |
||
7 | |||
8 | br_uint_32 BrStdioAttributes(void); |
||
9 | |||
10 | void* BrStdioOpenRead(char* name, br_size_t n_magics, br_mode_test_cbfn* identify, int* mode_result); |
||
11 | |||
12 | void* BrStdioOpenWrite(char* name, int mode); |
||
13 | |||
14 | void BrStdioClose(void* f); |
||
15 | |||
16 | int BrStdioEof(void* f); |
||
17 | |||
18 | int BrStdioGetChar(void* f); |
||
19 | |||
20 | void BrStdioPutChar(int c, void* f); |
||
21 | |||
22 | br_size_t BrStdioRead(void* buf, br_size_t size, unsigned int n, void* f); |
||
23 | |||
24 | br_size_t BrStdioWrite(void* buf, br_size_t size, unsigned int n, void* f); |
||
25 | |||
26 | br_size_t BrStdioGetLine(char* buf, br_size_t buf_len, void* f); |
||
27 | |||
28 | void BrStdioPutLine(char* buf, void* f); |
||
29 | |||
30 | void BrStdioAdvance(br_size_t count, void* f); |
||
31 | |||
32 | #endif |