Handle the attachments command. More...
#include <stdio.h>
Include dependency graph for commands.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Enumerations | |
| enum | NotifyAttach { NT_ATTACH_ADD = 1 , NT_ATTACH_DELETE , NT_ATTACH_DELETE_ALL } |
| Attachments notification types. More... | |
Functions | |
| void | attach_init (void) |
| Set up the attachments lists. | |
| void | attach_cleanup (void) |
| Free the attachments lists. | |
| void | mutt_attachments_reset (struct MailboxView *mv) |
| Reset the attachment count for all Emails. | |
| int | mutt_count_body_parts (struct Email *e, FILE *fp) |
| Count the MIME Body parts. | |
| void | mutt_parse_mime_message (struct Email *e, FILE *fp) |
| Parse a MIME email. | |
Handle the attachments command.
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 commands.h.
| enum NotifyAttach |
Attachments notification types.
Observers of NT_ATTACH will not be passed any Event data.
| Enumerator | |
|---|---|
| NT_ATTACH_ADD | Attachment regex has been added. |
| NT_ATTACH_DELETE | Attachment regex has been deleted. |
| NT_ATTACH_DELETE_ALL | All Attachment regexes have been deleted. |
Definition at line 38 of file commands.h.
| void attach_init | ( | void | ) |
Set up the attachments lists.
Definition at line 106 of file commands.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void attach_cleanup | ( | void | ) |
Free the attachments lists.
Definition at line 92 of file commands.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_attachments_reset | ( | struct MailboxView * | mv | ) |
Reset the attachment count for all Emails.
| mv | Mailbox view |
Definition at line 288 of file commands.c.
Here is the caller graph for this function:| int mutt_count_body_parts | ( | struct Email * | e, |
| FILE * | fp ) |
Count the MIME Body parts.
| e | |
| fp | File to parse |
| num | Number of MIME Body parts |
Definition at line 251 of file commands.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_parse_mime_message | ( | struct Email * | e, |
| FILE * | fp ) |
Parse a MIME email.
| e | |
| fp | File to parse |
Definition at line 596 of file commands.c.
Here is the call graph for this function:
Here is the caller graph for this function: