NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
lib.h
Go to the documentation of this file.
1
22
34
35
#ifndef MUTT_LUA_LIB_H
36
#define MUTT_LUA_LIB_H
37
38
#ifdef USE_LUA
39
40
struct
Buffer
;
41
struct
Command
;
42
struct
ParseContext
;
43
struct
ParseError
;
44
45
enum
CommandResult
parse_lua
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
46
enum
CommandResult
parse_lua_source
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
47
48
#endif
49
50
#endif
/* MUTT_LUA_LIB_H */
CommandResult
CommandResult
Error codes for command_t parse functions.
Definition
command.h:37
parse_lua_source
enum CommandResult parse_lua_source(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'lua-source' command - Implements Command::parse() -.
Definition
commands.c:99
parse_lua
enum CommandResult parse_lua(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'lua' command - Implements Command::parse() -.
Definition
commands.c:56
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