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 >
Text File  |  1996-07-29  |  2KB  |  38 lines

  1. /*------------------------------------------------------------------------
  2.  * $Source: /rcs/vwrcs/components/vwmatch.hh,v $
  3.  * Checked in by $Author: remic $
  4.  * $Date: 1996/01/30 18:28:42 $                   $Revision: 1.5 $
  5.  *------------------------------------------------------------------------
  6.  *             Copyright (c) 1992, Visual Edge Software Ltd.
  7.  *
  8.  * ALL RIGHTS RESERVED.  This notice is  intended  as  a  precaution
  9.  * against  inadvertent publication, and shall not be deemed to con-
  10.  * stitute an acknowledgment that publication has  occurred  nor  to
  11.  * imply  any  waiver  of confidentiality.  The year included in the
  12.  * notice is the year of the creation of the work.
  13.  *------------------------------------------------------------------------
  14.  * DESCRIPTION:
  15.  * VwMatch is a pattern matching utility function.  A return value of
  16.  * 0 means a successful match. This is so that VwMatch and fnmatch 
  17.  * return consistent results. The function _VwMatch perform the actual
  18.  * matching and VwMatch only serves to invert its result.
  19.  *------------------------------------------------------------------------*/
  20.  
  21. #ifndef VWMATCH_H
  22. #define VWMATCH_H
  23. #if !defined(sun4) && !defined(solaris) && !defined(iris4d)    
  24.  
  25. #include <fnmatch.h>
  26.  
  27. #define VwMatch        fnmatch
  28.  
  29. #else     
  30.  
  31. VFUNCDECL(int)  VwMatch(char*, char*, int flags = 0);
  32. VFUNCDECL(int)  VwMatch(wchar_t*, wchar_t*, int flags = 0);
  33. VFUNCDECL(int) _VwMatch(char*, char*, int flags = 0);
  34. VFUNCDECL(int) _VwMatch(wchar_t*, wchar_t*, int flags = 0);
  35.  
  36. #endif
  37. #endif
  38.