Diff for /np2/x11/dosio.h between versions 1.8 and 1.11

version 1.8, 2005/03/05 14:09:37 version 1.11, 2011/01/15 19:16:58
Line 3 Line 3
   
 #include <dirent.h>  #include <dirent.h>
   
   G_BEGIN_DECLS
   
 typedef FILE *                  FILEH;  typedef FILE *                  FILEH;
 #define FILEH_INVALID           NULL  #define FILEH_INVALID           NULL
   
Line 54  typedef struct { Line 56  typedef struct {
 } FLINFO;  } FLINFO;
   
   
 #ifdef  __cplusplus  /* DOSIO:ñö¡Öëõ¡¼åá¥çì¼Ìç£ù */
 extern "C" {  
 #endif  
   
 /* DOSIO:´Ø¿ô¤Î½àÈ÷ */  
 void dosio_init(void);  void dosio_init(void);
 void dosio_term(void);  void dosio_term(void);
   
 /* ¡¦¥æ¡¦¡£¡¦¡¢¡¦öÃà¼*/  /* ¥Õ¥¡¥¤¥ëÁàºî */
 FILEH file_open(const char *path);  FILEH file_open(const OEMCHAR *path);
 FILEH file_open_rb(const char *path);  FILEH file_open_rb(const OEMCHAR *path);
 FILEH file_create(const char *path);  FILEH file_create(const OEMCHAR *path);
 long file_seek(FILEH handle, long pointer, int method);  long file_seek(FILEH handle, long pointer, int method);
 UINT file_read(FILEH handle, void *data, UINT length);  UINT file_read(FILEH handle, void *data, UINT length);
 UINT file_write(FILEH handle, const void *data, UINT length);  UINT file_write(FILEH handle, const void *data, UINT length);
 short file_close(FILEH handle);  short file_close(FILEH handle);
 UINT file_getsize(FILEH handle);  UINT file_getsize(FILEH handle);
 short file_getdatetime(FILEH handle, DOSDATE *dosdate, DOSTIME *dostime);  short file_getdatetime(FILEH handle, DOSDATE *dosdate, DOSTIME *dostime);
 short file_delete(const char *path);  short file_delete(const OEMCHAR *path);
 short file_attr(const char *path);  short file_attr(const OEMCHAR *path);
 short file_dircreate(const char *path);  short file_dircreate(const OEMCHAR *path);
   
 /* ¥«¥ì¥ó¥È¥Õ¥¡¥¤¥ëÁàºî */  /* ¥«¥ì¥ó¥È¥Õ¥¡¥¤¥ëÁàºî */
 void file_setcd(const char *exepath);  void file_setcd(const OEMCHAR *exepath);
 char *file_getcd(const char *sjis);  char *file_getcd(const OEMCHAR *sjis);
 FILEH file_open_c(const char *sjis);  FILEH file_open_c(const OEMCHAR *sjis);
 FILEH file_open_rb_c(const char *sjis);  FILEH file_open_rb_c(const OEMCHAR *sjis);
 FILEH file_create_c(const char *sjis);  FILEH file_create_c(const OEMCHAR *sjis);
 short file_delete_c(const char *sjis);  short file_delete_c(const OEMCHAR *sjis);
 short file_attr_c(const char *sjis);  short file_attr_c(const OEMCHAR *sjis);
   
 FLISTH file_list1st(const char *dir, FLINFO *fli);  FLISTH file_list1st(const OEMCHAR *dir, FLINFO *fli);
 BOOL file_listnext(FLISTH hdl, FLINFO *fli);  BOOL file_listnext(FLISTH hdl, FLINFO *fli);
 void file_listclose(FLISTH hdl);  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(const char *path);  OEMCHAR *file_getname(const OEMCHAR *path);
 void file_cutname(char *path);  void file_cutname(OEMCHAR *path);
 char *file_getext(const char *path);  OEMCHAR *file_getext(const OEMCHAR *path);
 void file_cutext(char *path);  void file_cutext(OEMCHAR *path);
 void file_cutseparator(char *path);  void file_cutseparator(OEMCHAR *path);
 void file_setseparator(char *path, int maxlen);  void file_setseparator(OEMCHAR *path, int maxlen);
   
 #ifdef  __cplusplus  G_END_DECLS
 };  
 #endif  
   
 #endif  /* NP2_X11_DOSIO_H__ */  #endif  /* NP2_X11_DOSIO_H__ */

Removed from v.1.8  
changed lines
  Added in v.1.11


RetroPC.NET-CVS <cvs@retropc.net>