| 1 |
#include <stdint.h> |
| 2 |
#include <glib.h> |
| 3 |
|
| 4 |
#ifndef __CMPH_TYPES_H__ |
| 5 |
#define __CMPH_TYPES_H__ |
| 6 |
|
| 7 |
typedef int8_t cmph_int8; |
| 8 |
typedef uint8_t cmph_uint8; |
| 9 |
|
| 10 |
typedef int16_t cmph_int16; |
| 11 |
typedef uint16_t cmph_uint16; |
| 12 |
|
| 13 |
typedef int32_t cmph_int32; |
| 14 |
typedef uint32_t cmph_uint32; |
| 15 |
|
| 16 |
typedef int64_t cmph_int64; |
| 17 |
typedef uint64_t cmph_uint64; |
| 18 |
|
| 19 |
typedef enum { CMPH_HASH_JENKINS, CMPH_HASH_COUNT } CMPH_HASH; |
| 20 |
extern const char *cmph_hash_names[]; |
| 21 |
typedef enum { CMPH_BMZ, CMPH_BMZ8, CMPH_CHM, CMPH_BRZ, CMPH_FCH, |
| 22 |
CMPH_BDZ, CMPH_BDZ_PH, |
| 23 |
CMPH_CHD_PH, CMPH_CHD, CMPH_COUNT } CMPH_ALGO; |
| 24 |
extern const char *cmph_names[]; |
| 25 |
|
| 26 |
#endif |