X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=hash.h;h=284095d801700cee1c48f411d92b35e75f6fc7f2;hb=refs%2Ftags%2F0.1.0;hp=b7caa1a5d74f3fa0027d16654237e8fee6f4669b;hpb=4b8483ae278577a3adc8d84da81d77019704466f;p=onak.git 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.