Thanks to visit codestin.com
Credit goes to code.neomutt.org

NeoMutt  2025-12-11-189-gceedb6
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 CommandId id
 ID 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 157 of file command.h.

Field Documentation

◆ name

const char* Command::name

Name of the Command.

Definition at line 159 of file command.h.

◆ id

enum CommandId Command::id

ID of the Command.

Definition at line 160 of file command.h.

◆ parse

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

Definition at line 160 of file command.h.

◆ data

intptr_t Command::data

Data or flags to pass to the command.

Definition at line 178 of file command.h.

◆ help

const char* Command::help

One-line description of the Command.

Definition at line 180 of file command.h.

◆ proto

const char* Command::proto

Command prototype.

Definition at line 181 of file command.h.

◆ path

const char* Command::path

Help path, relative to the NeoMutt Docs.

Definition at line 182 of file command.h.

◆ flags

CommandFlags Command::flags

Command flags, e.g. CF_SYNONYM.

Definition at line 184 of file command.h.


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