#include <talloc.h>
#include <jansson.h>
-#include <trust_router/tr_name.h>
+#include <tr_name_internal.h>
#include <trust_router/tr_constraint.h>
#include <trust_router/tid.h>
#include <trust_router/trp.h>
#define TR_MAX_FILTERS 5
#define TR_MAX_FILTER_LINES 8
#define TR_MAX_FILTER_SPECS 8
-#define TR_MAX_FILTER_SPEC_MATCHES 8
+#define TR_MAX_FILTER_SPEC_MATCHES 64
/* Filter actions */
-typedef enum {
+typedef enum tr_filter_action {
TR_FILTER_ACTION_REJECT = 0,
TR_FILTER_ACTION_ACCEPT,
TR_FILTER_ACTION_UNKNOWN