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
29struct Connection;
30struct StringArray;
31
32#ifdef USE_SSL
37{
38 struct StringArray *carr;
39 char *prompt;
40 char *keys;
41};
42
43int mutt_ssl_socket_setup(struct Connection *conn);
44int dlg_certificate(const char *title, struct StringArray *carr, bool allow_always, bool allow_skip);
45#else
50static inline int mutt_ssl_socket_setup(struct Connection *conn)
51{
52 return -1;
53}
54#endif
55
56#endif /* MUTT_CONN_SSL_H */
int dlg_certificate(const char *title, struct StringArray *carr, bool allow_always, bool allow_skip)
Ask the user to validate the certificate -.
int mutt_ssl_socket_setup(struct Connection *conn)
Set up SSL socket mulitplexor.
Definition gnutls.c:1129
Certificate data to use in the Menu.
Definition ssl.h:37
char * prompt
Prompt for user, similar to mw_multi_choice.
Definition ssl.h:39
struct StringArray * carr
Lines of the Certificate.
Definition ssl.h:38
char * keys
Keys used in the prompt.
Definition ssl.h:40