X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/4b8483ae278577a3adc8d84da81d77019704466f..656bb5c3981ae175698ff8782c7ec39e1f6451d1:/hash.h?ds=inline diff --git a/hash.h b/hash.h index b7caa1a..284095d 100644 --- a/hash.h +++ b/hash.h @@ -23,6 +23,14 @@ */ void inithash(void); +/** + * destroyhash - Clean up the hash after use. + * + * This function destroys the hash after use, freeing any memory that was + * used during its lifetime. + */ +void destroyhash(void); + /** * addtohash - Adds a key to the hash. * @key: The key to add.