aboutsummaryrefslogtreecommitdiffstats
path: root/camel/hash-table-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-08 05:27:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-08 05:27:11 +0800
commitfa272d3dc92f7507d2f78a33c295714e17287019 (patch)
tree5685040e3b72e3fa4a99f3fa4a0b4d321bf6617d /camel/hash-table-utils.c
parentde975c303ae18d449e5f25d692afdc9bfc52d1bd (diff)
downloadgsoc2013-evolution-fa272d3dc92f7507d2f78a33c295714e17287019.tar
gsoc2013-evolution-fa272d3dc92f7507d2f78a33c295714e17287019.tar.gz
gsoc2013-evolution-fa272d3dc92f7507d2f78a33c295714e17287019.tar.bz2
gsoc2013-evolution-fa272d3dc92f7507d2f78a33c295714e17287019.tar.lz
gsoc2013-evolution-fa272d3dc92f7507d2f78a33c295714e17287019.tar.xz
gsoc2013-evolution-fa272d3dc92f7507d2f78a33c295714e17287019.tar.zst
gsoc2013-evolution-fa272d3dc92f7507d2f78a33c295714e17287019.zip
Macro for making comparisons easy. (camel_ustrcasecmp): Use
2001-02-07 Jeffrey Stedfast <fejj@ximian.com> * camel-search-private.c (CAMEL_SEARCH_COMPARE): Macro for making comparisons easy. (camel_ustrcasecmp): Use CAMEL_SEARCH_COMPARE and check for end-of-string before the utf-8 error check. (camel_ustrncasecmp): Same. (camel_search_header_match): Strip leading spaces before doing anything else. Also use vlen and mlen so as to not need to do 500 strlen()'s. (camel_ustrcasecmp): Don't get_utf8() for the 2 strings in the comparison part of the loop because of short-circuit expression evaluation. (blame JPR if this is the wrong term!) (camel_ustrncasecmp): Same. svn path=/trunk/; revision=8057
Diffstat (limited to 'camel/hash-table-utils.c')
0 files changed, 0 insertions, 0 deletions