Mercurial > hg
comparison mcabber/src/hooks.h @ 447:03bb57383cea
Initial Multi-User Chat support
This patch adds basic MUC support. We now can:
- join an existing room;
- create and unlock a room using the /rawxml command;
- set our nickname;
- send/receive chatgroup messages;
- see the members of the room;
- leave the room.
Chatroom logging is currently disabled, as it could do some unexpected things.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 25 Sep 2005 01:01:44 +0200 |
parents | b44be19d6229 |
children | 00e2d3821a5b |
comparison
equal
deleted
inserted
replaced
446:9f4e9e9aaf08 | 447:03bb57383cea |
---|---|
3 | 3 |
4 #include <time.h> | 4 #include <time.h> |
5 #include "jabglue.h" | 5 #include "jabglue.h" |
6 | 6 |
7 | 7 |
8 inline void hk_message_in(const char *jid, time_t timestamp, const char *msg, | 8 inline void hk_message_in(const char *jid, const char *resname, |
9 const char *type); | 9 time_t timestamp, const char *msg, const char *type); |
10 inline void hk_message_out(const char *jid, time_t timestamp, const char *msg); | 10 inline void hk_message_out(const char *jid, time_t timestamp, const char *msg); |
11 inline void hk_statuschange(const char *jid, const char *resname, gchar prio, | 11 inline void hk_statuschange(const char *jid, const char *resname, gchar prio, |
12 time_t timestamp, enum imstatus status, | 12 time_t timestamp, enum imstatus status, |
13 char const *status_msg); | 13 char const *status_msg); |
14 inline void hk_mystatuschange(time_t timestamp, | 14 inline void hk_mystatuschange(time_t timestamp, |