move logging code to its own file

This commit is contained in:
yrutschle committed 2021-09-15 21:51:11 +02:00
1 parent 3013658b20
commit 317c08604b
4 files changed
+117 -74

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#ifndef LOG_H
#define LOG_H
void setup_syslog(const char* bin_name);
void log_message(int type, const char* msg, ...);
void log_connection(struct connection_desc* desc, const struct connection *cnx);
#endif /* LOG_H */