Directory/RB_Not_Accepted [ Functions ]
FUNCTION
Test if a file should be skipped, because it does not match a pattern in "accept files:"
This test is done based on the wildcard expressions specified in configuration.accept_files.
SYNOPSIS
int RB_Not_Accepted( char *filename )
INPUTS
- filename -- the name of the file
SOURCE
{ unsigned int i; int skip = FALSE; skip = RB_To_Be_Skipped( filename ); if ( !skip && configuration.accept_files.number > 0 ) { skip = TRUE; for ( i = 0; i < configuration.accept_files.number; ++i ) { if ( RB_Match( filename, configuration.accept_files.names[i] ) ) { RB_Say( "accept >%s< with >%s<\n", SAY_INFO, filename, configuration.accept_files.names[i] ); skip = FALSE; break; } } } return skip; }