]> the.earth.li Git - onak.git/blobdiff - mem.h
cscvs to tla changeset 122
[onak.git] / mem.h
diff --git a/mem.h b/mem.h
index 3358cd18c7ea77c5e366722452b7396d63c5ce19..0412e4bfd93e32bd3063aea5fff59c04d854d4db 100644 (file)
--- a/mem.h
+++ b/mem.h
@@ -4,6 +4,8 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2002 Project Purple
+ *
+ * $Id: mem.h,v 1.4 2003/06/04 20:57:11 noodles Exp $
  */
 
 #ifndef __MEM_H_
@@ -73,4 +75,14 @@ void free_signedpacket_list(
  */
 void free_publickey(struct openpgp_publickey *key);
 
+/**
+ *     free_statskey - free an stats key structure.
+ *     @key: The key to free.
+ *
+ *     Takes a stats key and frees the memory used by it and the linked list
+ *     of sigs under it. Doesn't recurse into the list as it's assumed all the
+ *     objects referenced also exist in the hash.
+ */
+void free_statskey(struct stats_key *key);
+
 #endif /* __MEM_H_ */