mcabber/src/utils.h
author Mikael Berthe <mikael@lilotux.net>
Wed, 06 Jul 2005 22:18:05 +0100
changeset 281 f562b9af2de7
parent 241 8584f919d9b9
child 362 d8f147d6e872
child 364 33b8e801ffa6
permissions -rw-r--r--
Add "const" specifier in prototypes It's easier then to know when variables are read-only (and shouldn't be freed).

#ifndef __UTILS_H__
#define __UTILS_H__ 1

void ut_InitDebug(unsigned int level, const char *file);
void ut_WriteLog(const char *fmt, ...);

int    to_iso8601(char *dststr, time_t timestamp);
time_t from_iso8601(const char *timestamp, int utc);

#endif