Remove need for remote def of TR_FLINE that won't compile on Centos.
authorMargaret Wasserman <mrw@painless-security.com>
Mon, 24 Mar 2014 22:20:47 +0000 (18:20 -0400)
committerMargaret Wasserman <mrw@painless-security.com>
Mon, 24 Mar 2014 22:20:47 +0000 (18:20 -0400)
include/tr_filter.h
include/trust_router/tr_constraint.h

index b744c9b..8efdbc4 100644 (file)
@@ -75,4 +75,5 @@ typedef struct tr_filter {
 void tr_filter_free (TR_FILTER *filt);
 int tr_prefix_wildcard_match (char *str, char *wc_str);
 int tr_filter_process_rp_permitted (TR_NAME *rp_realm, TR_FILTER *rpp_filter, TR_CONSTRAINT_SET *in_constraints, TR_CONSTRAINT_SET **out_constraints, int *out_action);
+TR_CONSTRAINT_SET *tr_constraint_set_from_fline (TR_FLINE *fline);
 #endif
index deeed51..fc20ae0 100644 (file)
@@ -39,7 +39,6 @@
 
 #define TR_MAX_CONST_MATCHES 24
 
-typedef struct tr_fline TR_FLINE;
 typedef void TR_CONSTRAINT_SET;
 
 typedef struct tr_constraint {
@@ -47,7 +46,6 @@ typedef struct tr_constraint {
   TR_NAME *matches[TR_MAX_CONST_MATCHES];
 } TR_CONSTRAINT;
 
-TR_CONSTRAINT_SET *tr_constraint_set_from_fline (TR_FLINE *fline);
 void tr_constraint_add_to_set (TR_CONSTRAINT_SET **cs, TR_CONSTRAINT *c);
 
 #endif