author | Mikael Berthe <mikael@lilotux.net> |
Sun, 24 Jul 2005 14:37:27 +0100 | |
changeset 362 | d8f147d6e872 |
parent 281 | f562b9af2de7 |
child 364 | 33b8e801ffa6 |
permissions | -rw-r--r-- |
24 | 1 |
#ifndef __UTILS_H__ |
2 |
#define __UTILS_H__ 1 |
|
3 |
||
281
f562b9af2de7
Add "const" specifier in prototypes
Mikael Berthe <mikael@lilotux.net>
parents:
241
diff
changeset
|
4 |
void ut_InitDebug(unsigned int level, const char *file); |
24 | 5 |
void ut_WriteLog(const char *fmt, ...); |
6 |
||
362
d8f147d6e872
Check directory and config file permissions
Mikael Berthe <mikael@lilotux.net>
parents:
281
diff
changeset
|
7 |
int checkset_perm(const char *name, unsigned int setmode); |
d8f147d6e872
Check directory and config file permissions
Mikael Berthe <mikael@lilotux.net>
parents:
281
diff
changeset
|
8 |
|
241 | 9 |
int to_iso8601(char *dststr, time_t timestamp); |
10 |
time_t from_iso8601(const char *timestamp, int utc); |
|
11 |
||
24 | 12 |
#endif |