Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/commands.h @ 1352:61a54e172010
Add internal hooks support
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 10 Nov 2007 22:29:31 +0100 |
parents | 16abe7ec3056 |
children | 7daf906fbcdc |
comparison
equal
deleted
inserted
replaced
1351:43e777a5ff06 | 1352:61a54e172010 |
---|---|
11 void (*func)(char *); | 11 void (*func)(char *); |
12 } cmd; | 12 } cmd; |
13 | 13 |
14 void cmd_init(void); | 14 void cmd_init(void); |
15 cmd *cmd_get(const char *command); | 15 cmd *cmd_get(const char *command); |
16 int process_line(char *line); | 16 int process_line(const char *line); |
17 int process_command(char *line, guint iscmd); | 17 int process_command(const char *line, guint iscmd); |
18 char *expandalias(char *line); | 18 char *expandalias(const char *line); |
19 | 19 |
20 extern char *mcabber_version(void); | 20 extern char *mcabber_version(void); |
21 extern void mcabber_connect(void); | 21 extern void mcabber_connect(void); |
22 | 22 |
23 void room_whois(gpointer bud, char *nick_locale, guint interactive); | 23 void room_whois(gpointer bud, char *nick_locale, guint interactive); |