static inline int is_excluded(const char *fname, int is_dir, int filter_level)
{
	return name_is_excluded(fname, is_dir ? NAME_IS_DIR : NAME_IS_FILE, filter_level);
}
static inline int is_excluded(const char *fname, int is_dir, int filter_level)
{
	return name_is_excluded(fname, is_dir ? NAME_IS_DIR : NAME_IS_FILE, filter_level);
}