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