Move tr_prefix_wildcard_match to tr_constraint.c
authorSam Hartman <hartmans@debian.org>
Wed, 2 Jul 2014 09:30:21 +0000 (05:30 -0400)
committerSam Hartman <hartmans@debian.org>
Wed, 2 Jul 2014 09:43:18 +0000 (05:43 -0400)
commitb530c6da3eecfef355272d1e8995954626f10f8e
treefbebd9e179a345ac07d35354fb9161f98e45d7e4
parentac9e39e97001cb23d4458d03420e282613efe777
Move tr_prefix_wildcard_match to tr_constraint.c

We need tr_prefix_wildcard_match for merge_constraints and for
tr_filter.c.  Export it from libtr_tid even though it's in a private
header.  It's not part of the public API but is part of the library so
tr_filter can import it.

Also, fix bug; all strings were treated as wildcards.
common/tr_constraint.c
common/tr_filter.c
include/tr_filter.h