48#ifdef USE_HCACHE_COMPRESSION
69static int log_disp_null(time_t stamp,
const char *file,
int line,
const char *function,
70 enum LogLevel level,
const char *format, ...)
84 char file[] =
"/tmp/mutt-fuzz";
85 FILE *fp = fopen(file,
"wb");
89 fwrite(data, 1, size, fp);
91 fp = fopen(file,
"rb");
const struct Module ModuleAddress
Module for the Address library.
const struct Module ModuleAlias
Module for the Alias library.
const struct Module ModuleAttach
Module for the Attach library.
const struct Module ModuleAutocrypt
Module for the Autocrypt library.
const struct Module ModuleBcache
Module for the Bcache library.
const struct Module ModuleBrowser
Module for the Browser library.
const struct Module ModuleColor
Module for the Color library.
const struct Module ModuleCommands
Module for the Commands library.
const struct Module ModuleComplete
Module for the Complete library.
const struct Module ModuleCompmbox
Module for the Compmbox library.
const struct Module ModuleCompose
Module for the Compose library.
const struct Module ModuleCompress
Module for the Compress library.
Convenience wrapper for the config headers.
const struct Module ModuleConfig
Module for the Config library.
bool StartupComplete
When the config has been read.
const struct Module ModuleConn
Module for the Conn library.
const struct Module ModuleConvert
Module for the Convert library.
Convenience wrapper for the core headers.
const struct Module ModuleCore
Module for the Core library.
const struct Module ModuleEditor
Module for the Editor library.
struct Email * email_new(void)
Create a new Email.
void email_free(struct Email **ptr)
Free an Email.
Structs that make up an email.
const struct Module ModuleEmail
Module for the Email library.
void mutt_parse_part(FILE *fp, struct Body *b)
Parse a MIME part.
struct Envelope * mutt_rfc822_read_header(FILE *fp, struct Email *e, bool user_hdrs, bool weed)
Parses an RFC822 header.
const struct Module ModuleEnvelope
Module for the Envelope library.
void mutt_env_free(struct Envelope **ptr)
Free an Envelope.
const struct Module ModuleExpando
Module for the Expando library.
const struct Module ModulePop
Module for the Pop library.
const struct Module ModuleParse
Module for the Parse library.
const struct Module ModuleMaildir
Module for the Maildir library.
const struct Module ModulePostpone
Module for the Postpone library.
const struct Module ModuleSidebar
Module for the Sidebar library.
const struct Module ModuleMh
Module for the Mh library.
const struct Module ModuleLua
Module for the Lua library.
const struct Module ModulePager
Module for the Pager library.
const struct Module ModuleGui
Module for the Gui library.
const struct Module ModuleProgress
Module for the Progress library.
const struct Module ModuleMenu
Module for the Menu library.
static const struct Module * Modules[]
All the library Modules.
const struct Module ModuleNcrypt
Module for the Ncrypt library.
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
const struct Module ModuleMutt
Module for the Mutt library.
const struct Module ModuleHcache
Module for the Hcache library.
const struct Module ModuleSend
Module for the Send library.
const struct Module ModuleQuestion
Module for the Question library.
const struct Module ModuleImap
Module for the Imap library.
const struct Module ModuleMain
Module for the Main library.
const struct Module ModuleStore
Module for the Store library.
const struct Module ModuleMbox
Module for the Mbox library.
const struct Module ModulePattern
Module for the Pattern library.
const struct Module ModuleNntp
Module for the Nntp library.
const struct Module ModuleHelpbar
Module for the Helpbar library.
const struct Module ModuleHistory
Module for the History library.
const struct Module ModuleNotmuch
Module for the Notmuch library.
const struct Module ModuleKey
Module for the Key library.
const struct Module ModuleIndex
Module for the Index library.
const struct Module ModuleHooks
Module for the Hooks library.
static int log_disp_null(time_t stamp, const char *file, int line, const char *function, enum LogLevel level, const char *format,...)
Discard log lines - Implements log_dispatcher_t -.
int log_dispatcher_t MuttLogger
LogLevel
Names for the Logging Levels.
#define MUTT_MEM_CALLOC(n, type)
Convenience wrapper for the library headers.
Many unsorted constants and some structs.
void neomutt_cleanup(struct NeoMutt *n)
Clean up NeoMutt and Modules.
bool neomutt_init(struct NeoMutt *n, char **envp, const struct Module **modules)
Initialise NeoMutt.
struct NeoMutt * neomutt_new(void)
Create the main NeoMutt object.
void neomutt_free(struct NeoMutt **ptr)
Free a NeoMutt.
The envelope/body of an email.
struct Body * body
List of MIME parts.
Container for Accounts, Notifications.