mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-05 20:50:43 +00:00
d6b10c99aa
This is pretty much just changing [] to * and moving [N] to the other side of the variable name.
25 lines
932 B
C
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
|