|
|
| version 1.1, 2003/11/21 06:51:12 | version 1.2, 2003/11/23 09:59:10 |
|---|---|
| Line 16 enum { // ver0.28 | Line 16 enum { // ver0.28 |
| FTYPE_MIMPI // mimpi defaultファイル | FTYPE_MIMPI // mimpi defaultファイル |
| }; | }; |
| typedef FILE * FILEH; | typedef FILE * FILEH; |
| #define FILEH_INVALID NULL | #define FILEH_INVALID NULL |
| #define FILEFINDH long | |
| #if defined(WIN32) | |
| #define FILEFINDH_INVALID -1 | |
| #else | |
| #define FILEFINDH_INVALID 0 | |
| #endif | |
| #define FSEEK_SET SEEK_SET | #define FSEEK_SET SEEK_SET |
| #define FSEEK_CUR SEEK_CUR | #define FSEEK_CUR SEEK_CUR |
| Line 44 typedef struct { | Line 50 typedef struct { |
| BYTE second; /* dh */ | BYTE second; /* dh */ |
| } DOSTIME; | } DOSTIME; |
| typedef struct { | |
| char path[MAX_PATH]; | |
| UINT32 size; | |
| UINT32 attr; | |
| } FILEFINDT; | |
| #ifdef __cplusplus | |
| #ifdef __cplusplus | |
| extern "C" { | extern "C" { |
| #endif | #endif |
| Line 76 FILEH file_create_c(const char *path); | Line 88 FILEH file_create_c(const char *path); |
| short file_delete_c(const char *path); | short file_delete_c(const char *path); |
| short file_attr_c(const char *path); | short file_attr_c(const char *path); |
| FILEFINDH file_find1st(const char *dir, FILEFINDT *fft); | |
| BOOL file_findnext(FILEFINDH hdl, FILEFINDT *fft); | |
| void file_findclose(FILEFINDH hdl); | |
| #define file_cpyname(p, n, m) milstr_ncpy(p, n, m) | #define file_cpyname(p, n, m) milstr_ncpy(p, n, m) |
| #if defined(WIN32) | #if defined(WIN32) |