Mercurial > ~mikael > mcabber > hg
view mcabber/src/logprint.h @ 1128:ac9c89f6cb51
Support for invitations to muc rooms
According to section "7.5" ("Inviting Another User to a Room") of the
xep 0045 (about multi user chat), someone can invite you to a room.
But it seems mcabber ignore this, so I have coded the missing support.
[Patch slightly modified by Mikael]
author | misc@mandriva.org |
---|---|
date | Sat, 20 Jan 2007 18:41:13 +0100 |
parents | 527d6f234924 |
children | c33b5b6fbf08 |
line wrap: on
line source
#ifndef __LOGPRINT_H__ #define __LOGPRINT_H__ 1 // Flags for scr_LogPrint() #define LPRINT_NORMAL 1U // Display in log window #define LPRINT_LOG 2U // Log to file (if enabled) #define LPRINT_DEBUG 4U // Debug message (log if enabled) #define LPRINT_NOTUTF8 8U // Do not convert from UTF-8 to locale // For convenience... #define LPRINT_LOGNORM (LPRINT_NORMAL|LPRINT_LOG) void scr_LogPrint(unsigned int flag, const char *fmt, ...); #endif /* __LOGPRINT_H__ */ /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */