diff -r 000000000000 -r 6f7a81934006 daemon/log.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/daemon/log.h Wed Jan 16 22:39:43 2008 +0100 @@ -0,0 +1,18 @@ +#ifndef VMAILMGRD__DAEMON__LOG__H__ +#define VMAILMGRD__DAEMON__LOG__H__ + +#include "fdbuf/fdbuf.h" +#include "command.h" +#include "misc/response.h" + +extern fdobuf& log(); +extern void log(const char*); +extern void logcommand(const command&); +extern void logresponse(const response&); + +extern const mystring LOG_PASSWORD; +extern const mystring LOG_NEWPASS; +extern const mystring LOG_ADMINPASS; +extern const mystring LOG_MESSAGE; + +#endif // VMAILMGRD__DAEMON__LOG__H__