From 805d47c98e48df374976972c3fcbba36fd4289f8 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 7 Dec 2008 18:31:57 +0000 Subject: Move stuff to use ASCII map where required. Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/hashcomp.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/hashcomp.h') diff --git a/include/hashcomp.h b/include/hashcomp.h index 46531f520..a7122c72c 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -54,6 +54,14 @@ unsigned const char rfc_case_insensitive_map[256] = { 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 /* 240-255 */ }; +/** Seperate from the other casemap tables so that code *can* still exclusively rely on RFC casemapping + * if it must. + * + * This is provided as a pointer so that modules can change it to their custom mapping tables, + * e.g. for national character support. + */ +extern unsigned const char *national_case_sensitive_map; + /** Case insensitive map, ASCII rules. * That is; * [ != {, but A == a. -- cgit v1.2.3