Miscellaneous email parsing routines. More...
#include <stdio.h>
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. | |
Miscellaneous email parsing routines.
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 attachments.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 attachments.h.
void attach_init | ( | void | ) |
Set up the attachments lists.
Definition at line 106 of file attachments.c.
void attach_cleanup | ( | void | ) |
Free the attachments lists.
Definition at line 92 of file attachments.c.
void mutt_attachments_reset | ( | struct MailboxView * | mv | ) |
Reset the attachment count for all Emails.
mv | Mailbox view |
Definition at line 288 of file attachments.c.
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 attachments.c.
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 attachments.c.