NeoMutt  2022-04-29-145-g9b6a0e
Teaching an old dog new tricks
DOXYGEN
functions.c File Reference

Definitions of user functions. More...

#include "config.h"
#include <stddef.h>
#include "keymap.h"
#include "opcodes.h"
+ Include dependency graph for functions.c:

Go to the source code of this file.

Variables

const struct MenuFuncOp OpAlias []
 Functions for the Alias Menu. More...
 
const struct MenuFuncOp OpAttach []
 Functions for the Attachment Menu. More...
 
const struct MenuFuncOp OpAutocrypt []
 Functions for the Autocrypt Account. More...
 
const struct MenuFuncOp OpBrowser []
 Functions for the file Browser Menu. More...
 
const struct MenuFuncOp OpCompose []
 Functions for the Compose Menu. More...
 
const struct MenuFuncOp OpEditor []
 Functions for the Editor Menu. More...
 
const struct MenuFuncOp OpGeneric []
 Functions for the Generic Menu. More...
 
const struct MenuFuncOp OpIndex []
 Functions for the Index Menu. More...
 
const struct MenuFuncOp OpMix []
 Functions for the Mixmaster Menu. More...
 
const struct MenuFuncOp OpPager []
 Functions for the Pager Menu. More...
 
const struct MenuFuncOp OpPgp []
 Functions for the Pgp Menu. More...
 
const struct MenuFuncOp OpPostpone []
 Functions for the Postpone Menu. More...
 
const struct MenuFuncOp OpQuery []
 Functions for the external Query Menu. More...
 
const struct MenuFuncOp OpSmime []
 Functions for the Smime Menu. More...
 
const struct MenuOpSeq AliasDefaultBindings []
 Key bindings for the Alias Menu. More...
 
const struct MenuOpSeq AttachDefaultBindings []
 Key bindings for the Attachment Menu. More...
 
const struct MenuOpSeq AutocryptAcctDefaultBindings []
 Key bindings for the Autocrypt Account. More...
 
const struct MenuOpSeq BrowserDefaultBindings []
 Key bindings for the file Browser Menu. More...
 
const struct MenuOpSeq ComposeDefaultBindings []
 Key bindings for the Compose Menu. More...
 
const struct MenuOpSeq EditorDefaultBindings []
 Key bindings for the Editor Menu. More...
 
const struct MenuOpSeq GenericDefaultBindings []
 Key bindings for the Generic Menu. More...
 
const struct MenuOpSeq IndexDefaultBindings []
 Key bindings for the Index Menu. More...
 
const struct MenuOpSeq MixDefaultBindings []
 Key bindings for the Mixmaster Menu. More...
 
const struct MenuOpSeq PagerDefaultBindings []
 Key bindings for the Pager Menu. More...
 
const struct MenuOpSeq PgpDefaultBindings []
 Key bindings for the Pgp Menu. More...
 
const struct MenuOpSeq PostDefaultBindings []
 Key bindings for the Postpone Menu. More...
 
const struct MenuOpSeq QueryDefaultBindings []
 Key bindings for the external Query Menu. More...
 
const struct MenuOpSeq SmimeDefaultBindings []
 Key bindings for the Smime Menu. More...
 

Detailed Description

Definitions of user functions.

Authors
  • Michael R. Elkins

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

◆ OpAlias

const struct MenuFuncOp OpAlias[]
Initial value:
= {
{ "delete-entry", OP_DELETE },
{ "exit", OP_EXIT },
{ "limit", OP_MAIN_LIMIT },
{ "mail", OP_MAIL },
{ "sort-alias", OP_SORT },
{ "sort-alias-reverse", OP_SORT_REVERSE },
{ "undelete-entry", OP_UNDELETE },
{ NULL, 0 },
}

Functions for the Alias Menu.

Definition at line 1 of file functions.c.

◆ OpAttach

const struct MenuFuncOp OpAttach[]

Functions for the Attachment Menu.

Definition at line 1 of file functions.c.

◆ OpAutocrypt

const struct MenuFuncOp OpAutocrypt[]
Initial value:
= {
{ "create-account", OP_AUTOCRYPT_CREATE_ACCT },
{ "delete-account", OP_AUTOCRYPT_DELETE_ACCT },
{ "exit", OP_EXIT },
{ "toggle-active", OP_AUTOCRYPT_TOGGLE_ACTIVE },
{ "toggle-prefer-encrypt", OP_AUTOCRYPT_TOGGLE_PREFER },
{ NULL, 0 }
}

Functions for the Autocrypt Account.

Definition at line 1 of file functions.c.

◆ OpBrowser

const struct MenuFuncOp OpBrowser[]

Functions for the file Browser Menu.

Definition at line 1 of file functions.c.

◆ OpCompose

const struct MenuFuncOp OpCompose[]

Functions for the Compose Menu.

Definition at line 1 of file functions.c.

◆ OpEditor

const struct MenuFuncOp OpEditor[]
Initial value:
= {
{ "backspace", OP_EDITOR_BACKSPACE },
{ "backward-char", OP_EDITOR_BACKWARD_CHAR },
{ "backward-word", OP_EDITOR_BACKWARD_WORD },
{ "bol", OP_EDITOR_BOL },
{ "capitalize-word", OP_EDITOR_CAPITALIZE_WORD },
{ "complete", OP_EDITOR_COMPLETE },
{ "complete-query", OP_EDITOR_COMPLETE_QUERY },
{ "delete-char", OP_EDITOR_DELETE_CHAR },
{ "downcase-word", OP_EDITOR_DOWNCASE_WORD },
{ "eol", OP_EDITOR_EOL },
{ "exit", OP_EXIT },
{ "forward-char", OP_EDITOR_FORWARD_CHAR },
{ "forward-word", OP_EDITOR_FORWARD_WORD },
{ "history-down", OP_EDITOR_HISTORY_DOWN },
{ "history-search", OP_EDITOR_HISTORY_SEARCH },
{ "history-up", OP_EDITOR_HISTORY_UP },
{ "kill-eol", OP_EDITOR_KILL_EOL },
{ "kill-eow", OP_EDITOR_KILL_EOW },
{ "kill-line", OP_EDITOR_KILL_LINE },
{ "kill-whole-line", OP_EDITOR_KILL_WHOLE_LINE },
{ "kill-word", OP_EDITOR_KILL_WORD },
{ "mailbox-cycle", OP_EDITOR_MAILBOX_CYCLE },
{ "quote-char", OP_EDITOR_QUOTE_CHAR },
{ "transpose-chars", OP_EDITOR_TRANSPOSE_CHARS },
{ "upcase-word", OP_EDITOR_UPCASE_WORD },
{ "buffy-cycle", OP_EDITOR_MAILBOX_CYCLE },
{ NULL, 0 },
}

Functions for the Editor Menu.

Definition at line 1 of file functions.c.

◆ OpGeneric

const struct MenuFuncOp OpGeneric[]

Functions for the Generic Menu.

Definition at line 1 of file functions.c.

◆ OpIndex

const struct MenuFuncOp OpIndex[]

Functions for the Index Menu.

Definition at line 1 of file functions.c.

◆ OpMix

const struct MenuFuncOp OpMix[]
Initial value:
= {
{ "accept", OP_MIX_USE },
{ "append", OP_MIX_APPEND },
{ "chain-next", OP_MIX_CHAIN_NEXT },
{ "chain-prev", OP_MIX_CHAIN_PREV },
{ "delete", OP_MIX_DELETE },
{ "exit", OP_EXIT },
{ "insert", OP_MIX_INSERT },
{ NULL, 0 },
}

Functions for the Mixmaster Menu.

Definition at line 1 of file functions.c.

◆ OpPager

const struct MenuFuncOp OpPager[]

Functions for the Pager Menu.

Definition at line 1 of file functions.c.

◆ OpPgp

const struct MenuFuncOp OpPgp[]
Initial value:
= {
{ "exit", OP_EXIT },
{ "verify-key", OP_VERIFY_KEY },
{ "view-name", OP_VIEW_ID },
{ NULL, 0 },
}

Functions for the Pgp Menu.

Definition at line 1 of file functions.c.

◆ OpPostpone

const struct MenuFuncOp OpPostpone[]
Initial value:
= {
{ "exit", OP_EXIT },
{ "delete-entry", OP_DELETE },
{ "undelete-entry", OP_UNDELETE },
{ NULL, 0 },
}

Functions for the Postpone Menu.

Definition at line 1 of file functions.c.

◆ OpQuery

const struct MenuFuncOp OpQuery[]
Initial value:
= {
{ "create-alias", OP_CREATE_ALIAS },
{ "exit", OP_EXIT },
{ "limit", OP_MAIN_LIMIT },
{ "mail", OP_MAIL },
{ "query", OP_QUERY },
{ "query-append", OP_QUERY_APPEND },
{ "sort", OP_SORT },
{ "sort-reverse", OP_SORT_REVERSE },
{ NULL, 0 },
}

Functions for the external Query Menu.

Definition at line 1 of file functions.c.

◆ OpSmime

const struct MenuFuncOp OpSmime[]
Initial value:
= {
{ "exit", OP_EXIT },
{ "verify-key", OP_VERIFY_KEY },
{ "view-name", OP_VIEW_ID },
{ NULL, 0 },
}

Functions for the Smime Menu.

Definition at line 1 of file functions.c.

◆ AliasDefaultBindings

const struct MenuOpSeq AliasDefaultBindings[]
Initial value:
= {
{ OP_DELETE, "d" },
{ OP_EXIT, "q" },
{ OP_MAIL, "m" },
{ OP_MAIN_LIMIT, "l" },
{ OP_SORT, "o" },
{ OP_SORT_REVERSE, "O" },
{ OP_TAG, "<space>" },
{ OP_UNDELETE, "u" },
{ 0, NULL },
}

Key bindings for the Alias Menu.

Definition at line 1 of file functions.c.

◆ AttachDefaultBindings

const struct MenuOpSeq AttachDefaultBindings[]
Initial value:
= {
{ OP_ATTACHMENT_COLLAPSE, "v" },
{ OP_ATTACHMENT_DELETE, "d" },
{ OP_ATTACHMENT_EDIT_TYPE, "\005" },
{ OP_EXIT, "q" },
{ OP_PIPE, "|" },
{ OP_ATTACHMENT_PRINT, "p" },
{ OP_ATTACHMENT_SAVE, "s" },
{ OP_ATTACHMENT_UNDELETE, "u" },
{ OP_ATTACHMENT_VIEW, "<keypadenter>" },
{ OP_ATTACHMENT_VIEW, "\n" },
{ OP_ATTACHMENT_VIEW, "\r" },
{ OP_ATTACHMENT_VIEW_MAILCAP, "m" },
{ OP_ATTACHMENT_VIEW_TEXT, "T" },
{ OP_BOUNCE_MESSAGE, "b" },
{ OP_CHECK_TRADITIONAL, "\033P" },
{ OP_DISPLAY_HEADERS, "h" },
{ OP_EXTRACT_KEYS, "\013" },
{ OP_FORGET_PASSPHRASE, "\006" },
{ OP_FORWARD_MESSAGE, "f" },
{ OP_GROUP_REPLY, "g" },
{ OP_LIST_REPLY, "L" },
{ OP_REPLY, "r" },
{ OP_RESEND, "\033e" },
{ 0, NULL },
}

Key bindings for the Attachment Menu.

Definition at line 1 of file functions.c.

◆ AutocryptAcctDefaultBindings

const struct MenuOpSeq AutocryptAcctDefaultBindings[]
Initial value:
= {
{ OP_AUTOCRYPT_CREATE_ACCT, "c" },
{ OP_AUTOCRYPT_DELETE_ACCT, "D" },
{ OP_AUTOCRYPT_TOGGLE_ACTIVE, "a" },
{ OP_AUTOCRYPT_TOGGLE_PREFER, "p" },
{ OP_EXIT, "q" },
{ 0, NULL }
}

Key bindings for the Autocrypt Account.

Definition at line 1 of file functions.c.

◆ BrowserDefaultBindings

const struct MenuOpSeq BrowserDefaultBindings[]

Key bindings for the file Browser Menu.

Definition at line 1 of file functions.c.

◆ ComposeDefaultBindings

const struct MenuOpSeq ComposeDefaultBindings[]

Key bindings for the Compose Menu.

Definition at line 1 of file functions.c.

◆ EditorDefaultBindings

const struct MenuOpSeq EditorDefaultBindings[]

Key bindings for the Editor Menu.

Definition at line 1 of file functions.c.

◆ GenericDefaultBindings

const struct MenuOpSeq GenericDefaultBindings[]

Key bindings for the Generic Menu.

Definition at line 1 of file functions.c.

◆ IndexDefaultBindings

const struct MenuOpSeq IndexDefaultBindings[]

Key bindings for the Index Menu.

Definition at line 1 of file functions.c.

◆ MixDefaultBindings

const struct MenuOpSeq MixDefaultBindings[]
Initial value:
= {
{ OP_EXIT, "q" },
{ OP_GENERIC_SELECT_ENTRY, "<space>" },
{ OP_MIX_APPEND, "a" },
{ OP_MIX_CHAIN_NEXT, "<right>" },
{ OP_MIX_CHAIN_NEXT, "l" },
{ OP_MIX_CHAIN_PREV, "<left>" },
{ OP_MIX_CHAIN_PREV, "h" },
{ OP_MIX_DELETE, "d" },
{ OP_MIX_INSERT, "i" },
{ OP_MIX_USE, "<keypadenter>" },
{ OP_MIX_USE, "\n" },
{ OP_MIX_USE, "\r" },
{ 0, NULL },
}

Key bindings for the Mixmaster Menu.

Definition at line 1 of file functions.c.

◆ PagerDefaultBindings

const struct MenuOpSeq PagerDefaultBindings[]

Key bindings for the Pager Menu.

Definition at line 1 of file functions.c.

◆ PgpDefaultBindings

const struct MenuOpSeq PgpDefaultBindings[]
Initial value:
= {
{ OP_EXIT, "q" },
{ OP_VERIFY_KEY, "c" },
{ OP_VIEW_ID, "%" },
{ 0, NULL },
}

Key bindings for the Pgp Menu.

Definition at line 1 of file functions.c.

◆ PostDefaultBindings

const struct MenuOpSeq PostDefaultBindings[]
Initial value:
= {
{ OP_DELETE, "d" },
{ OP_EXIT, "q" },
{ OP_UNDELETE, "u" },
{ 0, NULL },
}

Key bindings for the Postpone Menu.

Definition at line 1 of file functions.c.

◆ QueryDefaultBindings

const struct MenuOpSeq QueryDefaultBindings[]
Initial value:
= {
{ OP_CREATE_ALIAS, "a" },
{ OP_EXIT, "q" },
{ OP_MAIL, "m" },
{ OP_MAIN_LIMIT, "l" },
{ OP_QUERY, "Q" },
{ OP_QUERY_APPEND, "A" },
{ OP_SORT, "o" },
{ OP_SORT_REVERSE, "O" },
{ 0, NULL },
}

Key bindings for the external Query Menu.

Definition at line 1 of file functions.c.

◆ SmimeDefaultBindings

const struct MenuOpSeq SmimeDefaultBindings[]
Initial value:
= {
{ OP_EXIT, "q" },
{ OP_VERIFY_KEY, "c" },
{ OP_VIEW_ID, "%" },
{ 0, NULL },
}

Key bindings for the Smime Menu.

Definition at line 1 of file functions.c.