NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
parse.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_COMMANDS_PARSE_H
24
#define MUTT_COMMANDS_PARSE_H
25
26
#include "
core/lib.h
"
27
28
struct
Buffer
;
29
struct
ParseContext
;
30
struct
ParseError
;
31
32
enum
CommandResult
parse_cd
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
33
enum
CommandResult
parse_echo
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
34
enum
CommandResult
parse_version
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
35
36
#endif
/* MUTT_COMMANDS_PARSE_H */
CommandResult
CommandResult
Error codes for command_t parse functions.
Definition
command.h:37
lib.h
Convenience wrapper for the core headers.
parse_echo
enum CommandResult parse_echo(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'echo' command - Implements Command::parse() -.
Definition
parse.c:96
parse_cd
enum CommandResult parse_cd(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'cd' command - Implements Command::parse() -.
Definition
parse.c:59
parse_version
enum CommandResult parse_version(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'version' command - Implements Command::parse() -.
Definition
parse.c:125
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