Add prototypes for hash table functions

These can be generated dynamically using the HTABLE_PROTOTYPE macro.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-04-21 11:21:49 +02:00
parent 674f398ee9
commit 2c77124972
2 changed files with 2 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ static int load_keys_ht_compare (struct ht_keybindings_s *,
#define HSIZE 256
HTABLE_HEAD (ht_keybindings, HSIZE, ht_keybindings_s);
HTABLE_PROTOTYPE (ht_keybindings, ht_keybindings_s)
HTABLE_GENERATE (ht_keybindings, ht_keybindings_s, load_keys_ht_getkey,
load_keys_ht_compare)