Mailing-list functions. More...
#include "config.h"#include <stdbool.h>#include <stddef.h>#include <stdio.h>#include "mutt/lib.h"#include "email/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "functions.h"#include "lib.h"#include "key/lib.h"#include "menu/lib.h"#include "send/lib.h"#include "module_data.h"
Include dependency graph for functions.c:Go to the source code of this file.
Functions | |
| void | mlist_init_keys (struct NeoMutt *n, struct SubMenu *sm_generic) |
| Initialise the Mlist Keybindings - Implements ::init_keys_api. | |
| struct ListHead * | mlist_action_value (struct Rfc2369ListHeaders *headers, const struct ListAction *action) |
| Get the stored value for a mailing-list action. | |
| static bool | compose_list_action (struct ListData *ld, const struct ListEntry *entry) |
| Compose a message for a mailing-list action. | |
| static int | op_quit (struct ListData *ld, const struct KeyEvent *event) |
| Save changes and exit this dialog - Implements mlist_function_t -. | |
| static int | op_select_action (struct ListData *ld, const struct KeyEvent *event) |
| Execute the selected mailing-list action - Implements mlist_function_t -. | |
| int | mlist_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event) |
| Perform a List dialog function - Implements function_dispatcher_t -. | |
Variables | |
| const struct ListAction | ListActions [] |
| Mailing-list actions shown in the dialog. | |
| const int | ListActionsCount = countof(ListActions) |
| Number of entries in ListActions. | |
| static const struct MenuFuncOp | OpList [] |
| Functions for the List Dialog. | |
| static const struct MenuOpSeq | ListDefaultBindings [] |
| Key bindings for the List Dialog. | |
| static const struct MlistFunction | MlistFunctions [] |
| All the NeoMutt functions that the List Dialog supports. | |
Mailing-list 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 Mlist Keybindings - Implements ::init_keys_api.
Definition at line 90 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct ListHead * mlist_action_value | ( | struct Rfc2369ListHeaders * | headers, |
| const struct ListAction * | action ) |
Get the stored value for a mailing-list action.
| headers | Parsed List-* headers |
| action | Action definition |
| ptr | Pointer to the stored header values |
Definition at line 113 of file functions.c.
Here is the caller graph for this function:Compose a message for a mailing-list action.
| ld | Dialog state |
| entry | Mailing-list entry |
| true | The dialog should exit |
| false | The dialog should remain open |
Definition at line 126 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:| const struct ListAction ListActions[] |
Mailing-list actions shown in the dialog.
Definition at line 45 of file functions.c.
| const int ListActionsCount = countof(ListActions) |
Number of entries in ListActions.
Definition at line 57 of file functions.c.
|
static |
Functions for the List Dialog.
Definition at line 63 of file functions.c.
|
static |
Key bindings for the List Dialog.
Definition at line 76 of file functions.c.
|
static |
All the NeoMutt functions that the List Dialog supports.
Definition at line 251 of file functions.c.