NeoMutt  2020-06-26-89-g172cd3
Teaching an old dog new tricks
DOXYGEN
lib.h
Go to the documentation of this file.
1 
44 #ifndef MUTT_CONN_LIB_H
45 #define MUTT_CONN_LIB_H
46 
47 #include "config.h"
48 // IWYU pragma: begin_exports
49 #include "connaccount.h"
50 #include "connection.h"
51 #include "sasl_plain.h"
52 #include "socket.h"
53 #ifdef USE_SASL
54 #include "sasl.h"
55 #endif
56 #ifdef USE_ZLIB
57 #include "zstrm.h"
58 #endif
59 // IWYU pragma: end_exports
60 
61 struct Buffer;
62 struct ConfigSet;
63 
64 // These Config Variables are used outside of libconn
65 extern bool C_SslForceTls;
66 extern unsigned char C_SslStarttls;
67 extern const char * C_Tunnel;
68 
69 #ifdef USE_SSL
70 int mutt_ssl_starttls(struct Connection *conn);
71 #endif
72 
73 int getdnsdomainname(struct Buffer *domain);
74 
75 bool config_init_conn(struct ConfigSet *cs);
76 
77 #endif /* MUTT_CONN_LIB_H */
Container for lots of config items.
Definition: set.h:227
SASL plain authentication support.
An open network connection (socket)
An open network connection (socket)
Definition: connection.h:34
String manipulation buffer.
Definition: buffer.h:33
SASL authentication support.
bool C_SslForceTls
Config: (ssl) Require TLS encryption for all connections.
Definition: config.c:45
unsigned char C_SslStarttls
Config: (ssl) Use STARTTLS on servers advertising the capability.
Definition: config.c:46
const char * C_Tunnel
Config: Shell command to establish a tunnel.
Definition: config.c:38
int mutt_ssl_starttls(struct Connection *conn)
Negotiate TLS over an already opened connection.
Definition: gnutls.c:1142
Connection Credentials.
int getdnsdomainname(struct Buffer *domain)
Lookup the host's name using DNS.
Definition: getdomain.c:44
Low-level socket handling.
Zlib compression of network traffic.
bool config_init_conn(struct ConfigSet *cs)
Register conn config variables.
Definition: config.c:123