aboutsummaryrefslogtreecommitdiff
path: root/src/jenkins/lookup.h
blob: 54ccc979ca67c0e2c5a8c3f5ae6eecfd64f6e183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __LOOKUP3_H__
#define __LOOKUP3_H__

#ifdef WIN32
typedef unsigned char  uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int   uint32_t;
#else
#include <stdint.h>     /* defines uint32_t etc */
#endif

#ifdef __cplusplus
extern "C"
{
#endif

uint32_t hashlittle(const void *key, size_t length, uint32_t initval);
void hashlittle2(const void *key, size_t length, uint32_t *pc, uint32_t *pb);

#ifdef __cplusplus
}
#endif

#endif  // __LOOKUP3_H__