author | Mikael Berthe <mikael@lilotux.net> |
Thu, 04 Aug 2005 09:00:54 +0100 | |
changeset 391 | 868a350fefca |
parent 374 | bd5638c21834 |
child 419 | 2f9852610cf4 |
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); |
374
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
5 |
void ut_WriteLog(unsigned int flag, const char *data); |
24 | 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 |