NeoMutt  2025-12-11-58-g09398d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Command Struct Reference

#include "command.h"

Data Fields

const char * name
 Name of the command.
 
enum CommandResult(* parse )(const struct Command *cmd, struct Buffer *line, struct Buffer *err)
 
intptr_t data
 Data or flags to pass to the command.
 
const char * help
 One-line description of the Command.
 
const char * proto
 Command prototype.
 
const char * path
 Help path, relative to the NeoMutt Docs.
 
CommandFlags flags
 Command flags, e.g. CF_SYNONYM.
 

Detailed Description

Definition at line 57 of file command.h.

Field Documentation

◆ name

const char* Command::name

Name of the command.

Definition at line 59 of file command.h.

◆ parse

enum CommandResult(* Command::parse) (const struct Command *cmd, struct Buffer *line, struct Buffer *err)

Definition at line 59 of file command.h.

◆ data

intptr_t Command::data

Data or flags to pass to the command.

Definition at line 77 of file command.h.

◆ help

const char* Command::help

One-line description of the Command.

Definition at line 79 of file command.h.

◆ proto

const char* Command::proto

Command prototype.

Definition at line 80 of file command.h.

◆ path

const char* Command::path

Help path, relative to the NeoMutt Docs.

Definition at line 81 of file command.h.

◆ flags

CommandFlags Command::flags

Command flags, e.g. CF_SYNONYM.

Definition at line 83 of file command.h.


The documentation for this struct was generated from the following file: