From 01a2ebb9a402dc4c3f9183d457565685885f6fb9 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 8 Nov 2017 16:14:32 +0100 Subject: [SERVER] rpc: Add q=logfile, q=altservers and q=config to /query --- src/shared/log.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shared/log.h') diff --git a/src/shared/log.h b/src/shared/log.h index ac5bb92..da34fc3 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -22,6 +22,7 @@ #define LOG_H_ #include +#include typedef unsigned int logmask_t; #define LOG_ERROR ((logmask_t)1) // Fatal error, server will terminate @@ -57,6 +58,6 @@ void logadd(const logmask_t mask, const char *text, ...) /** * Return last size bytes of log. */ -bool log_fetch(char *buffer, int size); +ssize_t log_fetch(char *buffer, int size); #endif /* LOG_H_ */ -- cgit v1.2.3-55-g7522