NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
global.c File Reference

Global functions. More...

#include "config.h"
#include <stddef.h>
#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "core/lib.h"
#include "global.h"
#include "lib.h"
#include "index/lib.h"
#include "pager/lib.h"
#include "commands.h"
#include "keymap.h"
#include "mutt_mailbox.h"
#include "muttlib.h"
#include "opcodes.h"
+ Include dependency graph for global.c:

Go to the source code of this file.

Functions

static int op_check_stats (int op)
 Calculate message statistics for all mailboxes - Implements global_function_t -. More...
 
static int op_enter_command (int op)
 Enter a neomuttrc command - Implements global_function_t -. More...
 
static int op_redraw (int op)
 Clear and redraw the screen - Implements global_function_t -. More...
 
static int op_shell_escape (int op)
 Invoke a command in a subshell - Implements global_function_t -. More...
 
static int op_show_log_messages (int op)
 Show log (and debug) messages - Implements global_function_t -. More...
 
static int op_version (int op)
 Show the NeoMutt version number - Implements global_function_t -. More...
 
static int op_what_key (int op)
 display the keycode for a key press - Implements global_function_t - More...
 
int global_function_dispatcher (struct MuttWindow *win, int op)
 Perform a Global function - Implements function_dispatcher_t -. More...
 

Variables

struct GlobalFunction GlobalFunctions []
 All the NeoMutt functions that the Global supports. More...
 

Detailed Description

Global 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 global.c.

Variable Documentation

◆ GlobalFunctions

struct GlobalFunction GlobalFunctions[]
Initial value:
= {
{ OP_CHECK_STATS, op_check_stats },
{ OP_ENTER_COMMAND, op_enter_command },
{ OP_REDRAW, op_redraw },
{ OP_SHELL_ESCAPE, op_shell_escape },
{ OP_SHOW_LOG_MESSAGES, op_show_log_messages },
{ OP_VERSION, op_version },
{ OP_WHAT_KEY, op_what_key },
{ 0, NULL },
}
static int op_redraw(int op)
Clear and redraw the screen - Implements global_function_t -.
Definition: global.c:69
static int op_check_stats(int op)
Calculate message statistics for all mailboxes - Implements global_function_t -.
Definition: global.c:49
static int op_enter_command(int op)
Enter a neomuttrc command - Implements global_function_t -.
Definition: global.c:59
static int op_shell_escape(int op)
Invoke a command in a subshell - Implements global_function_t -.
Definition: global.c:81
static int op_show_log_messages(int op)
Show log (and debug) messages - Implements global_function_t -.
Definition: global.c:94
static int op_what_key(int op)
display the keycode for a key press - Implements global_function_t -
Definition: global.c:135
static int op_version(int op)
Show the NeoMutt version number - Implements global_function_t -.
Definition: global.c:126

All the NeoMutt functions that the Global supports.

Definition at line 146 of file global.c.