]> the.earth.li Git - onak.git/blobdiff - hash.h
cscvs to tla changeset 119
[onak.git] / hash.h
diff --git a/hash.h b/hash.h
index 284095d801700cee1c48f411d92b35e75f6fc7f2..f26ad05cd06964edaa937df74d657fd2c9596a47 100644 (file)
--- a/hash.h
+++ b/hash.h
@@ -4,13 +4,15 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2000-2002 Project Purple
+ *
+ * $Id: hash.h,v 1.5 2003/10/11 21:52:18 noodles Exp $
  */
 
 #ifndef __HASH_H__
 #define __HASH_H__
 
+#include "keystructs.h"
 #include "ll.h"
-#include "stats.h"
 
 #define HASHSIZE 1024
 #define HASHMASK 0x3FF
@@ -71,16 +73,6 @@ unsigned long hashelements(void);
  *     Gets a particular entry from the hash. Useful for doing something over
  *     all entries in the hash.
  */
-struct ll *gethashtableentry(int entry);
-
-/**
- *     hash_getkeysigs - Gets the signatures on a key.
- *     @keyid: The key we want the signatures for.
- *     
- *     This function gets the signatures on a key. It's the same as the
- *     getkeysigs function from the keydb module except we also cache the data
- *     so that if we need it again we already have it available.
- */
-struct ll *hash_getkeysigs(uint64_t keyid);
+struct ll *gethashtableentry(unsigned int entry);
 
 #endif /* __HASH_H__ */