NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
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
28const struct Command *command_find_by_id (const struct CommandArray *ca, enum CommandId id);
29const struct Command *command_find_by_name(const struct CommandArray *ca, const char *name);
30
31#endif /* MUTT_COMMANDS_COMMANDS_H */
CommandId
ID of Command.
Definition command.h:58
const struct Command * command_find_by_name(const struct CommandArray *ca, const char *name)
Find a NeoMutt Command by its name.
Definition commands.c:171
const struct Command * command_find_by_id(const struct CommandArray *ca, enum CommandId id)
Find a NeoMutt Command by its CommandId.
Definition commands.c:146
Convenience wrapper for the core headers.
const char * name
Name of the Command.
Definition command.h:159