Initial implementation of log streams.
* include/mailutils/mailutils.h: Include mailutils/log.h. * include/mailutils/stream.h (MU_IOCTL_LOGSTREAM_GET_SEVERITY) (MU_IOCTL_LOGSTREAM_SET_SEVERITY) (MU_IOCTL_LOGSTREAM_GET_LOCUS,MU_IOCTL_LOGSTREAM_SET_LOCUS) (MU_IOCTL_LOGSTREAM_GET_MODE,MU_IOCTL_LOGSTREAM_SET_MODE): New ioctls. * include/mailutils/sys/logstream.h: New file. * include/mailutils/sys/syslogstream.h: New file. * include/mailutils/sys/Makefile.am (sysinclude_HEADERS): Add logstream.h and syslogstream.h * include/mailutils/types.hin (mu_locus): New struct. * libmailutils/stream/Makefile.am (libstream_la_SOURCES): Add logstream.c and syslogstream.c. * mu/logger.c: New file. * mu/template.c: New file. * mu/Makefile.am (MODULES): Add logger.c (EXTRA_DIST): Add template.c.
Showing
13 changed files
with
882 additions
and
4 deletions
include/mailutils/sys/logstream.h
0 → 100644
include/mailutils/sys/syslogstream.h
0 → 100644
libmailutils/stream/logstream.c
0 → 100644
libmailutils/stream/syslogstream.c
0 → 100644
mu/logger.c
0 → 100644
mu/template.c
0 → 100644
-
Please register or sign in to post a comment