#include "config.h"#include <stdbool.h>#include <stdio.h>#include "mutt/lib.h"#include "address/lib.h"#include "config/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "functions.h"#include "lib.h"#include "editor/lib.h"#include "history/lib.h"#include "key/lib.h"#include "menu/lib.h"#include "pattern/lib.h"#include "question/lib.h"#include "alias.h"#include "gui.h"#include "module_data.h"#include "sort.h"
Include dependency graph for functions.c:Go to the source code of this file.
Functions | |
| void | alias_init_keys (struct NeoMutt *n, struct SubMenu *sm_generic) |
| Initialise the Alias Keybindings - Implements ::init_keys_api. | |
| static int | op_create_alias (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| create an alias from a message sender - Implements alias_function_t - | |
| static int | alias_add_selection (struct AliasViewPtrArray *avpa, struct AliasMenuData *mdata, bool tagged, int count) |
| Build a working set of AliasView pointers for an action. | |
| static void | alias_apply_set_deleted (struct AliasViewPtrArray *avpa, bool deleted) |
| Apply the deleted flag to a working set of AliasViews. | |
| static int | op_delete (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| delete the current entry - Implements alias_function_t - | |
| static int | op_exit (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| exit this menu - Implements alias_function_t - | |
| static int | op_jump (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| Jump to an index number - Implements alias_function_t -. | |
| static int | alias_select_entries (struct AliasMenuData *mdata, int count) |
| Select entries to return from the Alias Dialog. | |
| static int | op_generic_select_entry (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| select the current entry - Implements alias_function_t - | |
| static int | op_mail (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| mail the selected entries - Implements alias_function_t - | |
| static int | op_main_limit (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| show only messages matching a pattern - Implements alias_function_t - | |
| static int | op_main_tag_pattern (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| Tag messages matching a pattern - Implements alias_function_t -. | |
| static int | op_main_untag_pattern (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| Untag messages matching a pattern - Implements alias_function_t -. | |
| static int | op_query (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| query external program for addresses - Implements alias_function_t - | |
| static int | op_search (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| search for a regular expression - Implements alias_function_t - | |
| static int | op_sort (struct AliasFunctionData *fdata, const struct KeyEvent *event) |
| sort aliases - Implements alias_function_t - | |
| int | alias_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event) |
| Perform a Alias function - Implements function_dispatcher_t -. | |
Variables | |
| static const struct MenuFuncOp | OpAlias [] |
| Functions for the Alias Menu. | |
| const struct MenuFuncOp | OpQuery [] |
| Functions for the external Query Menu. | |
| static const struct MenuOpSeq | AliasDefaultBindings [] |
| Key bindings for the Alias Menu. | |
| static const struct MenuOpSeq | QueryDefaultBindings [] |
| Key bindings for the external Query Menu. | |
| static const struct AliasFunction | AliasFunctions [] |
| All the NeoMutt functions that the Alias supports. | |
Alias functions.
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.
Initialise the Alias Keybindings - Implements ::init_keys_api.
Definition at line 124 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Build a working set of AliasView pointers for an action.
| avpa | AliasView Array to populate |
| mdata | Alias Menu data |
| tagged | Use tagged AliasViews (tag-prefix) |
| count | Repeat-count (0 or 1 == just the current selection) |
| num | Number of AliasViews added |
If tagged is true, the array is filled with the tagged AliasViews and count is ignored.
Otherwise the array is filled with the current selection and the next count - 1 visible AliasViews. Overruns are silently capped at the end of the visible list.
Definition at line 209 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Apply the deleted flag to a working set of AliasViews.
| avpa | Working set of AliasView pointers |
| deleted | true to mark as deleted, false to undelete |
Definition at line 251 of file functions.c.
Here is the caller graph for this function:
|
static |
Select entries to return from the Alias Dialog.
| enum | FunctionRetval |
Definition at line 347 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 55 of file functions.c.
| const struct MenuFuncOp OpQuery[] |
Functions for the external Query Menu.
Definition at line 71 of file functions.c.
|
static |
Key bindings for the Alias Menu.
Definition at line 88 of file functions.c.
|
static |
Key bindings for the external Query Menu.
Definition at line 105 of file functions.c.
|
static |
All the NeoMutt functions that the Alias supports.
Definition at line 614 of file functions.c.