Support rastport clipping rectangle for layerless rastports
[tangerine.git] / rom / dos / matchpatternnocase.c
blob1ec204452066fa3de57dc3cd107a9ef946db9390
1 /*
2 Copyright © 1995-2001, 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(STRPTR, pat, D1),
24 AROS_LHA(STRPTR, str, D2),
26 /* LOCATION */
27 struct DosLibrary *, DOSBase, 162, Dos)
29 /* FUNCTION
31 Similar to MatchPattern(), only case insensitive (see there for
32 more information). For use with ParsePatternNoCase().
34 INPUTS
36 pat -- Pattern as returned by ParsePatternNoCase()
37 str -- String to match against the pattern 'pat'
39 RESULT
41 Boolean telling whether the match was successful or not.
43 NOTES
45 EXAMPLE
47 BUGS
49 SEE ALSO
51 MatchPattern(), ParsePatternNoCase().
53 INTERNALS
55 *****************************************************************************/
57 AROS_LIBFUNC_INIT
58 AROS_LIBBASE_EXT_DECL(struct DosLibrary *,DOSBase)
60 return patternMatch(pat, str, FALSE, DOSBase);
62 AROS_LIBFUNC_EXIT
63 } /* MatchPatternNoCase */