view mcabber/src/utils.h @ 389:6e895f397474

Ncurses changes + Ctrl-C does not send a signal anylore * Use nonl() when initializing ncurses * Ctrl-C does not send a signal in raw mode, so we handle it as a normal key
author Mikael Berthe <mikael@lilotux.net>
date Sat, 30 Jul 2005 10:36:46 +0100
parents bd5638c21834
children 2f9852610cf4
line wrap: on
line source

#ifndef __UTILS_H__
#define __UTILS_H__ 1

void ut_InitDebug(unsigned int level, const char *file);
void ut_WriteLog(unsigned int flag, const char *data);

int checkset_perm(const char *name, unsigned int setmode);

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

#endif