Mercurial > hg > th-libs
comparison th_file.h @ 653:3c9205d52376
Doxygen fixes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 25 Jan 2020 13:36:15 +0200 |
parents | badca3de39ea |
children | a6e7a29ecd30 |
comparison
equal
deleted
inserted
replaced
652:38a9302962f7 | 653:3c9205d52376 |
---|---|
1 /* | 1 /* |
2 * File, directory etc helper functions | 2 * File, directory, path etc. related helper functions |
3 * Programmed and designed by Matti 'ccr' Hamalainen | 3 * Programmed and designed by Matti 'ccr' Hamalainen |
4 * (C) Copyright 2016-2020 Tecnic Software productions (TNSP) | 4 * (C) Copyright 2016-2020 Tecnic Software productions (TNSP) |
5 * | 5 * |
6 * Please read file 'COPYING' for information on license and distribution. | 6 * Please read file 'COPYING' for information on license and distribution. |
7 */ | 7 */ |
8 /// @file | 8 /// @file |
9 /// @brief File, path, etc. related helper functions | 9 /// @brief File, directory, path etc. related helper functions |
10 #ifndef TH_FILE_H | 10 #ifndef TH_FILE_H |
11 #define TH_FILE_H | 11 #define TH_FILE_H |
12 | 12 |
13 #include "th_types.h" | 13 #include "th_types.h" |
14 | 14 |
43 uint64_t size; | 43 uint64_t size; |
44 uint64_t atime, mtime, ctime; | 44 uint64_t atime, mtime, ctime; |
45 } th_stat_data; | 45 } th_stat_data; |
46 | 46 |
47 | 47 |
48 char * th_get_home_dir(); | 48 char * th_get_home_dir(void); |
49 char * th_get_config_dir(const char *name); | 49 char * th_get_config_dir(const char *name); |
50 | 50 |
51 BOOL th_stat_path(const char *path, th_stat_data *data); | 51 BOOL th_stat_path(const char *path, th_stat_data *data); |
52 BOOL th_mkdir_path(const char *cpath, int mode); | 52 BOOL th_mkdir_path(const char *cpath, int mode); |
53 | 53 |