Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jabglue.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 | 5927c3bfba13 |
children | e08b0c2d0e54 |
comparison
equal
deleted
inserted
replaced
446:9f4e9e9aaf08 | 447:03bb57383cea |
---|---|
45 void jb_addbuddy(const char *jid, const char *name, const char *group); | 45 void jb_addbuddy(const char *jid, const char *name, const char *group); |
46 void jb_delbuddy(const char *jid); | 46 void jb_delbuddy(const char *jid); |
47 void jb_updatebuddy(const char *jid, const char *name, const char *group); | 47 void jb_updatebuddy(const char *jid, const char *name, const char *group); |
48 inline enum imstatus jb_getstatus(); | 48 inline enum imstatus jb_getstatus(); |
49 void jb_setstatus(enum imstatus st, const char *recipient, const char *msg); | 49 void jb_setstatus(enum imstatus st, const char *recipient, const char *msg); |
50 void jb_send_msg(const char *, const char *); | 50 void jb_send_msg(const char *jid, const char *text, int type); |
51 void jb_send_raw(const char *str); | 51 void jb_send_raw(const char *str); |
52 void jb_keepalive(); | 52 void jb_keepalive(); |
53 inline void jb_reset_keepalive(); | 53 inline void jb_reset_keepalive(); |
54 void jb_set_keepalive_delay(unsigned int delay); | 54 void jb_set_keepalive_delay(unsigned int delay); |
55 inline void jb_set_priority(unsigned int priority); | 55 inline void jb_set_priority(unsigned int priority); |
56 void jb_room_join(const char *room); | |
56 | 57 |
57 #endif /* __JABGLUE_H__ */ | 58 #endif /* __JABGLUE_H__ */ |