]> the.earth.li Git - onak.git/blobdiff - keydb.h
cscvs to tla changeset 46
[onak.git] / keydb.h
diff --git a/keydb.h b/keydb.h
index e9bcb6751f275fc1d8607527419ddb9b882e7ae2..647916c9d42521473d4d5ba72a6e9a2bd79c6334 100644 (file)
--- a/keydb.h
+++ b/keydb.h
@@ -115,12 +115,21 @@ char *keyid2uid(uint64_t keyid);
  */
 struct ll *getkeysigs(uint64_t keyid);
 
+/**
+ *     cached_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 above except we use the hash module to cache the
+ */
+struct ll *cached_getkeysigs(uint64_t keyid);
+
 /**
  *     getfullkeyid - Maps a 32bit key id to a 64bit one.
  *     @keyid: The 32bit keyid.
  *
  *     This function maps a 32bit key id to the full 64bit one. It returns the
- *     full keyid.
+ *     full keyid. If the key isn't found a keyid of 0 is returned.
  */
 uint64_t getfullkeyid(uint64_t keyid);