summaryrefslogtreecommitdiffstats
path: root/src/libmime/lang_detection.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-30 19:52:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-30 19:52:53 +0000
commit9fd0dc23765c38f315d3bf67516bbe52a1b61bbd (patch)
treefbdc0c64016ae15366a1ff6edeca3b1a71f6c253 /src/libmime/lang_detection.h
parent11b9c907273fc939e3b75f4c6ee64146671904c9 (diff)
downloadrspamd-9fd0dc23765c38f315d3bf67516bbe52a1b61bbd.tar.gz
rspamd-9fd0dc23765c38f315d3bf67516bbe52a1b61bbd.zip
[Project] Start language detection project
Diffstat (limited to 'src/libmime/lang_detection.h')
-rw-r--r--src/libmime/lang_detection.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/libmime/lang_detection.h b/src/libmime/lang_detection.h
new file mode 100644
index 000000000..aa1bf5494
--- /dev/null
+++ b/src/libmime/lang_detection.h
@@ -0,0 +1,27 @@
+/*-
+ * Copyright 2017 Vsevolod Stakhov
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RSPAMD_LANG_DETECTION_H
+#define RSPAMD_LANG_DETECTION_H
+
+#include "config.h"
+#include "libserver/cfg_file.h"
+
+struct rspamd_lang_detector;
+
+struct rspamd_lang_detector* rspamd_language_detector_init (struct rspamd_config *cfg);
+
+#endif