view mcabber/mcabber/xmpp_muc.h @ 1817:fb6d20a17584

Improve hbuf_remove_receipt() efficiency Do not use g_list_first() (that is, start searching from the bottom of the buffer).
author Mikael Berthe <mikael@lilotux.net>
date Mon, 22 Mar 2010 23:39:01 +0100
parents e6d355e50d7a
children 1a01a7ef4e43
line wrap: on
line source

#ifndef __MCABBER_XMPP_MUC_H__
#define __MCABBER_XMPP_MUC_H__ 1

typedef struct {
  char *to;
  char *from;
  char *passwd;
  char *reason;
} event_muc_invitation;

void destroy_event_muc_invitation(event_muc_invitation *invitation);
void roompresence(gpointer room, void *presencedata);
void got_muc_message(const char *from, LmMessageNode *x);
void handle_muc_presence(const char *from, LmMessageNode * xmldata,
                         const char *roomjid, const char *rname,
                         enum imstatus ust, const char *ustmsg,
                         time_t usttime, char bpprio);

#endif /* __MCABBER_XMPP_MUC_H__ */

/* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2:  For Vim users... */