]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/match.h
When sending an error use the IRC_WriteErrClient() variant
[ngircd-alex.git] / src / ngircd / match.h
index b96456d66ed1f46a05903a13a22f74bb1aa45380..d4107fb65d357fcdab95677685fa6340378b53d5 100644 (file)
@@ -1,28 +1,31 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
+ * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors.
  *
- * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
- * der GNU General Public License (GPL), wie von der Free Software Foundation
- * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
- * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
- * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
- * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
- *
- * $Id: match.h,v 1.1 2002/06/26 15:42:58 alex Exp $
- *
- * match.h: Wildcard Pattern Matching (Header)
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * Please read the file COPYING, README and AUTHORS for more information.
  */
 
-
 #ifndef __match_h__
 #define __match_h__
 
+/**
+ * @file
+ * Wildcard pattern matching (header)
+ */
 
-GLOBAL BOOLEAN Match PARAMS(( CHAR *Pattern, CHAR *String ));
+GLOBAL bool Match PARAMS((const char *Pattern, const char *String));
 
+GLOBAL bool MatchCaseInsensitive PARAMS((const char *Pattern,
+                                        const char *String));
 
-#endif
+GLOBAL bool MatchCaseInsensitiveList PARAMS((const char *Pattern,
+                                            const char *String,
+                                            const char *Separator));
 
+#endif
 
 /* -eof- */