NeoMutt  2024-04-16-36-g75b6fb
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
global.c File Reference

Global functions. More...

#include "config.h"
#include <stddef.h>
#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "core/lib.h"
#include "global.h"
#include "index/lib.h"
#include "key/lib.h"
#include "pager/lib.h"
#include "external.h"
#include "mutt_curses.h"
#include "mutt_mailbox.h"
#include "mutt_window.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 -.
 
static int op_enter_command (int op)
 Enter a neomuttrc command - Implements global_function_t -.
 
static int op_redraw (int op)
 Clear and redraw the screen - Implements global_function_t -.
 
static int op_shell_escape (int op)
 Invoke a command in a subshell - Implements global_function_t -.
 
static int op_show_log_messages (int op)
 Show log (and debug) messages - Implements global_function_t -.
 
static int op_version (int op)
 Show the NeoMutt version number - Implements global_function_t -.
 
static int op_what_key (int op)
 display the keycode for a key press - Implements global_function_t -
 
int global_function_dispatcher (struct MuttWindow *win, int op)
 Perform a Global function - Implements function_dispatcher_t -.
 

Variables

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

Detailed Description

Global functions.

Authors
  • Pietro Cerutti
  • Richard Russon
  • Dennis Schön

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

const struct GlobalFunction GlobalFunctions[]
static
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:71
static int op_check_stats(int op)
Calculate message statistics for all mailboxes - Implements global_function_t -.
Definition: global.c:51
static int op_enter_command(int op)
Enter a neomuttrc command - Implements global_function_t -.
Definition: global.c:61
static int op_shell_escape(int op)
Invoke a command in a subshell - Implements global_function_t -.
Definition: global.c:83
static int op_show_log_messages(int op)
Show log (and debug) messages - Implements global_function_t -.
Definition: global.c:100
static int op_what_key(int op)
display the keycode for a key press - Implements global_function_t -
Definition: global.c:143
static int op_version(int op)
Show the NeoMutt version number - Implements global_function_t -.
Definition: global.c:134

All the NeoMutt functions that the Global supports.

Definition at line 154 of file global.c.