view mcabber/src/utils.h @ 241:8584f919d9b9

[/trunk] Changeset 254 by mikael * Use ISO8601 for time format in log file * Update TODO
author mikael
date Mon, 13 Jun 2005 19:29:09 +0000
parents 250f872c722f
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