NeoMutt  2020-08-07-1-gab41a1
Teaching an old dog new tricks
DOXYGEN
ssl.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_CONN_SSL_H
24 #define MUTT_CONN_SSL_H
25 
26 #include "config.h"
27 #include <stdbool.h>
28 
29 struct Connection;
30 struct ListHead;
31 
32 #ifdef USE_SSL
33 int mutt_ssl_socket_setup(struct Connection *conn);
34 int dlg_verify_certificate(const char *title, struct ListHead *list, bool allow_always, bool allow_skip);
35 #else
36 
40 static inline int mutt_ssl_socket_setup(struct Connection *conn)
41 {
42  return -1;
43 }
44 #endif
45 
46 #endif /* MUTT_CONN_SSL_H */
int dlg_verify_certificate(const char *title, struct ListHead *list, bool allow_always, bool allow_skip)
Ask the user to validate the certificate.
Definition: dlgverifycert.c:69
An open network connection (socket)
Definition: connection.h:34
int mutt_ssl_socket_setup(struct Connection *conn)
Set up SSL socket mulitplexor.
Definition: gnutls.c:1116