quakeforge/ruamoko/include/qfs.h

22 lines
637 B
C
Raw Normal View History

2004-04-20 23:01:54 +00:00
#ifndef __ruamoko_qfs_h
#define __ruamoko_qfs_h
#include "qfile.h"
struct _qfslist_t = {
integer count;
string []list;
};
2004-04-20 23:01:54 +00:00
typedef struct _qfslist_t [] QFSlist;
2006-12-20 12:08:57 +00:00
@extern QFile (string path, string mode) QFS_Open;
@extern QFile (string path, integer zip) QFS_WOpen;
2004-04-20 23:01:54 +00:00
@extern integer (string old, string new) QFS_Rename;
@extern (void []) (string filename) QFS_LoadFile;
@extern QFile (string filename) QFS_OpenFile;
@extern integer (string filename, void [] buf, integer count) QFS_WriteFile;
@extern QFSlist (string path, string ext, integer strip) QFS_Filelist;
@extern void (QFSlist list) QFS_FilelistFree;
#endif//__ruamoko_qfs_h