]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/MurmurHash2.h
Add an extra debug log to dissect_image()
[thirdparty/systemd.git] / src / basic / MurmurHash2.h
CommitLineData
c062cd9d 1/* SPDX-License-Identifier: LicenseRef-murmurhash2-public-domain */
57d0e6b2
KS
2//-----------------------------------------------------------------------------
3// MurmurHash2 was written by Austin Appleby, and is placed in the public
4// domain. The author hereby disclaims copyright to this source code.
5
7a3c343c 6#pragma once
57d0e6b2
KS
7
8//-----------------------------------------------------------------------------
9// Platform-specific functions and macros
10
11// Microsoft Visual Studio
12
13#if defined(_MSC_VER)
14
15typedef unsigned char uint8_t;
16typedef unsigned long uint32_t;
17typedef unsigned __int64 uint64_t;
18
19// Other compilers
20
a5201ed6 21#else // defined(_MSC_VER)
57d0e6b2
KS
22
23#include <stdint.h>
24
25#endif // !defined(_MSC_VER)
26
27//-----------------------------------------------------------------------------
28
29uint32_t MurmurHash2 ( const void * key, int len, uint32_t seed );
30
31//-----------------------------------------------------------------------------