00001 /* match.h: header for match.c 00002 * 00003 * Copyright (C) 1990 Jarkko Oikarinen 00004 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 * 00020 * $Id: irccmp.h,v 1.3 2003-12-17 07:39:14 wcc Exp $ 00021 */ 00022 00023 #ifndef _EGG_IRCCMP_H_ 00024 #define _EGG_IRCCMP_H_ 00025 00026 #define ToUpper(c) (ToUpperTab[(unsigned)c]) 00027 #define ToLower(c) (ToLowerTab[(unsigned)c]) 00028 00029 extern int irccmp(const char *, const char *); 00030 extern int ircncmp(const char *, const char *, int); 00031 00032 #endif /* !_EGG_IRCCMP_H */