home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1996 November
/
VPR9611B.ISO
/
vabasic
/
ntclnt.exe
/
DISK8
/
data.8
/
datab
/
INCLUDE
/
VWMATCH.HH
< prev
next >
Wrap
Text File
|
1996-07-29
|
2KB
|
38 lines
/*------------------------------------------------------------------------
* $Source: /rcs/vwrcs/components/vwmatch.hh,v $
* Checked in by $Author: remic $
* $Date: 1996/01/30 18:28:42 $ $Revision: 1.5 $
*------------------------------------------------------------------------
* Copyright (c) 1992, Visual Edge Software Ltd.
*
* ALL RIGHTS RESERVED. This notice is intended as a precaution
* against inadvertent publication, and shall not be deemed to con-
* stitute an acknowledgment that publication has occurred nor to
* imply any waiver of confidentiality. The year included in the
* notice is the year of the creation of the work.
*------------------------------------------------------------------------
* DESCRIPTION:
* VwMatch is a pattern matching utility function. A return value of
* 0 means a successful match. This is so that VwMatch and fnmatch
* return consistent results. The function _VwMatch perform the actual
* matching and VwMatch only serves to invert its result.
*------------------------------------------------------------------------*/
#ifndef VWMATCH_H
#define VWMATCH_H
#if !defined(sun4) && !defined(solaris) && !defined(iris4d)
#include <fnmatch.h>
#define VwMatch fnmatch
#else
VFUNCDECL(int) VwMatch(char*, char*, int flags = 0);
VFUNCDECL(int) VwMatch(wchar_t*, wchar_t*, int flags = 0);
VFUNCDECL(int) _VwMatch(char*, char*, int flags = 0);
VFUNCDECL(int) _VwMatch(wchar_t*, wchar_t*, int flags = 0);
#endif
#endif