quakeforge/ruamoko/include/qfile.h
Bill Currie d6b10c99aa Most, if not all, of the fixes needed to get qwaq building.
This is pretty much just changing [] to * and moving [N] to the other side
of the variable name.
2011-02-07 22:16:16 +09:00

25 lines
932 B
C

#ifndef __ruamoko_qfile_h
#define __ruamoko_qfile_h
struct _qfile_t {};
typedef struct _qfile_t *QFile;
@extern integer Qrename (string old, string new);
@extern integer Qremove (string path);
@extern QFile Qopen (string path, string mode);
@extern void Qclose (QFile file);
@extern string Qgetline (QFile file);
@extern string Qreadstring (QFile file, integer len);
@extern integer Qread (QFile file, void *buf, integer count);
@extern integer Qwrite (QFile file, void *buf, integer count);
@extern integer Qputs (QFile file, string str);
//@extern integer Qgets (QFile file, void *buf, integer count);
@extern integer Qgetc (QFile file);
@extern integer Qputc (QFile file, integer c);
@extern integer Qseek (QFile file, integer offset, integer whence);
@extern integer Qtell (QFile file);
@extern integer Qflush (QFile file);
@extern integer Qeof (QFile file);
@extern integer Qfilesize (QFile file);
#endif//__ruamoko_qfile_h