From 760fada7269b083ce00a1f18a4fb1cbb9ab13dc7 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 4 Jan 2023 00:33:15 -0600 Subject: logging: add a close function Add a close function to close the file handle pointing at the log file. Signed-off-by: Danny Holman --- server/include/logging.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/include') diff --git a/server/include/logging.h b/server/include/logging.h index a964230..6e8dfaa 100644 --- a/server/include/logging.h +++ b/server/include/logging.h @@ -15,4 +15,6 @@ int init_logging(FILE *out_file); int vlog_msg(int level, const char *fmt, va_list args); int log_msg(int level, const char *fmt, ...); +void close_logfile(void); + #endif -- cgit v1.2.3