Commit b5563017 b5563017ae39a03f589b85c7e7ad697632be9f89 by Sergey Poznyakoff

(IMAP_CAPA_STARTTLS,IMAP_CAPA_LOGINDISABLED,IMAP_CAPA_XTLSREQUIRED): New defines

1 parent f9022892
...@@ -145,7 +145,12 @@ struct imap4d_command ...@@ -145,7 +145,12 @@ struct imap4d_command
145 #define WCARD_NOMATCH 0 145 #define WCARD_NOMATCH 0
146 #define WCARD_MATCH 1 146 #define WCARD_MATCH 1
147 #define WCARD_RECURSE_MATCH 2 147 #define WCARD_RECURSE_MATCH 2
148 148
149 /* IMAP4D capability names */
150 #define IMAP_CAPA_STARTTLS "STARTTLS"
151 #define IMAP_CAPA_LOGINDISABLED "LOGINDISABLED"
152 #define IMAP_CAPA_XTLSREQUIRED "XTLSREQUIRED"
153
149 extern struct imap4d_command imap4d_command_table[]; 154 extern struct imap4d_command imap4d_command_table[];
150 extern mailbox_t mbox; 155 extern mailbox_t mbox;
151 extern char *homedir; 156 extern char *homedir;
...@@ -157,6 +162,7 @@ extern struct daemon_param daemon_param; ...@@ -157,6 +162,7 @@ extern struct daemon_param daemon_param;
157 extern struct mu_auth_data *auth_data; 162 extern struct mu_auth_data *auth_data;
158 163
159 extern int login_disabled; 164 extern int login_disabled;
165 extern int tls_required;
160 166
161 #ifndef HAVE_STRTOK_R 167 #ifndef HAVE_STRTOK_R
162 extern char *strtok_r __P((char *s, const char *delim, char **save_ptr)); 168 extern char *strtok_r __P((char *s, const char *delim, char **save_ptr));
......