match.h 869 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * ngIRCd -- The Next Generation IRC Daemon
  3. * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. * Please read the file COPYING, README and AUTHORS for more information.
  10. */
  11. #ifndef __match_h__
  12. #define __match_h__
  13. /**
  14. * @file
  15. * Wildcard pattern matching (header)
  16. */
  17. GLOBAL bool Match PARAMS((const char *Pattern, const char *String));
  18. GLOBAL bool MatchCaseInsensitive PARAMS((const char *Pattern,
  19. const char *String));
  20. GLOBAL bool MatchCaseInsensitiveList PARAMS((const char *Pattern,
  21. const char *String,
  22. const char *Separator));
  23. #endif
  24. /* -eof- */