From b860bc0e2d14adedefc7318eeacafbf1d552e8ff Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 10 Mar 2001 00:14:11 +0000 Subject: New async function that will be used for SSL certs later. 2001-03-09 Jeffrey Stedfast * mail-mt.c (mail_get_accept): New async function that will be used for SSL certs later. * session.c (auth_callback): Changed to return a gpointer value. (mail_session_accept_dialog): New function to handle the new _ACCEPT authenticator mode. svn path=/trunk/; revision=8622 --- mail/mail-mt.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail/mail-mt.h') diff --git a/mail/mail-mt.h b/mail/mail-mt.h index cc9f1be756..002d8b796c 100644 --- a/mail/mail-mt.h +++ b/mail/mail-mt.h @@ -66,7 +66,10 @@ void mail_statusf(const char *fmt, ...); void mail_status(const char *msg); /* request a string/password */ -char *mail_get_password(char *prompt, gboolean secret); +char *mail_get_password (const char *prompt, gboolean secret); + +/* request a yes/no response as to whether or not to accept (a certificate?) */ +gboolean mail_get_accept (const char *prompt); /* forward a camel event (or other call) to the gui thread */ int mail_proxy_event(CamelObjectEventHookFunc func, CamelObject *o, void *event_data, void *data); -- cgit