|
|
| version 1.3, 2003/11/17 13:17:16 | version 1.5, 2004/01/13 16:30:21 |
|---|---|
| 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 * FLISTH; |
| #define FSEEK_CUR SEEK_CUR | #define FLISTH_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 34 enum { | Line 37 enum { |
| FILEATTR_ARCHIVE = 0x20 | FILEATTR_ARCHIVE = 0x20 |
| }; | }; |
| enum { | |
| FLICAPS_SIZE = (1 << 0), | |
| FLICAPS_ATTR = (1 << 1), | |
| FLICAPS_DATE = (1 << 2), | |
| FLICAPS_TIME = (1 << 3) | |
| }; | |
| typedef struct { | typedef struct { |
| UINT16 year; /* cx */ | UINT16 year; /* cx */ |
| BYTE month; /* dh */ | BYTE month; /* dh */ |
| Line 46 typedef struct { | Line 56 typedef struct { |
| BYTE second; /* dh */ | BYTE second; /* dh */ |
| } DOSTIME; | } DOSTIME; |
| typedef struct { | |
| UINT caps; | |
| UINT32 size; | |
| UINT32 attr; | |
| DOSDATE date; | |
| DOSTIME time; | |
| char path[MAX_PATH]; | |
| } FLINFO; | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| Line 78 FILEH file_create_c(const char *sjis); | Line 97 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); |
| FLISTH file_list1st(const char *dir, FLINFO *fli); | |
| BOOL file_listnext(FLISTH hdl, FLINFO *fli); | |
| void file_listclose(FLISTH hdl); | |
| void file_cpyname(char *dst, const char *src, int maxlen); | 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); | BOOL file_cmpname(const char *path, const char *sjis); |