NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.c File Reference

History functions. More...

#include "config.h"
#include <stddef.h>
#include "mutt/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "functions.h"
#include "key/lib.h"
#include "menu/lib.h"
+ Include dependency graph for functions.c:

Go to the source code of this file.

Functions

static int op_generic_select_entry (struct HistoryData *hd, const struct KeyEvent *event)
 Select the current entry - Implements history_function_t -.
 
static int op_quit (struct HistoryData *hd, const struct KeyEvent *event)
 Quit this menu - Implements history_function_t -.
 
int history_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event)
 Perform a History function - Implements function_dispatcher_t -.
 

Variables

static const struct HistoryFunction HistoryFunctions []
 All the NeoMutt functions that the History supports.
 

Detailed Description

History functions.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file functions.c.

Variable Documentation

◆ HistoryFunctions

const struct HistoryFunction HistoryFunctions[]
static
Initial value:
= {
{ OP_GENERIC_SELECT_ENTRY, op_generic_select_entry },
{ OP_QUIT, op_quit },
{ OP_EXIT, op_quit },
{ 0, NULL },
}
static int op_generic_select_entry(struct AliasMenuData *mdata, const struct KeyEvent *event)
select the current entry - Implements alias_function_t -
Definition functions.c:248
static int op_quit(struct HistoryData *hd, const struct KeyEvent *event)
Quit this menu - Implements history_function_t -.
Definition functions.c:57

All the NeoMutt functions that the History supports.

Definition at line 69 of file functions.c.

69 {
70 // clang-format off
71 { OP_GENERIC_SELECT_ENTRY, op_generic_select_entry },
72 { OP_QUIT, op_quit },
73 { OP_EXIT, op_quit },
74 { 0, NULL },
75 // clang-format on
76};