istereo2

view src/assman.h @ 28:74b50b538858

added nexus7 device id for ad testing
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 05 Oct 2015 17:16:31 +0300
parents
children
line source
1 #ifndef ASSMAN_H_
2 #define ASSMAN_H_
4 #include <stdlib.h>
6 typedef void ass_file;
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
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);
17 size_t ass_fread(void *buf, size_t size, size_t count, ass_file *fp);
19 /* convenience functions, derived from the above */
20 int ass_fgetc(ass_file *fp);
21 char *ass_fgets(char *s, int size, ass_file *fp);
23 #ifdef __cplusplus
24 }
25 #endif
27 #endif /* ASSMAN_H_ */