tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / rom / dos / matchpatternnocase.c
blob7bcb6f696f1a198ff3d35cb0b42b67904f738950
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
8 #include <exec/memory.h>
9 #include <proto/exec.h>
10 #include <proto/utility.h>
11 #include <dos/dosextens.h>
12 #include <dos/dosasl.h>
13 #include "dos_intern.h"
15 /*****************************************************************************
17 NAME */
18 #include <proto/dos.h>
20 AROS_LH2(BOOL, MatchPatternNoCase,
22 /* SYNOPSIS */
23 AROS_LHA(CONST_STRPTR, pat, D1),
24 AROS_LHA(CONST_STRPTR, str, D2),
26 /* LOCATION */
27 struct DosLibrary *, DOSBase, 162, Dos)
29 /* FUNCTION
30 Similar to MatchPattern(), only case insensitive (see there for
31 more information). For use with ParsePatternNoCase().
33 INPUTS
34 pat - Pattern as returned by ParsePatternNoCase()
35 str - String to match against the pattern 'pat'
37 RESULT
38 Boolean telling whether the match was successful or not.
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
47 MatchPattern(), ParsePatternNoCase()
49 INTERNALS
51 *****************************************************************************/
53 AROS_LIBFUNC_INIT
55 return patternMatch(pat, str, FALSE, DOSBase);
57 AROS_LIBFUNC_EXIT
58 } /* MatchPatternNoCase */