|
|
| version 1.3, 2005/02/07 14:46:08 | version 1.6, 2005/03/20 06:09:16 |
|---|---|
| Line 1 | Line 1 |
| typedef struct { | typedef void *TEXTFILEH; |
| long fh; | |
| long fhpos; | |
| UINT buffersize; | |
| UINT flag; | |
| UINT pos; | |
| UINT remain; | |
| } _TEXTFILE, *TEXTFILEH; | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| TEXTFILEH textfile_open(const OEMCHAR *filename, UINT buffersize); | TEXTFILEH textfile_open(const OEMCHAR *filename, UINT buffersize); |
| BRESULT textfile_read(TEXTFILEH fh, char *buffer, UINT size); | TEXTFILEH textfile_create(const OEMCHAR *filename, UINT buffersize); |
| BRESULT textfile_read(TEXTFILEH fh, OEMCHAR *buffer, UINT size); | |
| BRESULT textfile_write(TEXTFILEH fh, const OEMCHAR *buffer); | |
| void textfile_close(TEXTFILEH fh); | void textfile_close(TEXTFILEH fh); |
| #ifdef __cplusplus | #ifdef __cplusplus |