Mercurial > ~mikael > mcabber > hg
view mcabber/src/utils.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 | 2f9852610cf4 |
children | dfd9c62b3a39 |
line wrap: on
line source
#ifndef __UTILS_H__ #define __UTILS_H__ 1 void ut_InitDebug(unsigned int level, const char *file); void ut_WriteLog(unsigned int flag, const char *data); int checkset_perm(const char *name, unsigned int setmode); int to_iso8601(char *dststr, time_t timestamp); time_t from_iso8601(const char *timestamp, int utc); inline void safe_usleep(unsigned int usec); /* Only for delays < 1s */ #endif