summaryrefslogtreecommitdiff
path: root/imap4d
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-01-22 13:14:16 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-01-22 13:14:16 +0000
commit56810e89d7da50c218006366969b73be5f0b4035 (patch)
tree4903ee277c120086da8da212d8243678a124ca98 /imap4d
parent226968019827e07a9583b258aa8912990af847bc (diff)
downloadmailutils-56810e89d7da50c218006366969b73be5f0b4035.tar.gz
mailutils-56810e89d7da50c218006366969b73be5f0b4035.tar.bz2
(tls_available,tls_done): Removed.
(starttls_init,util_atexit): New functions. (imap4d_auth_handler_fp): New data type. (auth_gssapi_init,auth_gsasl_init): New functions/macros
Diffstat (limited to 'imap4d')
-rw-r--r--imap4d/imap4d.h26
1 files changed, 21 insertions, 5 deletions
diff --git a/imap4d/imap4d.h b/imap4d/imap4d.h
index 4cda8ad97..b54a9e335 100644
--- a/imap4d/imap4d.h
+++ b/imap4d/imap4d.h
@@ -150,11 +150,6 @@ extern int is_virtual;
extern struct daemon_param daemon_param;
extern struct mu_auth_data *auth_data;
-#ifdef WITH_TLS
-extern int tls_available;
-extern int tls_done;
-#endif /* WITH_TLS */
-
extern int login_disabled;
#ifndef HAVE_STRTOK_R
@@ -190,6 +185,7 @@ extern int imap4d_select0 __P ((struct imap4d_command *, char *, int));
extern int imap4d_select_status __P((void));
#ifdef WITH_TLS
extern int imap4d_starttls __P ((struct imap4d_command *, char *));
+extern void starttls_init __P((void));
#endif /* WITH_TLS */
extern int imap4d_status __P ((struct imap4d_command *, char *));
extern int imap4d_store __P ((struct imap4d_command *, char *));
@@ -275,10 +271,30 @@ void util_setio __P((FILE*, FILE*));
void util_flush_output __P((void));
int util_is_master __P((void));
void util_bye __P((void));
+void util_atexit __P((void (*fp) __PMT((void))));
+
#ifdef WITH_TLS
int imap4d_init_tls_server __P((void));
#endif /* WITH_TLS */
+typedef int (*imap4d_auth_handler_fp) __PMT((struct imap4d_command *,
+ char *, char *, char **));
+
+extern void auth_add __P((char *name, imap4d_auth_handler_fp handler));
+extern void auth_remove __P((char *name));
+
+#ifdef WITH_GSSAPI
+extern void auth_gssapi_init __P((void));
+#else
+# define auth_gssapi_init()
+#endif
+
+#ifdef WITH_GSASL
+extern void auth_gsasl_init __P((void));
+#else
+# define auth_gsasl_init()
+#endif
+
#ifdef __cplusplus
}
#endif

Return to:

Send suggestions and report system problems to the System administrator.