X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/4b8483ae278577a3adc8d84da81d77019704466f..8bb45b1dfe6b5b30d89f154c16fb3eb8c049f496:/hash.h?ds=sidebyside 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.