mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
4bd37e7b64
Doxygen hates the QuakeC-style function prototypes we use, so switch to the C-style prototypes.
25 lines
940 B
C
25 lines
940 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
|