NeoMutt  2021-02-05-89-gabe350
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 *result);
74 
75 #endif /* MUTT_CONN_LIB_H */
Connection
An open network connection (socket)
Definition: connection.h:34
getdnsdomainname
int getdnsdomainname(struct Buffer *result)
Lookup the host's name using DNS.
Definition: getdomain.c:118
zstrm.h
sasl_plain.h
Buffer
String manipulation buffer.
Definition: buffer.h:33
C_SslForceTls
bool C_SslForceTls
Config: (ssl) Require TLS encryption for all connections.
Definition: config.c:46
C_SslStarttls
unsigned char C_SslStarttls
Config: (ssl) Use STARTTLS on servers advertising the capability.
Definition: config.c:47
sasl.h
C_Tunnel
const char * C_Tunnel
Config: Shell command to establish a tunnel.
Definition: config.c:39
connection.h
ConfigSet
Container for lots of config items.
Definition: set.h:228
socket.h
connaccount.h
mutt_ssl_starttls
int mutt_ssl_starttls(struct Connection *conn)
Negotiate TLS over an already opened connection.
Definition: gnutls.c:1136