NXEngine v1.0.0.6
[NXEngine.git] / common / misc.fdh
blob553365a01cb90d94924d9aea6fe8d702d8355ced
1 //hash:dacee9eb
2 //automatically generated by Makegen
4 /* located in platform.cpp */
6 //------------------[referenced from common/misc.cpp]----------------//
7 FILE *fileopen(const char *fname, const char *mode);
10 /* located in common/stat.cpp */
12 //------------------[referenced from common/misc.cpp]----------------//
13 void stat(const char *fmt, ...);
14 void staterr(const char *fmt, ...);
17 /* located in common/misc.cpp */
19 //------------------[referenced from common/misc.cpp]----------------//
20 uint16_t fgeti(FILE *fp);
21 uint32_t fgetl(FILE *fp);
22 void fputi(uint16_t word, FILE *fp);
23 void fputl(uint32_t word, FILE *fp);
24 uint16_t fgeti(FILE *fp);
25 uint32_t fgetl(FILE *fp);
26 void fputi(uint16_t word, FILE *fp);
27 void fputl(uint32_t word, FILE *fp);
28 double fgetfloat(FILE *fp);
29 void fputfloat(double q, FILE *fp);
30 void freadstring(FILE *fp, char *buf, int max);
31 void fputstring(const char *buf, FILE *fp);
32 void fputstringnonull(const char *buf, FILE *fp);
33 bool fverifystring(FILE *fp, const char *str);
34 void fgetcsv(FILE *fp, char *str, int maxlen);
35 int fgeticsv(FILE *fp);
36 double fgetfcsv(FILE *fp);
37 void fgetline(FILE *fp, char *str, int maxlen);
38 int filesize(FILE *fp);
39 bool file_exists(const char *fname);
40 char *stprintf(const char *fmt, ...);
41 int random(int min, int max);
42 uint32_t getrand();
43 void seedrand(uint32_t newseed);
44 bool strbegin(const char *bigstr, const char *smallstr);
45 bool strcasebegin(const char *bigstr, const char *smallstr);
46 int count_string_list(const char *list[]);
47 char *GetStaticStr(void);
48 void maxcpy(char *dst, const char *src, int maxlen);
49 void fresetboolean(void);
50 char fbooleanread(FILE *fp);
51 void fbooleanwrite(char bit, FILE *fp);
52 void fbooleanflush(FILE *fp);