aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-22 18:17:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-22 18:17:24 +0100
commit3afc4aba24dd996950c3947b9cb6475271aec884 (patch)
tree039a180324e9e6423e635d39dbc7a1ee5cb54179 /src/libstat
parent174f338b5d69e9885affb1d02e97ca3ba3b35224 (diff)
downloadrspamd-3afc4aba24dd996950c3947b9cb6475271aec884.tar.gz
rspamd-3afc4aba24dd996950c3947b9cb6475271aec884.zip
Rename main.h and main.c to `rspamd.X`
Diffstat (limited to 'src/libstat')
-rw-r--r--src/libstat/backends/mmaped_file.c2
-rw-r--r--src/libstat/backends/redis.c2
-rw-r--r--src/libstat/backends/sqlite3_backend.c2
-rw-r--r--src/libstat/classifiers/bayes.c2
-rw-r--r--src/libstat/learn_cache/sqlite3_cache.c2
-rw-r--r--src/libstat/stat_config.c2
-rw-r--r--src/libstat/stat_process.c2
-rw-r--r--src/libstat/tokenizers/tokenizers.c2
-rw-r--r--src/libstat/tokenizers/tokenizers.h2
9 files changed, 9 insertions, 9 deletions
diff --git a/src/libstat/backends/mmaped_file.c b/src/libstat/backends/mmaped_file.c
index 6bb5e0feb..41d6900ce 100644
--- a/src/libstat/backends/mmaped_file.c
+++ b/src/libstat/backends/mmaped_file.c
@@ -24,7 +24,7 @@
#include "config.h"
#include "stat_internal.h"
-#include "main.h"
+#include "rspamd.h"
#define CHAIN_LENGTH 128
diff --git a/src/libstat/backends/redis.c b/src/libstat/backends/redis.c
index 38d6c7a3a..39d7dc21a 100644
--- a/src/libstat/backends/redis.c
+++ b/src/libstat/backends/redis.c
@@ -22,7 +22,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "stat_internal.h"
#include "upstream.h"
diff --git a/src/libstat/backends/sqlite3_backend.c b/src/libstat/backends/sqlite3_backend.c
index 96eddea3e..33aac0494 100644
--- a/src/libstat/backends/sqlite3_backend.c
+++ b/src/libstat/backends/sqlite3_backend.c
@@ -23,7 +23,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "sqlite3.h"
#include "libutil/sqlite_utils.h"
#include "libstat/stat_internal.h"
diff --git a/src/libstat/classifiers/bayes.c b/src/libstat/classifiers/bayes.c
index e248fd6e6..67c2e3116 100644
--- a/src/libstat/classifiers/bayes.c
+++ b/src/libstat/classifiers/bayes.c
@@ -26,7 +26,7 @@
* Bayesian classifier
*/
#include "classifiers.h"
-#include "main.h"
+#include "rspamd.h"
#include "filter.h"
#include "cfg_file.h"
#include "stat_internal.h"
diff --git a/src/libstat/learn_cache/sqlite3_cache.c b/src/libstat/learn_cache/sqlite3_cache.c
index 745b8839c..6eabaefda 100644
--- a/src/libstat/learn_cache/sqlite3_cache.c
+++ b/src/libstat/learn_cache/sqlite3_cache.c
@@ -23,7 +23,7 @@
#include "config.h"
#include "learn_cache.h"
-#include "main.h"
+#include "rspamd.h"
#include "stat_api.h"
#include "stat_internal.h"
#include "blake2.h"
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c
index 00baaa059..dbfe16c27 100644
--- a/src/libstat/stat_config.c
+++ b/src/libstat/stat_config.c
@@ -25,7 +25,7 @@
#include "config.h"
#include "stat_api.h"
-#include "main.h"
+#include "rspamd.h"
#include "cfg_rcl.h"
#include "stat_internal.h"
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index d1e23baf2..a6f5d31ae 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -23,7 +23,7 @@
#include "config.h"
#include "stat_api.h"
-#include "main.h"
+#include "rspamd.h"
#include "stat_internal.h"
#include "libmime/message.h"
#include "libmime/images.h"
diff --git a/src/libstat/tokenizers/tokenizers.c b/src/libstat/tokenizers/tokenizers.c
index b54c89023..07e7a1f45 100644
--- a/src/libstat/tokenizers/tokenizers.c
+++ b/src/libstat/tokenizers/tokenizers.c
@@ -26,7 +26,7 @@
* Common tokenization functions
*/
-#include "main.h"
+#include "rspamd.h"
#include "tokenizers.h"
#include "stat_internal.h"
diff --git a/src/libstat/tokenizers/tokenizers.h b/src/libstat/tokenizers/tokenizers.h
index 050f6d7b1..7b01d9fe8 100644
--- a/src/libstat/tokenizers/tokenizers.h
+++ b/src/libstat/tokenizers/tokenizers.h
@@ -4,7 +4,7 @@
#include "config.h"
#include "mem_pool.h"
#include "fstring.h"
-#include "main.h"
+#include "rspamd.h"
#include "stat_api.h"
#define RSPAMD_DEFAULT_TOKENIZER "osb"