Defines | |
#define | NXS_HASH_T_FORMAT |
Decimal format string for hash values. | |
#define | NXS_HASH_T_FORMAT_HEX |
Hexadecimal format string for hash values. | |
#define | NXS_HASH_T_MAX |
Maximum supported value in a nxs_hash_t object. | |
Typedefs | |
typedef nxs_hash_t(* | nxs_hash_function )(const void *, size_t) |
Function pointer type for hashing generic data of the given size in bytes. | |
typedef uint_fast32_t | nxs_hash_t |
Abstract type for hashes. | |
Functions | |
nxs_hash_t | hash_lookup3 (const void *data, size_t length) |
Hashes the first length bytes of data using the lookup3 algorithm. |
#define NXS_HASH_T_FORMAT |
Decimal format string for hash values.
This does not include the % character or any extraneous specifiers.
#define NXS_HASH_T_FORMAT_HEX |
Hexadecimal format string for hash values.
This does not include the % character or any extraneous specifiers.
#define NXS_HASH_T_MAX |
Maximum supported value in a nxs_hash_t object.
typedef nxs_hash_t(* nxs_hash_function)(const void *, size_t) |
Function pointer type for hashing generic data of the given size in bytes.
Abstract type for hashes.
Always unsigned and at least 32 bits in size.
nxs_hash_t hash_lookup3 | ( | const void * | data, | |
size_t | length | |||
) |
Hashes the first length bytes of data using the lookup3 algorithm.