/[cvs]/eggdrop1.9/src/irccmp.h
ViewVC logotype

Contents of /eggdrop1.9/src/irccmp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download) (as text)
Mon Feb 17 10:22:30 2003 UTC (16 years, 2 months ago) by stdarg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
File MIME type: text/x-csrc
FILE REMOVED
* Moved irccmp to libeggdrop
* Initial support for 005 numeric

1 /*
2 * irccmp.h --
3 *
4 * prototypes and macros for irccmp.
5 */
6 /*
7 * Copyright (C) 1990 Jarkko Oikarinen
8 * Copyright (C) 1999, 2000, 2001, 2002, 2003 Eggheads Development Team
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 */
24 /*
25 * $Id: irccmp.h,v 1.6 2003/01/02 21:33:16 wcc Exp $
26 */
27
28 #ifndef _EGG_IRCCMP_H
29 #define _EGG_IRCCMP_H
30
31
32 /*
33 * Prototypes
34 */
35 extern int _irccmp(const char *, const char *);
36 extern int _ircncmp(const char *, const char *, int);
37 extern int _irctolower(int);
38 extern int _irctoupper(int);
39 extern int (*irccmp) (const char *, const char *);
40 extern int (*ircncmp) (const char *, const char *, int);
41 extern int (*irctoupper) (int);
42 extern int (*irctolower) (int);
43
44
45 /*
46 * Character macros
47 */
48 extern const unsigned char ToLowerTab[];
49 #define ToLower(c) (ToLowerTab[(unsigned char)(c)])
50
51 extern const unsigned char ToUpperTab[];
52 #define ToUpper(c) (ToUpperTab[(unsigned char)(c)])
53
54 #endif /* !_EGG_IRCCMP_H */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23