aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
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/libserver
parent174f338b5d69e9885affb1d02e97ca3ba3b35224 (diff)
downloadrspamd-3afc4aba24dd996950c3947b9cb6475271aec884.tar.gz
rspamd-3afc4aba24dd996950c3947b9cb6475271aec884.zip
Rename main.h and main.c to `rspamd.X`
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/buffer.c2
-rw-r--r--src/libserver/cfg_rcl.c2
-rw-r--r--src/libserver/cfg_utils.c2
-rw-r--r--src/libserver/dkim.c2
-rw-r--r--src/libserver/dns.c2
-rw-r--r--src/libserver/dynamic_cfg.c2
-rw-r--r--src/libserver/events.c2
-rw-r--r--src/libserver/fuzzy_backend.c2
-rw-r--r--src/libserver/html.c2
-rw-r--r--src/libserver/protocol.c2
-rw-r--r--src/libserver/proxy.c2
-rw-r--r--src/libserver/roll_history.c2
-rw-r--r--src/libserver/spf.c2
-rw-r--r--src/libserver/symbols_cache.c2
-rw-r--r--src/libserver/task.c2
-rw-r--r--src/libserver/url.c2
-rw-r--r--src/libserver/worker_util.c2
-rw-r--r--src/libserver/worker_util.h2
18 files changed, 18 insertions, 18 deletions
diff --git a/src/libserver/buffer.c b/src/libserver/buffer.c
index 4c6ee2776..e4268863c 100644
--- a/src/libserver/buffer.c
+++ b/src/libserver/buffer.c
@@ -24,7 +24,7 @@
#include "config.h"
#include "buffer.h"
-#include "main.h"
+#include "rspamd.h"
#ifdef HAVE_SYS_SENDFILE_H
#include <sys/sendfile.h>
#endif
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 263ba9e40..efd57f715 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -23,7 +23,7 @@
#include <blake2.h>
#include "cfg_rcl.h"
-#include "main.h"
+#include "rspamd.h"
#include "uthash_strcase.h"
#include "utlist.h"
#include "cfg_file.h"
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 068ced265..95c984b9c 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -26,7 +26,7 @@
#include "config.h"
#include "cfg_file.h"
-#include "main.h"
+#include "rspamd.h"
#include "uthash_strcase.h"
#include "filter.h"
#include "lua/lua_common.h"
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c
index dd4242393..2cfa184a3 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -22,7 +22,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "message.h"
#include "dkim.h"
#include "dns.h"
diff --git a/src/libserver/dns.c b/src/libserver/dns.c
index f808a4460..0df6ddd91 100644
--- a/src/libserver/dns.c
+++ b/src/libserver/dns.c
@@ -25,7 +25,7 @@
#include "config.h"
#include "dns.h"
-#include "main.h"
+#include "rspamd.h"
#include "utlist.h"
#include "uthash.h"
#include "rdns_event.h"
diff --git a/src/libserver/dynamic_cfg.c b/src/libserver/dynamic_cfg.c
index 97a9d72f2..eaa658b8b 100644
--- a/src/libserver/dynamic_cfg.c
+++ b/src/libserver/dynamic_cfg.c
@@ -22,7 +22,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "map.h"
#include "filter.h"
#include "dynamic_cfg.h"
diff --git a/src/libserver/events.c b/src/libserver/events.c
index a50c122f3..b996f1559 100644
--- a/src/libserver/events.c
+++ b/src/libserver/events.c
@@ -23,7 +23,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "events.h"
#include "xxhash.h"
diff --git a/src/libserver/fuzzy_backend.c b/src/libserver/fuzzy_backend.c
index 3d1749aa7..ce6bd6a5a 100644
--- a/src/libserver/fuzzy_backend.c
+++ b/src/libserver/fuzzy_backend.c
@@ -22,7 +22,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "fuzzy_backend.h"
#include <sqlite3.h>
diff --git a/src/libserver/html.c b/src/libserver/html.c
index e68c73c8c..0a46cef02 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -24,7 +24,7 @@
#include "config.h"
#include "util.h"
-#include "main.h"
+#include "rspamd.h"
#include "message.h"
#include "html.h"
#include "url.h"
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index d585f9ce6..8cf6b771f 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -23,7 +23,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "util.h"
#include "cfg_file.h"
#include "cfg_rcl.h"
diff --git a/src/libserver/proxy.c b/src/libserver/proxy.c
index a4076954b..09171eeb9 100644
--- a/src/libserver/proxy.c
+++ b/src/libserver/proxy.c
@@ -22,7 +22,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "proxy.h"
static void rspamd_proxy_backend_handler (gint fd, gshort what, gpointer data);
diff --git a/src/libserver/roll_history.c b/src/libserver/roll_history.c
index 52049cb5e..74c7c8214 100644
--- a/src/libserver/roll_history.c
+++ b/src/libserver/roll_history.c
@@ -24,7 +24,7 @@
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "roll_history.h"
static const gchar rspamd_history_magic[] = {'r', 's', 'h', '1'};
diff --git a/src/libserver/spf.c b/src/libserver/spf.c
index 479f22e93..d9b9a730f 100644
--- a/src/libserver/spf.c
+++ b/src/libserver/spf.c
@@ -25,7 +25,7 @@
#include "config.h"
#include "dns.h"
#include "spf.h"
-#include "main.h"
+#include "rspamd.h"
#include "message.h"
#include "filter.h"
#include "utlist.h"
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c
index 52b62fac5..6564d9efe 100644
--- a/src/libserver/symbols_cache.c
+++ b/src/libserver/symbols_cache.c
@@ -24,7 +24,7 @@
#include "config.h"
#include "util.h"
-#include "main.h"
+#include "rspamd.h"
#include "message.h"
#include "symbols_cache.h"
#include "cfg_file.h"
diff --git a/src/libserver/task.c b/src/libserver/task.c
index ce765b8f0..fc22f784f 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -22,7 +22,7 @@
*/
#include "task.h"
-#include "main.h"
+#include "rspamd.h"
#include "filter.h"
#include "protocol.h"
#include "message.h"
diff --git a/src/libserver/url.c b/src/libserver/url.c
index 3a99480cd..b2e5d691c 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -29,7 +29,7 @@
#include "url.h"
#include "util.h"
#include "fstring.h"
-#include "main.h"
+#include "rspamd.h"
#include "message.h"
#include "http.h"
#include "acism.h"
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index 800fa9c01..eee200a41 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -22,7 +22,7 @@
*/
#include "config.h"
-#include "main.h"
+#include "rspamd.h"
#include "message.h"
#include "lua/lua_common.h"
#include "worker_util.h"
diff --git a/src/libserver/worker_util.h b/src/libserver/worker_util.h
index 04109b9b0..8bc0ceaee 100644
--- a/src/libserver/worker_util.h
+++ b/src/libserver/worker_util.h
@@ -26,7 +26,7 @@
#include "config.h"
#include "util.h"
#include "http.h"
-#include "main.h"
+#include "rspamd.h"
#ifndef HAVE_SA_SIGINFO
typedef void (*rspamd_sig_handler_t) (gint);