NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
spam.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_EMAIL_SPAM_H
24
#define MUTT_EMAIL_SPAM_H
25
26
#include "
core/lib.h
"
27
28
struct
Buffer
;
29
struct
ParseContext
;
30
struct
ParseError
;
31
32
enum
CommandResult
parse_nospam
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
33
enum
CommandResult
parse_spam
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
34
35
#endif
/* MUTT_EMAIL_SPAM_H */
CommandResult
CommandResult
Error codes for command_t parse functions.
Definition
command.h:37
lib.h
Convenience wrapper for the core headers.
parse_nospam
enum CommandResult parse_nospam(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'nospam' command - Implements Command::parse() -.
Definition
spam.c:51
parse_spam
enum CommandResult parse_spam(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'spam' command - Implements Command::parse() -.
Definition
spam.c:113
Buffer
String manipulation buffer.
Definition
buffer.h:36
Command
Definition
command.h:161
ParseContext
Context for config parsing (history/backtrace).
Definition
pcontext.h:34
ParseError
Detailed error information from config parsing.
Definition
perror.h:34