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 51 of file global.c.
52{
56}
@ 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_STATS
Ignore mail_check_stats and calculate statistics (used by <check-stats>)
#define MUTT_MAILBOX_CHECK_POSTPONED
Make sure the number of postponed messages is updated.
◆ op_enter_command()
static int op_enter_command |
( |
int |
op | ) |
|
|
static |
Enter a neomuttrc command - Implements global_function_t -.
Definition at line 61 of file global.c.
62{
66}
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 71 of file global.c.
72{
73 clearok(stdscr, true);
78}
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 83 of file global.c.
84{
86 {
88 if (m_cur)
89 {
92 }
93 }
95}
bool mutt_shell_escape(void)
Invoke a command in a subshell.
time_t last_checked
Last time we checked this mailbox for new mail.
◆ 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 100 of file global.c.
101{
104
106 if (!fp)
107 {
111 }
112
115
118
120
121 pview.
banner =
"messages";
124
127
129}
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
@ FR_ERROR
Valid function - error occurred.
#define mutt_file_fclose(FP)
#define mutt_file_fopen(PATH, MODE)
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 134 of file global.c.
135{
138}
#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 143 of file global.c.
144{
147}
void mw_what_key(void)
Display the value of a key -.