NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mutt_lua.h File Reference

Integrated Lua scripting. More...

#include <stdint.h>
#include "core/lib.h"
+ Include dependency graph for mutt_lua.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

enum CommandResult mutt_lua_parse (struct Buffer *tmp, struct Buffer *s, intptr_t data, struct Buffer *err)
 Parse the 'lua' command - Implements Command::parse() -.
 
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() -.
 
void mutt_lua_init (void)
 Setup feature commands.
 

Detailed Description

Integrated Lua scripting.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file mutt_lua.h.

Function Documentation

◆ mutt_lua_init()

void mutt_lua_init ( void  )

Setup feature commands.

Definition at line 463 of file mutt_lua.c.

464{
466}
void commands_register(const struct Command *cmds, const size_t num_cmds)
Add commands to Commands array.
Definition: command.c:53
#define mutt_array_size(x)
Definition: memory.h:38
static const struct Command LuaCommands[]
List of NeoMutt commands to register.
Definition: mutt_lua.c:61
+ Here is the call graph for this function:
+ Here is the caller graph for this function: