aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-11 12:34:40 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-11 12:34:40 +0000
commit41e28d1148a308957735875abb271d22ba0b4432 (patch)
tree8d549898192d0d513568140cd71e9475f982dea9 /src/rspamd.h
parentcb070eea5c1a2e39336171b37688202f334f7d70 (diff)
downloadrspamd-41e28d1148a308957735875abb271d22ba0b4432.tar.gz
rspamd-41e28d1148a308957735875abb271d22ba0b4432.zip
[Rework] Further project structure reorganisation
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h23
1 files changed, 3 insertions, 20 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index 22d957490..be96f0755 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -22,7 +22,7 @@
#include "libutil/mem_pool.h"
#include "libutil/util.h"
#include "libserver/logger.h"
-#include "libutil/http_connection.h"
+#include "libserver/http/http_connection.h"
#include "libutil/upstream.h"
#include "libutil/radix.h"
#include "libserver/cfg_file.h"
@@ -56,6 +56,8 @@
extern "C" {
#endif
+struct rspamd_main;
+
enum rspamd_worker_flags {
RSPAMD_WORKER_HAS_SOCKET = (1 << 0),
RSPAMD_WORKER_UNIQUE = (1 << 1),
@@ -152,17 +154,6 @@ struct rspamd_worker_signal_handler {
struct rspamd_worker_signal_handler_elt *cb;
};
-struct rspamd_controller_pbkdf {
- const char *name;
- const char *alias;
- const char *description;
- enum rspamd_cryptobox_pbkdf_type type;
- gint id;
- guint complexity;
- gsize salt_len;
- gsize key_len;
-};
-
/**
* Common structure representing C module context
*/
@@ -387,14 +378,6 @@ void register_custom_controller_command (const gchar *name,
gboolean privilleged,
gboolean require_message);
-enum rspamd_pbkdf_version_id {
- RSPAMD_PBKDF_ID_V1 = 1,
- RSPAMD_PBKDF_ID_V2 = 2,
- RSPAMD_PBKDF_ID_MAX
-};
-
-extern const struct rspamd_controller_pbkdf pbkdf_list[];
-
#ifdef __cplusplus
}
#endif