NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
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
28struct Buffer;
29struct ParseContext;
30struct ParseError;
31
32enum CommandResult parse_cd (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe);
33enum CommandResult parse_echo (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe);
34enum 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
Error codes for command_t parse functions.
Definition command.h:37
Convenience wrapper for the core headers.
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
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
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
String manipulation buffer.
Definition buffer.h:36
Context for config parsing (history/backtrace)
Definition pcontext.h:34
Detailed error information from config parsing.
Definition perror.h:34