From 4bef969192221d96e33894b487fd7485be735bbc Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Wed, 22 Jun 2016 04:51:21 +0300 Subject: [PATCH] sxt: sxt_key_assign_hash(); --- include/sxt/sxtkey.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/sxt/sxtkey.h b/include/sxt/sxtkey.h index 8386fef..e338420 100644 --- a/include/sxt/sxtkey.h +++ b/include/sxt/sxtkey.h @@ -75,6 +75,8 @@ void sxt_key_free(sxtkey_t *); */ int sxt_key_generate(sxtkey_t *, int , int ); - +/* key custom hash ops */ +int sxt_key_assign_hash(const sxtkey_t *, uint64_t); +uint64_t sxt_key_hash(const sxtkey_t *); #endif /* __SXT_SXTKEY_H__ */