NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.c File Reference

Pattern functions. More...

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

Go to the source code of this file.

Functions

static int op_generic_select_entry (struct PatternData *pd, int op)
 Select the current entry - Implements pattern_function_t -.
 
static int op_quit (struct PatternData *pd, int op)
 Quit this menu - Implements pattern_function_t -.
 
int pattern_function_dispatcher (struct MuttWindow *win, int op)
 Perform a Pattern function - Implements function_dispatcher_t -.
 

Variables

static const struct PatternFunction PatternFunctions []
 All the NeoMutt functions that the Pattern supports.
 

Detailed Description

Pattern 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

◆ PatternFunctions

const struct PatternFunction PatternFunctions[]
static
Initial value:
= {
{ OP_GENERIC_SELECT_ENTRY, op_generic_select_entry },
{ OP_QUIT, op_quit },
{ 0, NULL },
}
static int op_generic_select_entry(struct AliasMenuData *mdata, int op)
select the current entry - Implements alias_function_t -
Definition: functions.c:215
static int op_quit(struct HistoryData *hd, int op)
Quit this menu - Implements history_function_t -.
Definition: functions.c:56

All the NeoMutt functions that the Pattern supports.

Definition at line 70 of file functions.c.