|
|
| version 1.6, 2004/01/27 10:55:47 | version 1.8, 2005/03/05 14:09:37 |
|---|---|
| Line 1 | Line 1 |
| #ifndef NP2_X11_DOSIO_H__ | #ifndef NP2_X11_DOSIO_H__ |
| #define NP2_X11_DOSIO_H__ | #define NP2_X11_DOSIO_H__ |
| #include <dirent.h> | |
| typedef FILE * FILEH; | typedef FILE * FILEH; |
| #define FILEH_INVALID NULL | #define FILEH_INVALID NULL |
| typedef void * FLISTH; | |
| #define FLISTH_INVALID NULL | |
| #define FSEEK_SET SEEK_SET | #define FSEEK_SET SEEK_SET |
| #define FSEEK_CUR SEEK_CUR | #define FSEEK_CUR SEEK_CUR |
| #define FSEEK_END SEEK_END | #define FSEEK_END SEEK_END |
| Line 40 typedef struct { | Line 39 typedef struct { |
| } DOSTIME; | } DOSTIME; |
| typedef struct { | typedef struct { |
| char path[MAX_PATH]; | |
| DIR *hdl; | |
| } _FLISTH, *FLISTH; | |
| #define FLISTH_INVALID NULL | |
| typedef struct { | |
| UINT caps; | UINT caps; |
| UINT32 size; | UINT32 size; |
| UINT32 attr; | UINT32 attr; |
| Line 87 void file_listclose(FLISTH hdl); | Line 92 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); |
| char *file_getname(char *path); | char *file_getname(const char *path); |
| void file_cutname(char *path); | void file_cutname(char *path); |
| char *file_getext(char *path); | char *file_getext(const char *path); |
| void file_cutext(char *path); | void file_cutext(char *path); |
| void file_cutseparator(char *path); | void file_cutseparator(char *path); |
| void file_setseparator(char *path, int maxlen); | void file_setseparator(char *path, int maxlen); |