2004-12-23 15:16:30 +02:00
|
|
|
#ifndef __CMPH_TYPES_H__
|
|
|
|
#define __CMPH_TYPES_H__
|
|
|
|
|
2005-01-18 23:06:08 +02:00
|
|
|
typedef unsigned char cmph_uint8;
|
|
|
|
typedef unsigned short cmph_uint16;
|
|
|
|
typedef unsigned int cmph_uint32;
|
2005-07-29 21:29:30 +03:00
|
|
|
typedef float cmph_float32;
|
2004-12-23 15:16:30 +02:00
|
|
|
|
2005-01-27 16:12:28 +02:00
|
|
|
typedef enum { CMPH_HASH_DJB2, CMPH_HASH_FNV, CMPH_HASH_JENKINS,
|
|
|
|
CMPH_HASH_SDBM, CMPH_HASH_COUNT } CMPH_HASH;
|
2005-01-18 23:06:08 +02:00
|
|
|
extern const char *cmph_hash_names[];
|
2005-07-28 00:13:02 +03:00
|
|
|
typedef enum { CMPH_BMZ, CMPH_CHM, CMPH_BRZ, CMPH_COUNT } CMPH_ALGO; /* included -- Fabiano */
|
2005-01-18 23:06:08 +02:00
|
|
|
extern const char *cmph_names[];
|
2004-12-23 15:16:30 +02:00
|
|
|
|
|
|
|
#endif
|