Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/utils.h @ 281:f562b9af2de7
Add "const" specifier in prototypes
It's easier then to know when variables are read-only (and shouldn't
be freed).
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 06 Jul 2005 22:18:05 +0100 |
parents | 8584f919d9b9 |
children | d8f147d6e872 33b8e801ffa6 |
comparison
equal
deleted
inserted
replaced
280:68ce34b4243b | 281:f562b9af2de7 |
---|---|
1 #ifndef __UTILS_H__ | 1 #ifndef __UTILS_H__ |
2 #define __UTILS_H__ 1 | 2 #define __UTILS_H__ 1 |
3 | 3 |
4 void ut_InitDebug(unsigned int level, char *file); | 4 void ut_InitDebug(unsigned int level, const char *file); |
5 void ut_WriteLog(const char *fmt, ...); | 5 void ut_WriteLog(const char *fmt, ...); |
6 | 6 |
7 int to_iso8601(char *dststr, time_t timestamp); | 7 int to_iso8601(char *dststr, time_t timestamp); |
8 time_t from_iso8601(const char *timestamp, int utc); | 8 time_t from_iso8601(const char *timestamp, int utc); |
9 | 9 |