Mailing-list action dialog. More...
#include "config.h"#include <stddef.h>#include <stdio.h>#include "mutt/lib.h"#include "email/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "index/lib.h"#include "key/lib.h"#include "menu/lib.h"#include "send/lib.h"#include "module_data.h"#include "mutt_logging.h"#include "mx.h"
Include dependency graph for dlg_list.c:Go to the source code of this file.
Data Structures | |
| struct | ListAction |
| A mailing-list action in the dialog. More... | |
| struct | ListData |
| Private data for the Mailing-list action dialog. More... | |
| struct | ListFunction |
| A list dialog function. More... | |
Functions | |
| static char ** | get_action_value (struct Rfc2369ListHeaders *headers, const struct ListAction *action) |
| Get the stored value for a mailing-list action. | |
| static void | list_data_free (struct Menu *menu, void **ptr) |
| Free list dialog data - Implements Menu::mdata_free() -. | |
| static int | list_make_entry (struct Menu *menu, int line, int max_cols, struct Buffer *buf) |
| Format a mailing-list action for the dialog - Implements Menu::make_entry() -. | |
| static bool | compose_list_action (struct ListData *ld, const struct ListAction *action) |
| Compose a message for a mailing-list action. | |
| static int | op_exit (struct ListData *ld, const struct KeyEvent *event) |
| Exit the list dialog. | |
| static int | op_select_action (struct ListData *ld, const struct KeyEvent *event) |
| Execute the selected mailing-list action. | |
| static int | list_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event) |
| Perform a List dialog function - Implements function_dispatcher_t -. | |
| void | dlg_list (struct Mailbox *m, struct Email *e) |
| Display mailing-list actions for an email -. | |
Variables | |
| static const struct Mapping | ListHelp [] |
| Help Bar for the Mailing-list action dialog. | |
| static const struct ListAction | ListActions [] |
| Mailing-list actions shown in the dialog. | |
| static const struct ListFunction | ListFunctions [] |
| Functions handled by the list dialog. | |
Mailing-list action dialog.
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 dlg_list.c.
|
static |
Get the stored value for a mailing-list action.
| headers | Parsed List-* headers |
| action | Action definition |
| ptr | Pointer to the stored header value |
Definition at line 92 of file dlg_list.c.
Here is the caller graph for this function:
|
static |
Compose a message for a mailing-list action.
| ld | Dialog state |
| action | Mailing-list action |
| true | The dialog should exit |
| false | The dialog should remain open |
Definition at line 139 of file dlg_list.c.
Here is the call graph for this function:
Here is the caller graph for this function:Exit the list dialog.
| ld | Dialog state |
| event | Event being handled |
| enum | FunctionRetval |
Definition at line 203 of file dlg_list.c.
Execute the selected mailing-list action.
| ld | Dialog state |
| event | Event being handled |
| enum | FunctionRetval |
Definition at line 215 of file dlg_list.c.
Here is the call graph for this function:
|
static |
Help Bar for the Mailing-list action dialog.
Definition at line 39 of file dlg_list.c.
|
static |
Mailing-list actions shown in the dialog.
Definition at line 63 of file dlg_list.c.
|
static |
Functions handled by the list dialog.
Definition at line 235 of file dlg_list.c.