From 4a1e9c1b191bca6f3ae653f9e6fe7e289730ae19 Mon Sep 17 00:00:00 2001 From: "B. Blechschmidt" Date: Sun, 27 Dec 2020 19:16:10 +0100 Subject: [PATCH] Remove module remains from earlier version --- CMakeLists.txt | 2 +- src/massdns.h | 7 ------- src/module.h | 10 ---------- 3 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 src/module.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 849da6a..5296542 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ project(massdns) set(CMAKE_C_STANDARD 11) -set(SOURCE_FILES src/main.c src/module.h src/list.h src/hashmap.h src/massdns.h src/security.h src/net.h src/string.h src/buffers.h src/dns.h +set(SOURCE_FILES src/main.c src/list.h src/hashmap.h src/massdns.h src/security.h src/net.h src/string.h src/buffers.h src/dns.h src/timed_ring.h src/random.h src/cmd.h src/flow.h) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) add_executable(massdns ${SOURCE_FILES}) diff --git a/src/massdns.h b/src/massdns.h index 34f4b0b..fa74024 100644 --- a/src/massdns.h +++ b/src/massdns.h @@ -17,7 +17,6 @@ #endif #include "list.h" -#include "module.h" #include "net.h" #include "hashmap.h" #include "dns.h" @@ -133,12 +132,6 @@ typedef struct buffer_t lookup_pool; Hashmap *resolver_map; - struct - { - massdns_module_t handlers[MAXIMUM_MODULE_COUNT]; // we only support up to 255 modules - size_t count; - } modules; - struct { bool sections[4]; diff --git a/src/module.h b/src/module.h deleted file mode 100644 index 482550e..0000000 --- a/src/module.h +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: GPL-3.0-only - -#ifndef MASSDNS_MODULE_H -#define MASSDNS_MODULE_H - -typedef struct { - -} massdns_module_t; - -#endif //MASSDNS_MODULE_H