X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=blobdiff_plain;f=src%2Flog.h;h=eb7f5c86c97ec148e6d2894453c96e0e0a6a49f5;hp=dd323421bce6fbbaa858512789cb98ac9e2f2374;hb=f00ea5f0041a892ce5618dcb3c386416a434f00e;hpb=5191e1cb38d24ebf5c180ac7911893ca8bc4031f diff --git a/src/log.h b/src/log.h index dd32342..eb7f5c8 100644 --- a/src/log.h +++ b/src/log.h @@ -1,5 +1,5 @@ -/* Copyright (C) 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