There may be more of them.
usual/bits.h \
usual/cbtree.h usual/cbtree.c \
usual/cfparser.h usual/cfparser.c \
- usual/crc32.h usual/crc32.c \
usual/crypto/digest.h usual/crypto/digest.c \
usual/crypto/hmac.h usual/crypto/hmac.c \
usual/crypto/keccak.h usual/crypto/keccak.c \
usual/event.h usual/event.c \
usual/fileutil.h usual/fileutil.c \
usual/getopt.h usual/getopt.c \
+ usual/hashing/crc32.h usual/hashing/crc32.c \
+ usual/hashing/lookup3.h usual/hashing/lookup3.c \
usual/hashtab-impl.h \
usual/heap.h usual/heap.c \
usual/list.h usual/list.c \
usual/logging.h usual/logging.c \
- usual/lookup3.h usual/lookup3.c \
usual/mbuf.h usual/mbuf.c \
usual/mdict.h usual/mdict.c \
usual/mempool.h usual/mempool.c \
#include <usual/base.h>
#include <usual/cbtree.h>
#include <usual/cfparser.h>
-#include <usual/crc32.h>
+#include <usual/hashing/crc32.h>
#include <usual/daemon.h>
#include <usual/endian.h>
#include <usual/err.h>
#include <usual/heap.h>
#include <usual/list.h>
#include <usual/logging.h>
-#include <usual/lookup3.h>
+#include <usual/hashing/lookup3.h>
#include <usual/mbuf.h>
#include <usual/crypto/md5.h>
#include <usual/misc.h>
-#include <usual/crc32.h>
-#include <usual/lookup3.h>
+#include <usual/hashing/crc32.h>
+#include <usual/hashing/lookup3.h>
#include <usual/string.h>
*/
-#include <usual/crc32.h>
+#include <usual/hashing/crc32.h>
static const uint32_t crc_tab[256] = {
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
*
* CRC32 checksum.
*/
-#ifndef _USUAL_CRC32_H_
-#define _USUAL_CRC32_H_
+#ifndef _USUAL_HASHING_CRC32_H_
+#define _USUAL_HASHING_CRC32_H_
#include <usual/base.h>
* Compact version of Bob Jenkins' lookup3.c hash.
*/
-#include <usual/lookup3.h>
+#include <usual/hashing/lookup3.h>
#include <string.h>
*
* Jenkins' lookup3 non-cryptographic hash.
*/
-#ifndef _USUAL_LOOKUP3_H_
-#define _USUAL_LOOKUP3_H_
+#ifndef _USUAL_HASHING_LOOKUP3_H_
+#define _USUAL_HASHING_LOOKUP3_H_
#include <usual/base.h>