16static int log_disp_null(time_t stamp,
const char *file,
int line,
const char *function,
17 enum LogLevel level,
const char *format, ...)
29 char file[] =
"/tmp/mutt-fuzz";
30 FILE *fp = fopen(file,
"wb");
34 fwrite(data, 1, size, fp);
36 fp = fopen(file,
"rb");
Convenience wrapper for the config headers.
void cs_free(struct ConfigSet **ptr)
Free a Config Set.
struct ConfigSet * cs_new(size_t size)
Create a new Config Set.
Convenience wrapper for the core headers.
struct Email * email_new(void)
Create a new Email.
void email_free(struct Email **ptr)
Free an Email.
Structs that make up an email.
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.
void mutt_env_free(struct Envelope **ptr)
Free an Envelope.
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
bool OptNoCurses
(pseudo) when sending in batch mode
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 -.
void init_config(struct ConfigSet *cs)
Initialise the config system.
int(*) log_dispatcher_ MuttLogger)
LogLevel
Names for the Logging Levels.
Convenience wrapper for the library headers.
struct NeoMutt * neomutt_new(struct ConfigSet *cs)
Create the main NeoMutt object.
void neomutt_free(struct NeoMutt **ptr)
Free a NeoMutt.
Container for lots of config items.
The envelope/body of an email.
struct Body * body
List of MIME parts.
Container for Accounts, Notifications.