diff 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
line wrap: on
line diff
--- a/mcabber/src/jabglue.h	Sun Sep 25 00:44:11 2005 +0200
+++ b/mcabber/src/jabglue.h	Sun Sep 25 01:01:44 2005 +0200
@@ -47,11 +47,12 @@
 void jb_updatebuddy(const char *jid, const char *name, const char *group);
 inline enum imstatus jb_getstatus();
 void jb_setstatus(enum imstatus st, const char *recipient, const char *msg);
-void jb_send_msg(const char *, const char *);
+void jb_send_msg(const char *jid, const char *text, int type);
 void jb_send_raw(const char *str);
 void jb_keepalive();
 inline void jb_reset_keepalive();
 void jb_set_keepalive_delay(unsigned int delay);
 inline void jb_set_priority(unsigned int priority);
+void jb_room_join(const char *room);
 
 #endif /* __JABGLUE_H__ */