aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-10 08:14:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-10 08:14:11 +0800
commitb860bc0e2d14adedefc7318eeacafbf1d552e8ff (patch)
treee0a2f7e78f82066d1719bc8d5c7d6e086c493295 /mail/mail-mt.h
parent5b49e84e6ae19741e49c16c259579da220e0bd10 (diff)
downloadgsoc2013-evolution-b860bc0e2d14adedefc7318eeacafbf1d552e8ff.tar.gz
gsoc2013-evolution-b860bc0e2d14adedefc7318eeacafbf1d552e8ff.tar.zst
gsoc2013-evolution-b860bc0e2d14adedefc7318eeacafbf1d552e8ff.zip
New async function that will be used for SSL certs later.
2001-03-09 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r--mail/mail-mt.h5
1 files changed, 4 insertions, 1 deletions
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);