]> mj.ucw.cz Git - libucw.git/commit
Logging: Documentation and minor cleanups of headers.
authorMartin Mares <mj@ucw.cz>
Sat, 14 Feb 2009 21:21:58 +0000 (22:21 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 14 Feb 2009 21:21:58 +0000 (22:21 +0100)
commit220a6551622b6c87b26450a3ca4fe48c1acfce95
treeaf814a921fa59a8ce3c886d7cfc33327f490094c
parent1a3bce799001b4fe9cdc77df5d5126fcf6e14072
Logging: Documentation and minor cleanups of headers.

I have written complete documentation for the logging module. In the process,
I have performed a couple of minor cleanups:

   o  Internal declarations were moved to ucw/log-internal.h.
   o  Defines for "all" and "nothing" values have been removed, the customary
      constants `0' and `~0U' always work and they seem to be more readable.
   o  LSFLAG_SIGHANDLER gave its way to L_SIGHANDLER.
   o  The (unused) user flags field was replaced by a message type field;
      in the future, the streams will be able to filter the message based
      on a type.
   o  The `internal flags' field was renamed to `control bits'.
ucw/doc/log.txt
ucw/lib.h
ucw/log-file.c
ucw/log-internal.h [new file with mode: 0644]
ucw/log-stream.c
ucw/log-syslog.c
ucw/log.c
ucw/log.h