path: root/libmailutils/
authorSergey Poznyakoff <>2010-12-04 10:19:50 (GMT)
committer Sergey Poznyakoff <>2010-12-04 10:52:34 (GMT)
commit76df98da17f576b71e6cbc83bbf527b685be1178 (patch) (side-by-side diff)
tree3af08ebb7dcff4a82d468b03491f722e6e7090c0 /libmailutils/
parent30bf4d542198abc23b897dd81fc280354903e49f (diff)
Introduce stdstream module; move deprecated functions to libmu_compat.
* include/mailutils/log.h: New file. * include/mailutils/stdstream.h: New file. * include/mailutils/ (pkginclude_HEADERS): Add stdstream.h and log.h. * include/mailutils/argcv.h: Include mailutils/types.h * include/mailutils/mailutils.h: Include stdstream.h Remove vartab.h * include/mailutils/types.hin (MU_DEPRECATED): New define. * include/mailutils/vartab.h: Mark this header and all prototypes it defines as deprecated. * libmailutils/stdstream/ New file. * libmailutils/stdstream/basestr.c: New file. * libmailutils/stdstream/strerr.c: New file. * libmu_compat/ New file. * libmu_compat/tests/.gitignore: New file. * libmu_compat/tests/ New file. * libmu_compat/tests/ New file. * libmu_compat/tests/ New file. * libmailutils/base/ (noinst_LTLIBRARIES): Remove argcv.c and vartab.c. * libmailutils/ (SUBDIRS): Add stdstream. (libmailutils_la_LIBADD): Add stdstream/ * libmailutils/tests/ (noinst_PROGRAMS): Remove argcv (TESTSUITE_AT): Remove * libmailutils/tests/ Do not include * libmailutils/base/argcv.c: Move to libmu_compat/argcv.c * libmailutils/tests/ Move to libmu_compat/tests/ * libmailutils/tests/argcv.c: Move to libmu_compat/tests/argcv.c * libmailutils/base/vartab.c: Move to libmu_compat/vartab.c * (SUBDIRS): Add libmu_compat. * Add libmu_compat/tests, libmu_compat/tests/Makefile, libmu_compat/tests/atlocal, libmu_compat/Makefile and libmailutils/stdstream/Makefile to config file list. * mu/ldflags.c (lib_descr): Add mu_compat. * mu/logger.c (logger_parse_opt): -t does not imply --syslog. (mutool_logger): Use inline-comment filter to insert "tag: " prefix. Flush and destroy both streams before returning. * po/ Add libmailutils/stream/logstream.c, libmailutils/stdstream/baseio.c, libmailutils/stdstream/strerr.c and mu/logger.c.
Diffstat (limited to 'libmailutils/') (more/less context) (ignore whitespace changes)
1 files changed, 2 insertions, 1 deletions
diff --git a/libmailutils/ b/libmailutils/
index 34246dc..bac6aa9 100644
--- a/libmailutils/
+++ b/libmailutils/
@@ -19,3 +19,3 @@
SUBDIRS = auth base address cfg diag filter mailbox mailer mime\
- server string stream property url . tests
+ server string stream stdstream property url . tests
@@ -40,2 +40,3 @@ libmailutils_la_LIBADD = \
+ stdstream/\

Return to:

Send suggestions and report system problems to the System administrator.