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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Fri Oct 15 10:44:57 1999 UTC (20 years ago) by fabian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-csrc
FILE REMOVED
resync 1.3: 939574072->939863113

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