From 8241ff7745bdddbae36aed5a41e7020e266b366f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 28 Jan 2023 13:04:27 +0000 Subject: [PATCH] [Rework] Start migration of the fuzzy storage to C++ --- src/CMakeLists.txt | 4 ++-- src/{fuzzy_storage.c => fuzzy_storage.cxx} | 0 src/rspamadm/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{fuzzy_storage.c => fuzzy_storage.cxx} (100%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5dee8e610..20764daeb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -92,13 +92,13 @@ ADD_SUBDIRECTORY(client) ADD_SUBDIRECTORY(rspamadm) SET(RSPAMDSRC controller.c - fuzzy_storage.c + fuzzy_storage.cxx rspamd.c worker.c rspamd_proxy.c) SET(PLUGINSSRC plugins/regexp.c - plugins/chartable.cxx + plugins/chartable.cxx plugins/fuzzy_check.c plugins/dkim_check.c libserver/rspamd_control.c) diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.cxx similarity index 100% rename from src/fuzzy_storage.c rename to src/fuzzy_storage.cxx diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt index 13e2fb6da..44c2f298d 100644 --- a/src/rspamadm/CMakeLists.txt +++ b/src/rspamadm/CMakeLists.txt @@ -13,7 +13,7 @@ SET(RSPAMADMSRC rspamadm.c ${CMAKE_BINARY_DIR}/src/workers.c #${CMAKE_BINARY_DIR}/src/modules.c - defined in rspamdserver ${CMAKE_SOURCE_DIR}/src/controller.c - ${CMAKE_SOURCE_DIR}/src/fuzzy_storage.c + ${CMAKE_SOURCE_DIR}/src/fuzzy_storage.cxx ${CMAKE_SOURCE_DIR}/src/worker.c ${CMAKE_SOURCE_DIR}/src/rspamd_proxy.c) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) -- 2.39.5