MINOR: pattern: Each pattern sets the expected input type
This is used later for increasing the compability with incoming
sample types. When multiple compatible types are supported, one
is arbitrarily used (eg: UINT).
diff --git a/include/types/pattern.h b/include/types/pattern.h
index 3f0a085..7a00e8b 100644
--- a/include/types/pattern.h
+++ b/include/types/pattern.h
@@ -113,6 +113,7 @@
struct pattern {
struct list list; /* chaining */
int type; /* type of the ACL pattern (SMP_T_*) */
+ int expect_type; /* type of the expected sample (SMP_T_*) */
union {
int i; /* integer value */
struct {