mu: use stdstream functions.
* include/mailutils/stdstream.h (mu_printf): New prototype. * include/mailutils/version.h: Include mailutils/types.h instead of stdio.h (mu_fprint_options, mu_fprint_conf_option): Remove protos. (mu_format_options, mu_format_conf_option): New protos. * libmailutils/base/version.c (mu_fprint_options): Replace with mu_format_options, which outputs formatted data to a mu_stream_t. (mu_fprint_conf_option): Ditto. Replaced by mu_format_conf_option. (mu_print_options): Update accordingly. * libmailutils/stdstream/basestr.c (mu_printf): New function. * mu/acl.c: Replace stdio calls with stdstream ones. * mu/cflags.c: Likewise. * mu/filter.c: Likewise. * mu/flt2047.c: Likewise. * mu/imap.c: Likewise. * mu/info.c: Likewise. * mu/ldflags.c: Likewise. * mu/logger.c: Likewise. * mu/mu.c: Likewise. * mu/mu.h: Likewise. * mu/pop.c: Likewise. * mu/query.c: Likewise. * mu/shell.c: Likewise. * mu/verbose.c: Likewise. * mu/wicket.c: Likewise.
Showing
19 changed files
with
132 additions
and
195 deletions
-
Please register or sign in to post a comment