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

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

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


Revision 1.2 - (hide annotations) (download) (as text)
Fri Oct 12 07:45:48 2001 UTC (18 years, 1 month ago) by tothwolf
Branch: MAIN
Changes since 1.1: +6 -1 lines
File MIME type: text/x-csrc
* More irccmp/irctoupper fixes

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23