diff options
author | Elizabeth Myers <elizabeth@interlinked.me> | 2013-05-01 09:59:39 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-05-01 09:59:39 +0200 |
commit | e0098845957d5e03eac505145c10b5313a8d760e (patch) | |
tree | 25c79c0a676e337ed113c19829b97c2de0a16222 /src/plugins/irc/irc-sasl.h | |
parent | 2479f427f7bd1e8925aba1d6a6c5cbb2a11be388 (diff) | |
download | weechat-e0098845957d5e03eac505145c10b5313a8d760e.zip |
irc: add support of "dh-aes" SASL mechanism (patch #8020)
Diffstat (limited to 'src/plugins/irc/irc-sasl.h')
-rw-r--r-- | src/plugins/irc/irc-sasl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-sasl.h b/src/plugins/irc/irc-sasl.h index 75a96900c..211381ef8 100644 --- a/src/plugins/irc/irc-sasl.h +++ b/src/plugins/irc/irc-sasl.h @@ -26,6 +26,7 @@ enum t_irc_sasl_mechanism { IRC_SASL_MECHANISM_PLAIN = 0, IRC_SASL_MECHANISM_DH_BLOWFISH, + IRC_SASL_MECHANISM_DH_AES, IRC_SASL_MECHANISM_EXTERNAL, /* number of SASL mechanisms */ IRC_NUM_SASL_MECHANISMS, @@ -38,5 +39,8 @@ extern char *irc_sasl_mechanism_plain (const char *sasl_username, extern char *irc_sasl_mechanism_dh_blowfish (const char *data_base64, const char *sasl_username, const char *sasl_password); +extern char *irc_sasl_mechanism_dh_aes (const char *data_base64, + const char *sasl_username, + const char *sasl_password); #endif /* __WEECHAT_IRC_SASL_H */ |