view mcabber/src/histolog.h @ 177:a51ce78a0e2a

[/trunk] Changeset 189 by mikael * Add a "load_logs" variable to enable logs reading. (Actual reading is not implemented yet...)
author mikael
date Thu, 05 May 2005 08:53:49 +0000
parents 8ac67e951eab
children cfefae4b6de9
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, guint loadfile);
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__ */