Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */
  2. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  3. #ifndef __dj_include_fnmatch_h_
  4. #define __dj_include_fnmatch_h_
  5.  
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10. #ifndef __dj_ENFORCE_ANSI_FREESTANDING
  11.  
  12. #ifndef __STRICT_ANSI__
  13.  
  14. #define FNM_NOESCAPE    0x01
  15. #define FNM_PATHNAME    0x02
  16. #define FNM_PERIOD      0x04
  17.  
  18. #define FNM_NOMATCH     1
  19. #define FNM_ERROR       2
  20.  
  21. int fnmatch(const char *_pattern, const char *_string, int _flags);
  22.  
  23. #ifndef _POSIX_SOURCE
  24.  
  25. #define FNM_NOCASE      0x08
  26. #define FNM_CASEFOLD    FNM_NOCASE /* compatibility with GNU fnmatch */
  27. #define FNM_IGNORECASE  FNM_NOCASE /* compatibility with Solaris */
  28.  
  29. #endif /* !_POSIX_SOURCE */
  30. #endif /* !__STRICT_ANSI__ */
  31. #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
  32.  
  33. #ifndef __dj_ENFORCE_FUNCTION_CALLS
  34. #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
  35.  
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39.  
  40. #endif /* !__dj_include_fnmatch_h_ */
  41.