NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
mutt_lua.h
Go to the documentation of this file.
1
23#ifndef MUTT_MUTT_LUA_H
24#define MUTT_MUTT_LUA_H
25
26#include <stdint.h>
27#include "core/lib.h"
28
29struct Buffer;
30
31enum CommandResult mutt_lua_parse (struct Buffer *tmp, struct Buffer *s, intptr_t data, struct Buffer *err);
32enum CommandResult mutt_lua_source_file(struct Buffer *tmp, struct Buffer *s, intptr_t data, struct Buffer *err);
33
34void mutt_lua_init(void);
35
36#endif /* MUTT_MUTT_LUA_H */
CommandResult
Error codes for command_t parse functions.
Definition: command.h:34
Convenience wrapper for the core headers.
enum CommandResult mutt_lua_source_file(struct Buffer *tmp, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'lua-source' command - Implements Command::parse() -.
Definition: mutt_lua.c:499
enum CommandResult mutt_lua_parse(struct Buffer *tmp, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'lua' command - Implements Command::parse() -.
Definition: mutt_lua.c:477
void mutt_lua_init(void)
Setup feature commands.
Definition: mutt_lua.c:469
String manipulation buffer.
Definition: buffer.h:34
char * data
Pointer to data.
Definition: buffer.h:35