X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=hash.h;fp=hash.h;h=284095d801700cee1c48f411d92b35e75f6fc7f2;hb=7388adcea7ebace8d8c299da0e7c2e7e93da9c83;hp=b7caa1a5d74f3fa0027d16654237e8fee6f4669b;hpb=b9cb543b3a93d9e9b74511c5b58b46793b4a7edf;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.