-/* Copyright (C) 2007-2020 Open Information Security Foundation
+/* Copyright (C) 2007-2021 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
/** \brief a single match condition for a signature */
typedef struct SigMatch_ {
- uint8_t type; /**< match type */
+ uint16_t type; /**< match type */
uint16_t idx; /**< position in the signature */
SigMatchCtx *ctx; /**< plugin specific data */
struct SigMatch_ *next;
/** \brief Data needed for Match() */
typedef struct SigMatchData_ {
- uint8_t type; /**< match type */
+ uint16_t type; /**< match type */
uint8_t is_last; /**< Last element of the list */
SigMatchCtx *ctx; /**< plugin specific data */
} SigMatchData;