NeoMutt
2025-09-05-43-g177ed6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
ssl.h
Go to the documentation of this file.
1
22
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
StringArray;
31
32
#ifdef USE_SSL
36
struct
CertMenuData
37
{
38
struct
StringArray *
carr
;
39
char
*
prompt
;
40
char
*
keys
;
41
};
42
43
int
mutt_ssl_socket_setup
(
struct
Connection
*conn);
44
int
dlg_certificate
(
const
char
*title,
struct
StringArray *carr,
bool
allow_always,
bool
allow_skip);
45
#else
50
static
inline
int
mutt_ssl_socket_setup
(
struct
Connection
*conn)
51
{
52
return
-1;
53
}
54
#endif
55
56
#endif
/* MUTT_CONN_SSL_H */
dlg_certificate
int dlg_certificate(const char *title, struct StringArray *carr, bool allow_always, bool allow_skip)
Ask the user to validate the certificate -.
Definition
dlg_verifycert.c:169
mutt_ssl_socket_setup
int mutt_ssl_socket_setup(struct Connection *conn)
Set up SSL socket mulitplexor.
Definition
gnutls.c:1129
CertMenuData
Certificate data to use in the Menu.
Definition
ssl.h:37
CertMenuData::prompt
char * prompt
Prompt for user, similar to mw_multi_choice.
Definition
ssl.h:39
CertMenuData::carr
struct StringArray * carr
Lines of the Certificate.
Definition
ssl.h:38
CertMenuData::keys
char * keys
Keys used in the prompt.
Definition
ssl.h:40
Connection
Definition
connection.h:48