#include "config.h"#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include "mutt/lib.h"#include "config/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "mutt.h"#include "functions.h"#include "lib.h"#include "editor/lib.h"#include "history/lib.h"#include "key/lib.h"#include "module_data.h"#include "type.h"
Include dependency graph for functions.c:Go to the source code of this file.
Macros | |
| #define | MUTT_SEARCH_UP 1 |
| #define | MUTT_SEARCH_DOWN 2 |
Functions | |
| static int | search (struct Menu *menu, int op, int *match) |
| Search a menu. | |
| static int | menu_movement (struct MenuFunctionData *fdata, const struct KeyEvent *event) |
| Handle all the common Menu movements - Implements menu_function_t -. | |
| static int | menu_search (struct MenuFunctionData *fdata, const struct KeyEvent *event) |
| Handle Menu searching - Implements menu_function_t -. | |
| static int | op_help (struct MenuFunctionData *fdata, const struct KeyEvent *event) |
| Show the help screen - Implements menu_function_t -. | |
| static int | op_jump (struct MenuFunctionData *fdata, const struct KeyEvent *event) |
| Jump to an index number - Implements menu_function_t -. | |
| int | menu_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event) |
| Perform a Menu function - Implements function_dispatcher_t -. | |
Variables | |
| static const struct MenuFunction | MenuFunctions [] |
| All the NeoMutt functions that the Menu supports. | |
Menu 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.
| #define MUTT_SEARCH_UP 1 |
Definition at line 47 of file functions.c.
| #define MUTT_SEARCH_DOWN 2 |
Definition at line 48 of file functions.c.
|
static |
Search a menu.
| menu | Menu to search | |
| op | Search operation, e.g. OP_SEARCH_NEXT | |
| [out] | match | Index of matching item, or -1 on failure |
| FR_SUCCESS | Match found |
| FR_NO_ACTION | Search was cancelled |
| FR_ERROR | Search failed |
Definition at line 59 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
All the NeoMutt functions that the Menu supports.
Definition at line 335 of file functions.c.