]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Update copyright.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 26 May 2015 13:37:22 +0000 (14:37 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 26 May 2015 13:37:22 +0000 (14:37 +0100)
src/libserver/symbols_cache.c
src/libserver/symbols_cache.h

index fec045e1908b8da2592f82261a801545df50efcf..cf40bf614b399ea692f86c88b1497fb2db15fd1a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2012, Vsevolod Stakhov
+ * Copyright (c) 2009-2015, Vsevolod Stakhov
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
 #include "symbols_cache.h"
 #include "cfg_file.h"
 
-#define WEIGHT_MULT 4.0
-#define FREQUENCY_MULT 10.0
-#define TIME_MULT -1.0
-
 /* After which number of messages try to resort cache */
 #define MAX_USES 100
 /*
index 3baf749ab5b11466a3e2a7b5f4e7767cab02c601..2d194ab48c57a7e8d9d104ff87bab67f61e40c5e 100644 (file)
@@ -1,8 +1,31 @@
+/*
+ * Copyright (c) 2009-2015, Vsevolod Stakhov
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY AUTHOR ''AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL AUTHOR BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 #ifndef RSPAMD_SYMBOLS_CACHE_H
 #define RSPAMD_SYMBOLS_CACHE_H
 
 #include "config.h"
-#include "radix.h"
 
 #define MAX_SYMBOL 128