Routines for managing attachments. More...
#include <stdbool.h>#include <stdio.h>
Include dependency graph for recvattach.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | mutt_attach_init (struct AttachCtx *actx) |
| Create a new Attachment context. | |
| void | mutt_update_tree (struct AttachCtx *actx) |
| Refresh the list of attachments. | |
| void | dlg_attachment (struct ConfigSubset *sub, struct MailboxView *mv, struct Email *e, FILE *fp, bool attach_msg) |
| Show the attachments in a Menu -. | |
| void | mutt_generate_recvattach_list (struct AttachCtx *actx, struct Email *e, struct Body *parts, FILE *fp, int parent_type, int level, bool decrypted) |
| Create a list of attachments. | |
| struct AttachPtr * | current_attachment (struct AttachCtx *actx, struct Menu *menu) |
| Get the current attachment. | |
| void | mutt_update_recvattach_menu (struct AttachCtx *actx, struct Menu *menu, bool init) |
| Update the Attachment Menu. | |
| void | recvattach_edit_content_type (struct AttachCtx *actx, struct Menu *menu, struct Email *e) |
| Edit the content type of an attachment. | |
| int | ba_add_tagged (struct BodyArray *ba, struct AttachCtx *actx, struct Menu *menu) |
| Get an array of tagged Attachments. | |
Routines for managing attachments.
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 recvattach.h.
| void mutt_attach_init | ( | struct AttachCtx * | actx | ) |
Create a new Attachment context.
| actx | Attachment context |
Definition at line 1189 of file recvattach.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_update_tree | ( | struct AttachCtx * | actx | ) |
Refresh the list of attachments.
| actx | Attachment context |
Definition at line 121 of file recvattach.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_generate_recvattach_list | ( | struct AttachCtx * | actx, |
| struct Email * | e, | ||
| struct Body * | b, | ||
| FILE * | fp, | ||
| int | parent_type, | ||
| int | level, | ||
| bool | decrypted ) |
Create a list of attachments.
| actx | Attachment context |
| e | |
| b | Body of email |
| fp | File to read from |
| parent_type | Type, e.g. TYPE_MULTIPART |
| level | Attachment depth |
| decrypted | True if attachment has been decrypted |
Definition at line 1091 of file recvattach.c.
Here is the call graph for this function:
Here is the caller graph for this function:Get the current attachment.
| actx | Attachment context |
| menu | Menu |
| ptr | Current Attachment |
Definition at line 76 of file recvattach.c.
Here is the call graph for this function:
Here is the caller graph for this function:Update the Attachment Menu.
| actx | Attachment context |
| menu | Menu listing Attachments |
| init | If true, create a new Attachments context |
Definition at line 1214 of file recvattach.c.
Here is the call graph for this function:
Here is the caller graph for this function:Edit the content type of an attachment.
Definition at line 932 of file recvattach.c.
Here is the call graph for this function:
Here is the caller graph for this function:Get an array of tagged Attachments.
| ba | Empty BodyArray to populate |
| actx | List of Attachments |
| menu | Menu |
| num | Number of selected Attachments |
| -1 | Error |
Definition at line 1241 of file recvattach.c.
Here is the call graph for this function:
Here is the caller graph for this function: