Attachment functions. More...
#include "config.h"#include <stdbool.h>#include <stdio.h>#include "mutt/lib.h"#include "config/lib.h"#include "email/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "key/lib.h"#include "menu/lib.h"#include "ncrypt/lib.h"#include "question/lib.h"#include "send/lib.h"#include "attach.h"#include "functions.h"#include "mutt_attach.h"#include "private_data.h"#include "recvattach.h"#include "recvcmd.h"
Include dependency graph for functions.c:Go to the source code of this file.
Functions | |
| static void | attach_collapse (struct AttachCtx *actx, struct Menu *menu) |
| Close the tree of the current attachment. | |
| static bool | check_attach (struct AttachPrivateData *priv) |
| Check if in attach-message mode. | |
| static bool | check_readonly (struct Mailbox *m) |
| Check if the Mailbox is readonly. | |
| static void | recvattach_extract_pgp_keys (struct AttachCtx *actx, struct Menu *menu) |
| Extract PGP keys from attachments. | |
| static int | recvattach_pgp_check_traditional (struct AttachCtx *actx, struct Menu *menu) |
| Is the Attachment inline PGP? | |
| static int | op_attachment_collapse (struct AttachPrivateData *priv, int op) |
| toggle display of subparts - Implements attach_function_t - | |
| static int | op_attachment_delete (struct AttachPrivateData *priv, int op) |
| delete the current entry - Implements attach_function_t - | |
| static int | op_attachment_edit_type (struct AttachPrivateData *priv, int op) |
| edit attachment content type - Implements attach_function_t - | |
| static int | op_attachment_pipe (struct AttachPrivateData *priv, int op) |
| pipe message/attachment to a shell command - Implements attach_function_t - | |
| static int | op_attachment_print (struct AttachPrivateData *priv, int op) |
| print the current entry - Implements attach_function_t - | |
| static int | op_attachment_save (struct AttachPrivateData *priv, int op) |
| save message/attachment to a mailbox/file - Implements attach_function_t - | |
| static int | op_attachment_undelete (struct AttachPrivateData *priv, int op) |
| undelete the current entry - Implements attach_function_t - | |
| static int | op_attachment_view (struct AttachPrivateData *priv, int op) |
| view attachment using mailcap entry if necessary - Implements attach_function_t - | |
| static int | op_attachment_view_mailcap (struct AttachPrivateData *priv, int op) |
| force viewing of attachment using mailcap - Implements attach_function_t - | |
| static int | op_attachment_view_pager (struct AttachPrivateData *priv, int op) |
| view attachment in pager using copiousoutput mailcap - Implements attach_function_t - | |
| static int | op_attachment_view_text (struct AttachPrivateData *priv, int op) |
| view attachment as text - Implements attach_function_t - | |
| static int | op_bounce_message (struct AttachPrivateData *priv, int op) |
| remail a message to another user - Implements attach_function_t - | |
| static int | op_check_traditional (struct AttachPrivateData *priv, int op) |
| check for classic PGP - Implements attach_function_t - | |
| static int | op_compose_to_sender (struct AttachPrivateData *priv, int op) |
| compose new message to the current message sender - Implements attach_function_t - | |
| static int | op_exit (struct AttachPrivateData *priv, int op) |
| exit this menu - Implements attach_function_t - | |
| static int | op_extract_keys (struct AttachPrivateData *priv, int op) |
| extract supported public keys - Implements attach_function_t - | |
| static int | op_forget_passphrase (struct AttachPrivateData *priv, int op) |
| wipe passphrases from memory - Implements attach_function_t - | |
| static int | op_forward_message (struct AttachPrivateData *priv, int op) |
| forward a message with comments - Implements attach_function_t - | |
| static int | op_list_subscribe (struct AttachPrivateData *priv, int op) |
| subscribe to a mailing list - Implements attach_function_t - | |
| static int | op_list_unsubscribe (struct AttachPrivateData *priv, int op) |
| unsubscribe from a mailing list - Implements attach_function_t - | |
| static int | op_reply (struct AttachPrivateData *priv, int op) |
| reply to a message - Implements attach_function_t - | |
| static int | op_resend (struct AttachPrivateData *priv, int op) |
| use the current message as a template for a new one - Implements attach_function_t - | |
| static int | op_followup (struct AttachPrivateData *priv, int op) |
| followup to newsgroup - Implements attach_function_t - | |
| static int | op_forward_to_group (struct AttachPrivateData *priv, int op) |
| forward to newsgroup - Implements attach_function_t - | |
| int | attach_function_dispatcher (struct MuttWindow *win, int op) |
| Perform a Attach function - Implements function_dispatcher_t -. | |
Variables | |
| static const char * | Function_not_permitted_in_attach_message_mode |
| Error message for unavailable functions in attach mode. | |
| const struct MenuFuncOp | OpAttachment [] |
| Functions for the Attachment Menu. | |
| const struct MenuOpSeq | AttachmentDefaultBindings [] |
| Key bindings for the Attachment Menu. | |
| static const struct AttachFunction | AttachFunctions [] |
| All the NeoMutt functions that the Attach supports. | |
Attachment 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.
Close the tree of the current attachment.
| actx | Attachment context |
| menu | Menu listing Attachments |
Definition at line 131 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if in attach-message mode.
| priv | Private Attach data |
| true | Mailbox is readonly |
Definition at line 166 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if the Mailbox is readonly.
| m | Mailbox |
| true | Mailbox is readonly |
Definition at line 183 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:Extract PGP keys from attachments.
| actx | Attachment context |
| menu | Menu listing attachments |
Definition at line 200 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:Is the Attachment inline PGP?
| actx | Attachment to check |
| menu | Menu listing Attachments |
| 1 | The (tagged) Attachment(s) are inline PGP |
Definition at line 227 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Error message for unavailable functions in attach mode.
Definition at line 55 of file functions.c.
| const struct MenuFuncOp OpAttachment[] |
Functions for the Attachment Menu.
Definition at line 62 of file functions.c.
| const struct MenuOpSeq AttachmentDefaultBindings[] |
Key bindings for the Attachment Menu.
Definition at line 98 of file functions.c.
|
static |
All the NeoMutt functions that the Attach supports.
Definition at line 674 of file functions.c.