Go to the source code of this file.
Classes | |
struct | XXH32_stateSpace_t |
Macros | |
#define | XXH32_feed XXH32_update |
#define | XXH32_getIntermediateResult XXH32_intermediateDigest |
#define | XXH32_result XXH32_digest |
#define | XXH32_SIZEOFSTATE 48 |
Enumerations | |
enum | XXH_errorcode { XXH_OK =0, XXH_ERROR } |
Functions | |
unsigned int | XXH32 (const void *input, int len, unsigned int seed) |
unsigned int | XXH32_digest (void *state) |
void * | XXH32_init (unsigned int seed) |
unsigned int | XXH32_intermediateDigest (void *state) |
XXH_errorcode | XXH32_resetState (void *state, unsigned int seed) |
int | XXH32_sizeofState () |
XXH_errorcode | XXH32_update (void *state, const void *input, int len) |
#define XXH32_feed XXH32_update |
#define XXH32_getIntermediateResult XXH32_intermediateDigest |
#define XXH32_result XXH32_digest |
enum XXH_errorcode |
unsigned int XXH32 | ( | const void * | input, |
int | len, | ||
unsigned int | seed | ||
) |
XXH_NAMESPACE, aka Namespace Emulation :
If you want to include and expose xxHash functions from within your own library, but also want to avoid symbol collisions with other libraries which may also include xxHash,
you can use XXH_NAMESPACE, to automatically prefix any public symbol from xxhash library with the value of XXH_NAMESPACE (therefore, avoid NULL and numeric values).
Note that no change is required within the calling program as long as it includes xxhash.h
: regular symbol name will be automatically translated by this header.
XXH_errorcode XXH32_resetState | ( | void * | state, |
unsigned int | seed | ||
) |
XXH_errorcode XXH32_update | ( | void * | state, |
const void * | input, | ||
int | len | ||
) |