return NULL;
if (fline->realm_cons)
- tr_constraint_add_to_set(&cset, fline->realm_cons);
+ tr_constraint_add_to_set((TR_CONSTRAINT_SET **)&cset, fline->realm_cons);
if (fline->domain_cons)
- tr_constraint_add_to_set(&cset, fline->domain_cons);
+ tr_constraint_add_to_set((TR_CONSTRAINT_SET **)&cset, fline->domain_cons);
return cset;
}
#define TR_CONSTRAINT_H
#include <trust_router/tr_name.h>
-#include <jansson.h>
#define TR_MAX_CONST_MATCHES 24
typedef struct tr_fline TR_FLINE;
-typedef json_t TR_CONSTRAINT_SET;
+typedef void TR_CONSTRAINT_SET;
typedef struct tr_constraint {
TR_NAME *type;