Mercurial > hg
annotate mcabber/src/utils.h @ 446:9f4e9e9aaf08
Minor changes & cleanup
See diff for details.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 25 Sep 2005 00:44:11 +0200 |
parents | 2f9852610cf4 |
children | dfd9c62b3a39 |
rev | line source |
---|---|
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 | |
419 | 12 inline void safe_usleep(unsigned int usec); /* Only for delays < 1s */ |
13 | |
24 | 14 #endif |