File:  [RetroPC.NET] / np2 / common / textfile.h
Revision 1.2: download - view: text, annotated - select for diffs
Sat Nov 8 03:31:24 2003 JST (21 years, 11 months ago) by yui
Branches: MAIN
CVS tags: VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, VER_0_73, VER_0_72, VER_0_71, HEAD
fix file handle pointer (for 64bit support compiler) (T.Yui)


typedef struct {
	long	fh;
	long	fhpos;
	UINT	buffersize;
	UINT	flag;
	UINT	pos;
	UINT	remain;
} _TEXTFILE, *TEXTFILEH;


#ifdef __cplusplus
extern "C" {
#endif

TEXTFILEH textfile_open(const char *filename, UINT buffersize);
BOOL textfile_read(TEXTFILEH fh, char *buffer, UINT size);
void textfile_close(TEXTFILEH fh);

#ifdef __cplusplus
}
#endif


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