Merge branch 'master' of git://github.com/BTAxis/naev into testmission
[naev.git] / src / ndata.h
blob1756a75636f307ed12bdf9ddd97124657f2cbb3a
1 /*
2 * See Licensing and Copyright notice in naev.h
3 */
6 #ifndef NDATA_H
7 # define NDATA_H
10 #include <stdint.h>
12 #include "SDL.h"
16 * ndata open/close
18 int ndata_open (void);
19 void ndata_close (void);
22 * General.
24 int ndata_check( const char* path );
25 int ndata_setPath( const char* path );
26 const char* ndata_getPath (void);
27 const char* ndata_name (void);
30 * Individual file functions.
32 void* ndata_read( const char* filename, uint32_t *filesize );
33 char** ndata_list( const char *path, uint32_t* nfiles );
37 * RWops.
39 SDL_RWops *ndata_rwops( const char* filename );
42 #endif /* NDATA_H */