summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-message.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-06-27 17:00:53 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-06-27 17:00:53 +0200
commit0ff8d7b5439ee543fae8eb4c4080ec4ccf905b1d (patch)
tree479fea1510aa2cbedf41ef2bb115e552d08f5995 /src/plugins/irc/irc-message.h
parentfdd9c03e5a5670d6ecfa4d389df4e76d22fd3aad (diff)
downloadweechat-0ff8d7b5439ee543fae8eb4c4080ec4ccf905b1d.zip
irc: decode/encode only text in IRC messages and not the headers (bug #29886, closes #218, closes #451)
Diffstat (limited to 'src/plugins/irc/irc-message.h')
-rw-r--r--src/plugins/irc/irc-message.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-message.h b/src/plugins/irc/irc-message.h
index 1e7b2cde7..bb3051d57 100644
--- a/src/plugins/irc/irc-message.h
+++ b/src/plugins/irc/irc-message.h
@@ -26,9 +26,14 @@ struct t_irc_channel;
extern void irc_message_parse (struct t_irc_server *server, const char *message,
char **tags, char **message_without_tags,
char **nick, char **host, char **command,
- char **channel, char **arguments);
+ char **channel, char **arguments, char **text,
+ int *pos_text);
extern struct t_hashtable *irc_message_parse_to_hashtable (struct t_irc_server *server,
const char *message);
+extern char *irc_message_convert_charset (const char *message,
+ int pos_start,
+ const char *modifier,
+ const char *modifier_data);
extern const char *irc_message_get_nick_from_host (const char *host);
extern const char *irc_message_get_address_from_host (const char *host);
extern char *irc_message_replace_vars (struct t_irc_server *server,