equal
deleted
inserted
replaced
|
1 #ifndef __HISTOLOG_H__ |
|
2 #define __HISTOLOG_H__ 1 |
|
3 |
|
4 #include <glib.h> |
|
5 |
|
6 #include "xmpp.h" |
|
7 |
|
8 void hlog_enable(guint enable, const char *root_dir, guint loadfile); |
|
9 char *hlog_get_log_jid(const char *bjid); |
|
10 void hlog_read_history(const char *bjid, GList **p_buddyhbuf, guint width); |
|
11 void hlog_write_message(const char *bjid, time_t timestamp, int sent, |
|
12 const char *msg); |
|
13 void hlog_write_status(const char *bjid, time_t timestamp, |
|
14 enum imstatus status, const char *status_msg); |
|
15 void hlog_save_state(void); |
|
16 void hlog_load_state(void); |
|
17 |
|
18 #endif /* __HISTOLOG_H__ */ |
|
19 |
|
20 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |