X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/f93d57195dfa072ca6fea0c76428fde5337bcabc..b3fb0618da777d1ce58418ab36bc4321f5cf77ef:/merge.h diff --git a/merge.h b/merge.h index cabbc18..770da9e 100644 --- a/merge.h +++ b/merge.h @@ -10,6 +10,16 @@ #include "keystructs.h" +/** + * compare_packets - Check to see if 2 OpenPGP packets are the same. + * @a: The first packet to compare. + * @b: The second packet to compare. + * + * Takes 2 packets and returns 0 if they are the same, -1 if a is + * less than b, or 1 if a is greater than b. + */ +int compare_packets(struct openpgp_packet *a, struct openpgp_packet *b); + /** * merge_keys - Takes 2 public keys and merges them. * @a: The old key. The merged key is returned in this structure.