summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-server.h')
-rw-r--r--src/plugins/irc/irc-server.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h
index 560fa0346..0581fb555 100644
--- a/src/plugins/irc/irc-server.h
+++ b/src/plugins/irc/irc-server.h
@@ -44,6 +44,7 @@ enum t_irc_server_option
IRC_SERVER_OPTION_SASL_MECHANISM,/* mechanism for SASL authentication */
IRC_SERVER_OPTION_SASL_USERNAME, /* username for SASL authentication */
IRC_SERVER_OPTION_SASL_PASSWORD, /* password for SASL authentication */
+ IRC_SERVER_OPTION_SASL_TIMEOUT, /* timeout for SASL authentication */
IRC_SERVER_OPTION_AUTOCONNECT, /* autoconnect to server at startup */
IRC_SERVER_OPTION_AUTORECONNECT, /* autoreconnect when disconnected */
IRC_SERVER_OPTION_AUTORECONNECT_DELAY, /* delay before trying again reco */
@@ -90,16 +91,6 @@ enum t_irc_server_option
#define IRC_SERVER_OUTQUEUE_PRIO_LOW 2
#define IRC_SERVER_NUM_OUTQUEUES_PRIO 2
-/* SASL authentication mechanisms */
-
-enum t_irc_sasl_mechanism
-{
- IRC_SASL_MECHANISM_PLAIN = 0,
- /* TODO: IRC_SASL_MECHANISM_DH_BLOWFISH, */
- /* number of SASL mechanisms */
- IRC_NUM_SASL_MECHANISMS,
-};
-
/* output queue of messages to server (for sending slowly to server) */
struct t_irc_outqueue
@@ -185,7 +176,6 @@ extern const int gnutls_prot_prio[];
extern struct t_irc_message *irc_recv_msgq, *irc_msgq_last_msg;
extern char *irc_server_option_string[];
extern char *irc_server_option_default[];
-extern char *irc_sasl_mechanism_string[];
extern int irc_server_valid (struct t_irc_server *server);
extern int irc_server_search_option (const char *option_name);