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_method_conv_table.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/libtipidee/tipidee_method_conv_table.c (limited to 'src/libtipidee/tipidee_method_conv_table.c') diff --git a/src/libtipidee/tipidee_method_conv_table.c b/src/libtipidee/tipidee_method_conv_table.c deleted file mode 100644 index 892e5b5..0000000 --- a/src/libtipidee/tipidee_method_conv_table.c +++ /dev/null @@ -1,19 +0,0 @@ -/* ISC license. */ - -#include - -static tipidee_method_conv const table[] = -{ - { .num = TIPIDEE_METHOD_GET, .str = "GET" }, - { .num = TIPIDEE_METHOD_HEAD, .str = "HEAD" }, - { .num = TIPIDEE_METHOD_OPTIONS, .str = "OPTIONS" }, - { .num = TIPIDEE_METHOD_POST, .str = "POST" }, - { .num = TIPIDEE_METHOD_PUT, .str = "PUT" }, - { .num = TIPIDEE_METHOD_DELETE, .str = "DELETE" }, - { .num = TIPIDEE_METHOD_TRACE, .str = "TRACE" }, - { .num = TIPIDEE_METHOD_CONNECT, .str = "CONNECT" }, - { .num = TIPIDEE_METHOD_PRI, .str = "PRI" }, - { .num = TIPIDEE_METHOD_UNKNOWN, .str = 0 } -} ; - -tipidee_method_conv const *tipidee_method_conv_table = table ; -- cgit v1.2.3