X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=blobdiff_plain;f=src%2Flog.h;h=eb7f5c86c97ec148e6d2894453c96e0e0a6a49f5;hp=c724158fa65f07b87bbe70734b8cad4c82cb2950;hb=f00ea5f0041a892ce5618dcb3c386416a434f00e;hpb=46d18f60766f997d0ca37c5937f58c0c06477932 diff --git a/src/log.h b/src/log.h index c724158..eb7f5c8 100644 --- a/src/log.h +++ b/src/log.h @@ -1,5 +1,5 @@ -/* Copyright (C) 2009-2010, Martin Johansson - Copyright (C) 2005-2010, Thorvald Natvig +/* Copyright (C) 2009-2014, Martin Johansson + Copyright (C) 2005-2014, Thorvald Natvig All rights reserved. @@ -32,6 +32,7 @@ #define LOG_H_2435642356 #include "types.h" +#include "client.h" #define doAssert(_cond_) do { \ if (!(_cond_)) { \ @@ -51,9 +52,11 @@ void Log_debug(const char *logstring, ...); void Log_warn(const char *logstring, ...); void Log_info(const char *logstring, ...); -void Log_fatal(const char *logstring, ...); +void Log_info_client(client_t *client, const char *logstring, ...); +void Log_fatal(const char *logstring, ...) __attribute__((__noreturn__)); void Log_init(bool_t terminal); +void Log_reset(); void Log_free(); #endif