NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
commands.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_COMMANDS_COMMANDS_H
24
#define MUTT_COMMANDS_COMMANDS_H
25
26
#include "
core/lib.h
"
27
28
const
struct
Command
*
command_find_by_id
(
const
struct
CommandArray *ca,
enum
CommandId
id
);
29
const
struct
Command
*
command_find_by_name
(
const
struct
CommandArray *ca,
const
char
*
name
);
30
31
#endif
/* MUTT_COMMANDS_COMMANDS_H */
CommandId
CommandId
ID of Command.
Definition
command.h:61
command_find_by_name
const struct Command * command_find_by_name(const struct CommandArray *ca, const char *name)
Find a NeoMutt Command by its name.
Definition
commands.c:145
command_find_by_id
const struct Command * command_find_by_id(const struct CommandArray *ca, enum CommandId id)
Find a NeoMutt Command by its CommandId.
Definition
commands.c:120
lib.h
Convenience wrapper for the core headers.
Command
Definition
command.h:161
Command::name
const char * name
Name of the Command.
Definition
command.h:162