view mcabber/src/histolog.h @ 125:1bf1a1233b88

[/trunk] Changeset 138 by mikael * Automatic subscription to our network presence updates. We should ask the user, of course, but at least it works...
author mikael
date Wed, 27 Apr 2005 19:48:57 +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__ */