diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-08-23 16:48:09 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-08-24 09:24:42 +0200 |
commit | c2426e88c9583fab1d58d7d26e3bbe9d500ea570 (patch) | |
tree | f2dd4ea404ed258b7a511998583f000690d54931 /src/plugins/irc/irc-server.h | |
parent | 09eae3e2af7ea5c05d613b4056a6b90bf201e227 (diff) | |
download | weechat-c2426e88c9583fab1d58d7d26e3bbe9d500ea570.zip |
irc: add functions to convert strings to lower/upper case (following casemapping) (issue #194)
Diffstat (limited to 'src/plugins/irc/irc-server.h')
-rw-r--r-- | src/plugins/irc/irc-server.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h index d34cb31d0..4ae647ed2 100644 --- a/src/plugins/irc/irc-server.h +++ b/src/plugins/irc/irc-server.h @@ -348,6 +348,10 @@ extern int irc_server_strcasecmp (struct t_irc_server *server, extern int irc_server_strncasecmp (struct t_irc_server *server, const char *string1, const char *string2, int max); +extern char *irc_server_string_tolower (struct t_irc_server *server, + const char *string); +extern char *irc_server_string_toupper (struct t_irc_server *server, + const char *string); extern char *irc_server_eval_expression (struct t_irc_server *server, const char *string); extern void irc_server_sasl_get_creds (struct t_irc_server *server, |