using a texture for the grid is better
[vrfileman] / src / assman.h
1 #ifndef ASSMAN_H_
2 #define ASSMAN_H_
3
4 #include <stdlib.h>
5
6 typedef void ass_file;
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 ass_file *ass_fopen(const char *fname, const char *mode);
13 void ass_fclose(ass_file *fp);
14 long ass_fseek(ass_file *fp, long offs, int whence);
15 long ass_ftell(ass_file *fp);
16 int ass_feof(ass_file *fp);
17
18 size_t ass_fread(void *buf, size_t size, size_t count, ass_file *fp);
19 int ass_ungetc(int c, ass_file *fp);
20
21 /* convenience functions, derived from the above */
22 int ass_fgetc(ass_file *fp);
23 char *ass_fgets(char *s, int size, ass_file *fp);
24
25 #ifdef __cplusplus
26 }
27 #endif
28
29 #endif  /* ASSMAN_H_ */