view mcabber/src/histolog.h @ 115:33bff2c57293

[/trunk] Changeset 129 by mikael * Decode UTF-8 before logging message to file.
author mikael
date Sun, 24 Apr 2005 20:50:16 +0000
parents 8ac67e951eab
children a51ce78a0e2a
line wrap: on
line source

#ifndef __HISTOLOG_H__
#define __HISTOLOG_H__ 1

#include <glib.h>

#include "jabglue.h"

void hlog_enable(guint enable, char *root_dir);
inline void hlog_write_message(const char *jid, time_t timestamp, int sent,
        const char *msg);
inline void hlog_write_status(const char *jid, time_t timestamp,
        enum imstatus status);

#endif /* __HISTOLOG_H__ */