cscvs to tla changeset 1
[onak.git] / keyid.h
1 /*
2  * keyid.h - Routines to calculate key IDs.
3  *
4  * Jonathan McDowell <noodles@earth.li>
5  *
6  * Copyright 2002 Project Purple
7  */
8
9 #ifndef __KEYID_H__
10 #define __KEYID_H__
11
12 // #include <stdint.h>
13 #include <inttypes.h>
14
15 #include "keystructs.h"
16
17 /**
18  *      get_keyid - Given a public key returns the keyid.
19  *      @publickey: The key to calculate the fingerprint for.
20  *
21  *      This function returns the key id for a given public key.
22  */
23 uint64_t get_keyid(struct openpgp_publickey *publickey);
24
25 #endif /* __KEYID_H__ */