A user-callable command. More...
#include "mutt_commands.h"
Data Fields | |
const char * | name |
Name of the command. More... | |
enum CommandResult(* | parse )(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Function to parse a command. More... | |
intptr_t | data |
Data or flags to pass to the command. More... | |
A user-callable command.
Definition at line 45 of file mutt_commands.h.
const char* Command::name |
Name of the command.
Definition at line 47 of file mutt_commands.h.
enum CommandResult(* Command::parse) (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Function to parse a command.
buf | Temporary Buffer space |
s | Buffer containing string to be parsed |
data | Flags associated with the command |
err | Buffer for error messages |
CommandResult | Result e.g. MUTT_CMD_SUCCESS |
Definition at line 57 of file mutt_commands.h.
intptr_t Command::data |
Data or flags to pass to the command.
Definition at line 59 of file mutt_commands.h.