/[cvs]/eggdrop1.4/src/rfc1459.h
ViewVC logotype

Contents of /eggdrop1.4/src/rfc1459.h

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


Revision 1.1.1.1 - (show annotations) (download) (as text) (vendor branch)
Wed Jun 23 19:51:31 1999 UTC (22 years, 4 months ago) by segfault
Branch: eggdev
CVS Tags: start
Changes since 1.1: +0 -0 lines
File MIME type: text/x-csrc
Eggdrop 1.3.28 CVS Code

1 /*
2 * This should make things properly case insensitive with respect to RFC 1459
3 * or at least get them doing things the same way the IRCd does.
4 */
5 #include <ctype.h>
6
7 #ifdef RFC_COMPLIANT
8 #define rfc_tolower(c) (rfc_tolowertab[(unsigned char)(c)])
9 #define rfc_toupper(c) (rfc_touppertab[(unsigned char)(c)])
10 extern unsigned char rfc_tolowertab[];
11 extern unsigned char rfc_touppertab[];
12 #else /* Dalnet?? */
13 #define rfc_tolower(c) tolower(c)
14 #define rfc_toupper(c) toupper(c)
15 #endif /* RFC_COMPLIANT */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23