From 19504d62863a086082e4d1e1b71991aec1fc9278 Mon Sep 17 00:00:00 2001 From: philsmd Date: Wed, 25 Oct 2017 12:31:17 +0200 Subject: [PATCH] add missing function prototypes for the binary-search-tree-based pot sorting --- include/potfile.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/potfile.h b/include/potfile.h index c4e1938f1..3226a7b03 100644 --- a/include/potfile.h +++ b/include/potfile.h @@ -27,4 +27,8 @@ int potfile_handle_left (hashcat_ctx_t *hashcat_ctx); void potfile_update_hash (hashcat_ctx_t *hashcat_ctx, hash_t *found, char *line_pw_buf, int line_pw_len); void potfile_update_hashes (hashcat_ctx_t *hashcat_ctx, hash_t *search, char *line_pw_buf, int line_pw_len, pot_tree_entry_t *tree); +void pot_tree_destroy (pot_tree_entry_t *tree); + +int sort_pot_tree_by_hash (const void *v1, const void *v2); + #endif // _POTFILE_H