NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
ICommand Struct Reference

An Informational Command. More...

#include "icommands.h"

Data Fields

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 information commands. More...
 
intptr_t data
 Private data to pass to the command. More...
 

Detailed Description

An Informational Command.

Definition at line 35 of file icommands.h.

Field Documentation

◆ name

char* ICommand::name

Name of the command.

Definition at line 37 of file icommands.h.

◆ parse

enum CommandResult(* ICommand::parse) (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)

Function to parse information commands.

Parameters
bufCommand
sEntire command line
dataPrivate data to pass to parse function
errBuffer for error messages
Return values
CommandResultResult, e.g. MUTT_CMD_SUCCESS

Definition at line 47 of file icommands.h.

◆ data

intptr_t ICommand::data

Private data to pass to the command.

Definition at line 49 of file icommands.h.


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