X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb.h;h=647916c9d42521473d4d5ba72a6e9a2bd79c6334;hb=87fbdd69b1885c6588ec924e37b734f2c3c5ed35;hp=e9bcb6751f275fc1d8607527419ddb9b882e7ae2;hpb=e02c731dfbb288c736f2cd09a9b6df0507c59ddd;p=onak.git diff --git a/keydb.h b/keydb.h index e9bcb67..647916c 100644 --- 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);