NeoMutt  2024-03-23-142-g2b2e76
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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:36
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:494
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:472
void mutt_lua_init(void)
Setup feature commands.
Definition: mutt_lua.c:464
String manipulation buffer.
Definition: buffer.h:36
char * data
Pointer to data.
Definition: buffer.h:37