diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-03-24 14:25:57 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-03-24 14:25:57 +0100 |
commit | 95f03d03491f0673d4c527f5a23697be44ad0a28 (patch) | |
tree | 9c28dc0506ce1608d35bdbc60cae283ed5067fe9 /fuzzy.c | |
parent | 2c21b4f1203ba69727c64f1a3bf2fe84cc1565db (diff) | |
download | ssdeep-95f03d03491f0673d4c527f5a23697be44ad0a28.tar.gz |
ship a fuzzy.h compatible with ssdeep's fuzzy.h
Diffstat (limited to 'fuzzy.c')
-rw-r--r-- | fuzzy.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -27,6 +27,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "fuzzy.h" #if defined(__GNUC__) && __GNUC__ >= 3 #define likely(x) __builtin_expect(!!(x), 1) @@ -36,8 +37,6 @@ #define unlikely(x) x #endif -#define SPAMSUM_LENGTH 64 -#define FUZZY_MAX_RESULT (SPAMSUM_LENGTH + (SPAMSUM_LENGTH/2 + 20)) #define ROLLING_WINDOW 7 #define MIN_BLOCKSIZE 3 #define HASH_PRIME 0x01000193 |