|
|
| version 1.2, 2003/11/16 16:43:45 | version 1.4, 2003/12/19 16:08:01 |
|---|---|
| Line 18 enum { | Line 18 enum { |
| FTYPE_MIMPI // mimpi defaultファイル | FTYPE_MIMPI // mimpi defaultファイル |
| }; | }; |
| typedef FILE* FILEH; | typedef FILE* FILEH; |
| #define FILEH_INVALID NULL | #define FILEH_INVALID NULL |
| #define FSEEK_SET SEEK_SET | typedef void* FILEFINDH; |
| #define FSEEK_CUR SEEK_CUR | #define FILEFINDH_INVALID NULL |
| #define FSEEK_END SEEK_END | |
| #define FSEEK_SET SEEK_SET | |
| #define FSEEK_CUR SEEK_CUR | |
| #define FSEEK_END SEEK_END | |
| enum { | enum { |
| FILEATTR_READONLY = 0x01, | FILEATTR_READONLY = 0x01, |
| Line 46 typedef struct { | Line 49 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" { |
| Line 78 FILEH file_create_c(const char *sjis); | Line 87 FILEH file_create_c(const char *sjis); |
| short file_delete_c(const char *sjis); | short file_delete_c(const char *sjis); |
| short file_attr_c(const char *sjis); | short file_attr_c(const char *sjis); |
| #define file_cpyname(a, b, c) milstr_ncpy(a, b, c) | FILEFINDH file_find1st(const char *dir, FILEFINDT *fft); |
| #define file_cmpname(a, b) milstr_cmp(a, b) | BOOL file_findnext(FILEFINDH hdl, FILEFINDT *fft); |
| void file_findclose(FILEFINDH hdl); | |
| void file_cpyname(char *dst, const char *src, int maxlen); | |
| void file_catname(char *path, const char *sjis, int maxlen); | void file_catname(char *path, const char *sjis, int maxlen); |
| BOOL file_cmpname(const char *path, const char *sjis); | |
| char *file_getname(char *path); | char *file_getname(char *path); |
| void file_cutname(char *path); | void file_cutname(char *path); |
| char *file_getext(char *path); | char *file_getext(char *path); |