From 2561266c156a1f63ed85fe2865ac607507ae4cef Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 5 Sep 2014 22:43:11 +0200 Subject: Add status socket to get the current status as JSON --- src/log.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/log.h') diff --git a/src/log.h b/src/log.h index 6cf1487..5fce09f 100644 --- a/src/log.h +++ b/src/log.h @@ -53,7 +53,9 @@ typedef enum fastd_loglevel { } fastd_loglevel_t; -/** Logs a formatted string with the specified log level */ +size_t fastd_snprint_peer_address(char *buffer, size_t size, const fastd_peer_address_t *address, const char *iface, bool bind_address, bool hide); + + void fastd_logf(const fastd_loglevel_t level, const char *format, ...); /** Logs a formatted fatal error message */ -- cgit v1.2.3