projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiling with autotools and openssl 1.1.0
[umurmur.git]
/
src
/
log.h
diff --git
a/src/log.h
b/src/log.h
index 66a294907de80c6e79ca28a4ff9ceb13b96ca17f..eb7f5c86c97ec148e6d2894453c96e0e0a6a49f5 100644
(file)
--- a/
src/log.h
+++ b/
src/log.h
@@
-1,5
+1,5
@@
-/* Copyright (C) 2009, Martin Johansson <martin@fatbob.nu>
- Copyright (C) 2005-20
09
, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009
-2014
, Martin Johansson <martin@fatbob.nu>
+ Copyright (C) 2005-20
14
, Thorvald Natvig <thorvald@natvig.com>
All rights reserved.
All rights reserved.
@@
-32,6
+32,7
@@
#define LOG_H_2435642356
#include "types.h"
#define LOG_H_2435642356
#include "types.h"
+#include "client.h"
#define doAssert(_cond_) do { \
if (!(_cond_)) { \
#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_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_init(bool_t terminal);
+void Log_reset();
void Log_free();
#endif
void Log_free();
#endif