diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-10-24 11:23:31 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-10-24 11:23:31 +0000 |
commit | dfa9ed31d47908f0eb58df652f08cee3ea18193b (patch) | |
tree | abe024ddf0c384e15c57374478740fb465867ad9 /src/irc/irc.h | |
parent | 1e815918037a9e5d62458972bdbcfd56deeadd98 (diff) | |
download | weechat-dfa9ed31d47908f0eb58df652f08cee3ea18193b.zip |
Added "modifier" in plugins API, improved /plugin command
Diffstat (limited to 'src/irc/irc.h')
-rw-r--r-- | src/irc/irc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/irc.h b/src/irc/irc.h index dbb61fd22..cf0d3f05e 100644 --- a/src/irc/irc.h +++ b/src/irc/irc.h @@ -50,6 +50,8 @@ #define PREFIX_QUIT "<--" #define PREFIX_ERROR "=!=" #define PREFIX_PLUGIN "-P-" +#define PREFIX_RECV_MOD "==>" +#define PREFIX_SEND_MOD "<==" #define DEFAULT_IRC_PORT 6667 @@ -345,6 +347,7 @@ extern char *server_get_charset_decode_utf (t_irc_server *); extern char *server_get_charset_encode (t_irc_server *); extern int server_send (t_irc_server *, char *, int); extern void server_sendf (t_irc_server *, char *, ...); +extern void server_parse_message (char *, char **, char **, char **); extern void server_recv (t_irc_server *); extern void server_child_read (t_irc_server *); extern int server_connect (t_irc_server *); |