Mercurial > hg > th-libs
comparison th_file.h @ 196:5c7de25666e7
Move th_{fread,fwrite}_{str,byte}() functions to th_file module.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 11 Feb 2016 17:52:35 +0200 |
parents | b256db93cf25 |
children | 5a31e1f766be |
comparison
equal
deleted
inserted
replaced
195:a16e8272bdda | 196:5c7de25666e7 |
---|---|
38 char * th_get_config_dir(); | 38 char * th_get_config_dir(); |
39 | 39 |
40 BOOL th_stat_path(const char *path, int *flags); | 40 BOOL th_stat_path(const char *path, int *flags); |
41 BOOL th_mkdir_path(const char *cpath, int mode); | 41 BOOL th_mkdir_path(const char *cpath, int mode); |
42 | 42 |
43 BOOL th_fread_str(FILE *f, uint8_t *s, size_t l); | |
44 BOOL th_fwrite_str(FILE *f, uint8_t *s, size_t l); | |
45 BOOL th_fread_byte(FILE *f, uint8_t *b); | |
46 BOOL th_fwrite_byte(FILE *f, uint8_t b); | |
43 | 47 |
44 #ifdef __cplusplus | 48 #ifdef __cplusplus |
45 } | 49 } |
46 #endif | 50 #endif |
47 #endif // TH_FILE_H | 51 #endif // TH_FILE_H |