Add support for multiple valid signatures in input_tokenizer()

This commit is contained in:
jsteube
2018-06-30 10:39:28 +02:00
parent 5728933cd2
commit 384fe1ba15
2 changed files with 52 additions and 15 deletions
+4 -2
View File
@@ -2086,13 +2086,15 @@ typedef struct thread_param
} thread_param_t;
#define MAX_TOKENS 128
#define MAX_TOKENS 128
#define MAX_SIGNATURES 16
typedef struct token
{
int token_cnt;
const char *signature;
int signatures_cnt;
const char *signatures_buf[MAX_SIGNATURES];
int sep[MAX_TOKENS];