aboutsummaryrefslogtreecommitdiffstats
path: root/src/cache/log.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-07-25 05:15:33 +0000
committerLaurent Bercot <ska@appnovation.com>2024-07-25 05:15:33 +0000
commit6b8bb38398e58539096fb054e354bddadda09f9b (patch)
tree5952d8ca0d25a8d22019a548fc35d8837b456024 /src/cache/log.c
parent0d53cd3855efb536676a9dcfeadf7bf2c5de6e14 (diff)
downloadshibari-6b8bb38398e58539096fb054e354bddadda09f9b.tar.gz
More skeleton
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/cache/log.c')
-rw-r--r--src/cache/log.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/cache/log.c b/src/cache/log.c
new file mode 100644
index 0000000..bc67384
--- /dev/null
+++ b/src/cache/log.c
@@ -0,0 +1,30 @@
+/* ISC license. */
+
+#include <skalibs/fmtscan.h>
+#include <skalibs/strerr.h>
+#include <skalibs/ip46.h>
+
+#include "shibari-cache-internal.h"
+
+void log_tcptimeout (uint16_t i)
+{
+ if (g->verbosity >= 3)
+ {
+ }
+}
+
+void log_newtcp4 (char const *ip, uint16_t port)
+{
+ if (g->verbosity >= 3)
+ {
+ }
+}
+
+#ifdef SKALIBS_IPV6_ENABLED
+void log_newtcp6 (char const *ip, uint16_t port)
+{
+ if (g->verbosity >= 3)
+ {
+ }
+}
+#endif