diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-12-07 18:31:57 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-12-07 18:31:57 +0000 |
commit | 805d47c98e48df374976972c3fcbba36fd4289f8 (patch) | |
tree | d55b8cf542010770881bef33e269f6ce62e4b394 /include/hashcomp.h | |
parent | 6c389362435138c1523e4aedb53938100f6b4c47 (diff) |
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
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r-- | include/hashcomp.h | 8 |
1 files changed, 8 insertions, 0 deletions
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. |