view mcabber/src/histolog.h @ 153:ae0844311710

[/trunk] Changeset 165 by mikael * Do check on memory allocation for important data. * Decrease scr_LogPrint buffer size to 1kb.
author mikael
date Sun, 01 May 2005 04:42:07 +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__ */