hash-functions: New function hash_case_bytes().
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 7 Dec 2010 04:50:04 +0000 (20:50 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Mar 2011 16:41:55 +0000 (09:41 -0700)
commit9bbbfbc94aead4518e17eb6304451f6ad2ca2db2
treea8dde97ef8ec11561fe7fd598f365bc8a8db59d9
parent530906aaa19f6c209ca008c8187f7f750a0b1283
hash-functions: New function hash_case_bytes().

This is useful for hashing an arbitrary byte sequence case-insensitively.
Obviously most uses would be better off working with Unicode but we aren't
there yet.
src/libpspp/hash-functions.c
src/libpspp/hash-functions.h