view mcabber/src/utils.h @ 249:c3e6e78d1ab4

[/trunk] Changeset 262 by mikael * Fix reading almost-but-not-too-large messages * Add a warning when old-style history log file is read
author mikael
date Sat, 25 Jun 2005 08:34:14 +0000
parents 8584f919d9b9
children f562b9af2de7
line wrap: on
line source

#ifndef __UTILS_H__
#define __UTILS_H__ 1

void ut_InitDebug(unsigned int level, 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