Prototype for a Global Function.
More...
Prototype for a Global Function.
- Parameters
-
op | Operation to perform, e.g. OP_VERSION |
- Return values
-
◆ op_check_stats()
static int op_check_stats |
( |
int |
op | ) |
|
|
static |
Calculate message statistics for all mailboxes - Implements global_function_t -.
Definition at line 49 of file global.c.
50{
54}
@ FR_SUCCESS
Valid function - successfully performed.
struct Mailbox * get_current_mailbox(void)
Get the current Mailbox.
int mutt_mailbox_check(struct Mailbox *m_cur, CheckStatsFlags flags)
Check all all Mailboxes for new mail.
#define MUTT_MAILBOX_CHECK_FORCE_STATS
Ignore MailboxType and calculate statistics.
#define MUTT_MAILBOX_CHECK_FORCE
Ignore MailboxTime and check for new mail.
◆ op_enter_command()
static int op_enter_command |
( |
int |
op | ) |
|
|
static |
Enter a neomuttrc command - Implements global_function_t -.
Definition at line 59 of file global.c.
60{
64}
void mutt_enter_command(void)
Enter a neomutt command.
void window_redraw(struct MuttWindow *win)
Reflow, recalc and repaint a tree of Windows.
◆ op_redraw()
static int op_redraw |
( |
int |
op | ) |
|
|
static |
Clear and redraw the screen - Implements global_function_t -.
Definition at line 69 of file global.c.
70{
71 clearok(stdscr, true);
76}
void mutt_resize_screen(void)
Update NeoMutt's opinion about the window size.
void window_invalidate_all(void)
Mark all windows as in need of repaint.
◆ op_shell_escape()
static int op_shell_escape |
( |
int |
op | ) |
|
|
static |
Invoke a command in a subshell - Implements global_function_t -.
Definition at line 81 of file global.c.
82{
84 {
87 }
89}
bool mutt_shell_escape(void)
Invoke a command in a subshell.
◆ op_show_log_messages()
static int op_show_log_messages |
( |
int |
op | ) |
|
|
static |
Show log (and debug) messages - Implements global_function_t -.
Definition at line 94 of file global.c.
95{
98
100 if (!fp)
101 {
105 }
106
109
112
114
115 pview.
banner =
"messages";
118
121
123}
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
@ FR_ERROR
Valid function - error occurred.
FILE * mutt_file_fopen(const char *path, const char *mode)
Call fopen() safely.
int mutt_file_fclose(FILE **fp)
Close a FILE handle (and NULL the pointer)
int log_queue_save(FILE *fp)
Save the contents of the queue to a temporary file.
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
String manipulation buffer.
◆ op_version()
static int op_version |
( |
int |
op | ) |
|
|
static |
Show the NeoMutt version number - Implements global_function_t -.
Definition at line 128 of file global.c.
129{
132}
#define mutt_message(...)
const char * mutt_make_version(void)
Generate the NeoMutt version string.
◆ op_what_key()
static int op_what_key |
( |
int |
op | ) |
|
|
static |
display the keycode for a key press - Implements global_function_t -
Definition at line 137 of file global.c.
138{
141}
void mw_what_key(void)
Display the value of a key -.