mail: implement struct command.
* NEWS, doc/texinfo/programs.texi: Document struct command. * mail/struct.c: New file. * mail/Makefile.am (mail_SOURCES): Add struct.c * mail/decode.c (fprint_msgset, mime_descend): New functions. Rewrite the rest using mime_descend. * mail/mail.h (mail_struct): New function. (MDHINT_SELECTED_HEADERS): New define. (struct mime_descend_closure, mime_descend_fn): New types. (mime_descend): New proto. (util_get_content_type): Get two arguments. * mail/table.c (mail_command_table): Add st[ruct]. * mail/util.c (util_get_content_type): Get two arguments. All callers updated. (util_get_hdr_value): use mu_header_aget_value_unfold and mu_rtrim_class.
Showing
8 changed files
with
235 additions
and
56 deletions
mail/struct.c
0 → 100644
-
Please register or sign in to post a comment