components
139 Bytes
-
* include/mailutils/filter.h (mu_filter_xcode_t): Change signature. (mu_filter_create_args): New proto. (mu_inline_comment_filter): New extern. * libmailutils/filter/inline-comment.c: New file. * libmailutils/filter/Makefile.am (libfilter_la_SOURCES): Add inline-comment.c. * libmailutils/filter/crlfdot.c (alloc_state): Update declaration. * libmailutils/filter/crlfflt.c: Likewise. * libmailutils/filter/dot.c: Likewise. * libmailutils/filter/fromflt.c (_from_alloc_state): Likewise. * libmailutils/filter/filter.c (mu_filter_create_args): New function. (mu_filter_create): Rewrite via mu_filter_create_args. mh: inline comments are allowed for use in components and forwcomp files. * mh/compcommon.c (mh_comp_draft): Fix erroneous conditional. * mh/components: Add comments. * mh/mh_init.c (mh_file_copy): Rewrite using new API. mu filter: new option to list supported filters. * mu/filter.c (filter_options): New option --list (-L). (filter_parse_opt): Handle the -L option. (filter_printer, list_filters): New functions. (main): Print a list of filters if --list was given.
Sergey Poznyakoff authored