quakeforge/ruamoko/include/qfs.h

22 lines
626 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;
2011-02-13 12:25:36 +00:00
string *list;
};
2011-02-13 12:25:36 +00:00
typedef struct _qfslist_t *QFSlist;
2004-04-20 23:01:54 +00:00
@extern QFile QFS_Open (string path, string mode);
@extern QFile QFS_WOpen (string path, integer zip);
@extern integer QFS_Rename (string old, string new);
2011-02-13 12:25:36 +00:00
@extern void *QFS_LoadFile (string filename);
@extern QFile QFS_OpenFile (string filename);
2011-02-13 12:25:36 +00:00
@extern integer QFS_WriteFile (string filename, void *buf, integer count);
@extern QFSlist QFS_Filelist (string path, string ext, integer strip);
@extern void QFS_FilelistFree (QFSlist list);
2004-04-20 23:01:54 +00:00
#endif//__ruamoko_qfs_h