2004-12-23 15:16:30 +02:00
|
|
|
#ifndef __HASH_STATE_H__
|
|
|
|
#define __HASH_STATE_H__
|
|
|
|
|
|
|
|
#include "hash.h"
|
|
|
|
#include "jenkins_hash.h"
|
|
|
|
#include "djb2_hash.h"
|
|
|
|
#include "sdbm_hash.h"
|
|
|
|
#include "fnv_hash.h"
|
2005-01-18 23:06:08 +02:00
|
|
|
union cmph__hash_state_t
|
2004-12-23 15:16:30 +02:00
|
|
|
{
|
|
|
|
CMPH_HASH hashfunc;
|
2005-01-18 23:06:08 +02:00
|
|
|
cmph_jenkins_state_t jenkins;
|
|
|
|
cmph_djb2_state_t djb2;
|
|
|
|
cmph_sdbm_state_t sdbm;
|
|
|
|
cmph_fnv_state_t fnv;
|
2004-12-23 15:16:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|