From 541325d00c7078d063ea97333d3c9c64d6b6c7b6 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 10 Oct 2023 08:06:46 +0000 Subject: Add new logging functions, change method_conv for bsearch Signed-off-by: Laurent Bercot --- src/libtipidee/tipidee_log_resource.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/libtipidee/tipidee_log_resource.c (limited to 'src/libtipidee/tipidee_log_resource.c') diff --git a/src/libtipidee/tipidee_log_resource.c b/src/libtipidee/tipidee_log_resource.c new file mode 100644 index 0000000..dc525a5 --- /dev/null +++ b/src/libtipidee/tipidee_log_resource.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#include + +#include + +void tipidee_log_resource (uint32_t v, char const *docroot, char const *file, tipidee_resattr const *ra) +{ + if (!(v & TIPIDEE_LOG_RESOURCE)) return ; + strerr_warni6x("docroot ", docroot, " file ", file, " type ", ra->iscgi ? ra->isnph ? "nph" : "cgi" : ra->content_type) ; +} -- cgit v1.2.3