commit dbaf8c6: Merge pull request #4573 from rspamd/cfg_utils_rework

GitHub noreply at github.com
Thu Aug 17 11:49:25 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-08-17 12:44:51 +0100
URL: https://github.com/rspamd/rspamd/commit/dbaf8c69895ec2a90a20dbf41b4fa474ac12910b (HEAD -> master)

Merge pull request #4573 from rspamd/cfg_utils_rework
[Project] Rewrite configuration utils in C++

 contrib/libucl/lua_ucl.h                          |   44 +-
 src/controller.c                                  |   43 +-
 src/fuzzy_storage.c                               |    8 +-
 src/libmime/lang_detection.c                      |    8 +-
 src/libmime/lang_detection_fasttext.cxx           |    6 +-
 src/libmime/scan_result.c                         |   39 +-
 src/libserver/CMakeLists.txt                      |   86 +-
 src/libserver/cfg_file.h                          |  113 +-
 src/libserver/cfg_file_private.h                  |   13 +-
 src/libserver/{cfg_rcl.c => cfg_rcl.cxx}          | 1862 +++++++++------------
 src/libserver/cfg_rcl.h                           |   68 +-
 src/libserver/{cfg_utils.c => cfg_utils.cxx}      | 1128 ++++++-------
 src/libserver/dns.c                               |   10 +-
 src/libserver/dynamic_cfg.c                       |    8 +-
 src/libserver/fuzzy_backend/fuzzy_backend_redis.c |    8 +-
 src/libserver/http/http_context.c                 |    8 +-
 src/libserver/protocol.c                          |  123 +-
 src/libserver/rspamd_symcache.h                   |    8 +-
 src/libserver/symcache/symcache_c.cxx             |    8 +-
 src/libserver/symcache/symcache_impl.cxx          |   12 +-
 src/libserver/symcache/symcache_internal.hxx      |   10 +-
 src/libserver/symcache/symcache_item.cxx          |    8 +-
 src/libserver/symcache/symcache_item.hxx          |    8 +-
 src/libstat/backends/redis_backend.c              |    8 +-
 src/libstat/learn_cache/redis_cache.c             |    8 +-
 src/libutil/addr.c                                |   12 +-
 src/libutil/cxx/file_util.hxx                     |   15 +-
 src/libutil/cxx/util.hxx                          |   64 +-
 src/libutil/cxx/util_tests.cxx                    |   40 +-
 src/libutil/mem_pool.c                            |   17 +-
 src/libutil/mem_pool.h                            |   10 +-
 src/lua/lua_cfg_file.c                            |    8 +-
 src/lua/lua_common.h                              |   11 +-
 src/lua/lua_config.c                              |   47 +-
 src/lua/lua_task.c                                |   20 +-
 src/lua/lua_util.c                                |   14 +-
 src/plugins/regexp.c                              |    8 +-
 src/rspamadm/configdump.c                         |   14 +-
 src/rspamadm/confighelp.c                         |   10 +-
 src/rspamd.h                                      |   11 +-
 40 files changed, 1890 insertions(+), 2056 deletions(-)


More information about the Commits mailing list