Mercurial > hg
view mcabber/src/commands.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 | 875d2c9d399c |
children | c30c315dc447 |
line wrap: on
line source
#ifndef __COMMANDS_H__ #define __COMMANDS_H__ 1 #include <glib.h> // Command structure typedef struct { char name[32]; const char *help; guint completion_flags[2]; void (*func)(char *); } cmd; void cmd_init(void); cmd *cmd_get(const char *command); int process_line(char *line); int process_command(char *line); char *expandalias(char *line); extern char *mcabber_version(void); extern void mcabber_connect(void); void room_whois(gpointer bud, char *nick_locale, guint interactive); #endif /* __COMMANDS_H__ */ /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */