void mutt_free_regex_list(struct RegexList **list);
void mutt_free_replace_list(struct ReplaceList **list);
-int mutt_matches_ignore(const char *s);
+bool mutt_matches_ignore(const char *s);
/* add an element to a list */
int mutt_remove_from_regex_list(struct RegexList **l, const char *str);
*
* checks Ignore and UnIgnore using mutt_list_match
*/
-int mutt_matches_ignore(const char *s)
+bool mutt_matches_ignore(const char *s)
{
return mutt_list_match(s, &Ignore) && !mutt_list_match(s, &UnIgnore);
}