Rocco Rutte:
[apps/madmutt.git] / mutt_ssl.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 1999-2000 Tommi Komulainen <Tommi.Komulainen@iki.fi>
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9
10 #ifndef _MUTT_SSL_H_
11 #define _MUTT_SSL_H_ 1
12
13 #include "mutt_socket.h"
14
15 #ifdef USE_SSL
16 int mutt_ssl_starttls (CONNECTION * conn);
17
18 extern int ssl_socket_setup (CONNECTION * conn);
19 #endif
20 #ifdef USE_GNUTLS
21 int mutt_gnutls_starttls (CONNECTION * conn);
22
23 extern int mutt_gnutls_socket_setup (CONNECTION * conn);
24 #endif
25 #ifdef USE_NSS
26 int mutt_nss_socket_setup (CONNECTION * conn);
27 #endif
28 #endif /* _MUTT_SSL_H_ */