It was removed pjw and glib functions from cmph_hash_names vector

This commit is contained in:
fc_botelho 2005-01-27 14:12:28 +00:00
parent 1825613fd1
commit 76bae3e585
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ typedef unsigned char cmph_uint8;
typedef unsigned short cmph_uint16;
typedef unsigned int cmph_uint32;
typedef enum { CMPH_HASH_DJB2, CMPH_HASH_FNV, CMPH_HASH_GLIB, CMPH_HASH_JENKINS,
CMPH_HASH_PJW, CMPH_HASH_SDBM, CMPH_HASH_COUNT } CMPH_HASH;
typedef enum { CMPH_HASH_DJB2, CMPH_HASH_FNV, CMPH_HASH_JENKINS,
CMPH_HASH_SDBM, CMPH_HASH_COUNT } CMPH_HASH;
extern const char *cmph_hash_names[];
typedef enum { CMPH_BMZ, CMPH_CHM, CMPH_COUNT } CMPH_ALGO; /* included -- Fabiano */
extern const char *cmph_names[];

View File

@ -7,7 +7,7 @@
//#define DEBUG
#include "debug.h"
const char *cmph_hash_names[] = { "djb2", "fnv", "glib", "jenkins", "pjw", "sdbm", NULL };
const char *cmph_hash_names[] = { "djb2", "fnv", "jenkins", "sdbm", NULL };
hash_state_t *hash_state_new(CMPH_HASH hashfunc, cmph_uint32 hashsize)
{