2005-05-08 15:54:44 +00:00
|
|
|
/*
|
2005-05-10 06:02:19 +00:00
|
|
|
* $Id: hash.h,v 1.2 2005-05-10 06:02:19 bacon Exp $
|
2005-05-08 15:54:44 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XP_STX_HASH_H_
|
|
|
|
#define _XP_STX_HASH_H_
|
|
|
|
|
2005-05-10 06:02:19 +00:00
|
|
|
#include <xp/stx/stx.h>
|
|
|
|
|
2005-05-08 15:54:44 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
#endif
|
|
|
|
|
2005-05-10 06:02:19 +00:00
|
|
|
xp_stx_word_t xp_stx_new_link (
|
|
|
|
xp_stx_t* stx, xp_stx_word_t key, xp_stx_word_t value);
|
|
|
|
xp_stx_word_t xp_stx_hash_lookup (
|
|
|
|
xp_stx_t* stx, xp_stx_word_t table,
|
|
|
|
xp_stx_word_t hash, xp_stx_word_t key);
|
|
|
|
void xp_stx_hash_insert (
|
|
|
|
xp_stx_t* stx, xp_stx_word_t table,
|
|
|
|
xp_stx_word_t hash, xp_stx_word_t key, xp_stx_word_t value);
|
|
|
|
|
2005-05-08 15:54:44 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|