view mcabber/src/utils.h @ 355:c5a7a7273986

Add some external actions Now the external command can get the following parameters: - MSG IN jid - MSG OUT jid - STATUS $S jid ($S == status uppercase letter: O, I, F, D, N, A, _)
author Mikael Berthe <mikael@lilotux.net>
date Fri, 22 Jul 2005 21:45:45 +0100
parents f562b9af2de7
children d8f147d6e872 33b8e801ffa6
line wrap: on
line source

#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