cscvs to tla changeset 41
[onak.git] / keyid.h
diff --git a/keyid.h b/keyid.h
index 1959a0d2848067ca055c494eb332ff060a14c13a..d25447c6971c85f0d30508862c211d6900c64dff 100644 (file)
--- a/keyid.h
+++ b/keyid.h
 
 /**
  *     get_keyid - Given a public key returns the keyid.
- *     @publickey: The key to calculate the fingerprint for.
+ *     @publickey: The key to calculate the id for.
  *
  *     This function returns the key id for a given public key.
  */
 uint64_t get_keyid(struct openpgp_publickey *publickey);
 
+/**
+ *     get_packetid - Given a PGP packet returns the keyid.
+ *     @packet: The packet to calculate the id for.
+ *
+ *     This function returns the key id for a given PGP packet.
+ */
+uint64_t get_packetid(struct openpgp_packet *packet);
+
 #endif /* __KEYID_H__ */