Detabbed
[AROS.git] / rom / dos / matchpatternnocase.c
blob5b96b3d28985c373d0b7e82369432a6ac1d0ecdb
1 /*
2 Copyright © 1995-2008, 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
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
59 return patternMatch(pat, str, FALSE, DOSBase);
61 AROS_LIBFUNC_EXIT
62 } /* MatchPatternNoCase */