summaryrefslogtreecommitdiff
path: root/server/include
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2023-01-04 00:33:15 -0600
committerDanny Holman <dholman@gymli.org>2023-01-04 00:33:15 -0600
commit760fada7269b083ce00a1f18a4fb1cbb9ab13dc7 (patch)
tree8c1f806f761abbc7c55245b82cb5338c2af084b7 /server/include
parentbe4f102b8aa16bb90ed7d8d51a84650987dfdb40 (diff)
logging: add a close function
Add a close function to close the file handle pointing at the log file. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'server/include')
-rw-r--r--server/include/logging.h2
1 files changed, 2 insertions, 0 deletions
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