NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
module.c
Go to the documentation of this file.
1
22
28
29#include "config.h"
30#include <stdbool.h>
31#include <stddef.h>
32#include "config/lib.h"
33#include "core/lib.h"
34
35extern struct ConfigDef ConnVars[];
36extern struct ConfigDef ConnVarsGetaddr[];
37extern struct ConfigDef ConnVarsGnutls[];
38extern struct ConfigDef ConnVarsOpenssl[];
39extern struct ConfigDef ConnVarsPartial[];
40extern struct ConfigDef ConnVarsSsl[];
41
45static bool conn_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
46{
47 bool rc = true;
48
50
51#if defined(USE_SSL)
53#endif
54
55#if defined(USE_SSL_GNUTLS)
57#endif
58
59#if defined(USE_SSL_OPENSSL)
61#endif
62
63#if defined(HAVE_SSL_PARTIAL_CHAIN)
65#endif
66
67#if defined(HAVE_GETADDRINFO)
69#endif
70
71 return rc;
72}
73
77const struct Module ModuleConn = {
79 "conn",
80 NULL, // init
81 NULL, // config_define_types
83 NULL, // commands_register
84 NULL, // gui_init
85 NULL, // gui_cleanup
86 NULL, // cleanup
87};
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
Definition set.c:290
struct ConfigDef ConnVarsSsl[]
General SSL Config definitions for the conn library.
Definition config.c:66
struct ConfigDef ConnVars[]
Config definitions for the connection library.
Definition config.c:39
struct ConfigDef ConnVarsOpenssl[]
OpenSSL Config definitions for the connection library.
Definition config.c:125
struct ConfigDef ConnVarsPartial[]
SSL partial chains Config definitions for the connection library.
Definition config.c:145
struct ConfigDef ConnVarsGetaddr[]
GetAddrInfo Config definitions for the connection library.
Definition config.c:159
struct ConfigDef ConnVarsGnutls[]
GnuTLS Config definitions for the connection library.
Definition config.c:108
const struct Module ModuleConn
Module for the Conn library.
Definition module.c:77
static bool conn_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
Definition module.c:45
Convenience wrapper for the core headers.
@ MODULE_ID_CONN
ModuleConn, Network connections
Definition module_api.h:60
Container for lots of config items.
Definition set.h:250
Container for Accounts, Notifications.
Definition neomutt.h:41