mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
7a100aed53
Signed-off-by: DL6ER <dl6er@dl6er.de>
24 lines
772 B
C
24 lines
772 B
C
/* Pi-hole: A black hole for Internet advertisements
|
|
* (c) 2017 Pi-hole, LLC (https://pi-hole.net)
|
|
* Network-wide ad blocking via your own hardware.
|
|
*
|
|
* FTL Engine
|
|
* Logging prototypes
|
|
*
|
|
* This file is copyright under the latest version of the EUPL.
|
|
* Please see LICENSE file for your rights under this license. */
|
|
#ifndef LOG_H
|
|
#define LOG_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
void open_FTL_log(const bool test);
|
|
void logg(const char* format, ...) __attribute__ ((format (gnu_printf, 1, 2)));
|
|
void log_counter_info(void);
|
|
void format_memory_size(char *prefix, unsigned long int bytes, double *formated);
|
|
const char *get_FTL_version(void) __attribute__ ((malloc));
|
|
void log_FTL_version(bool crashreport);
|
|
void get_timestr(char *timestring, const time_t timein);
|
|
|
|
#endif //LOG_H
|