2 * photoid.h - Routines for OpenPGP id photos.
4 * Jonathan McDowell <noodles@earth.li>
6 * Copyright 2004 Project Purple
8 * $Id: photoid.h,v 1.1 2004/05/27 01:25:37 noodles Exp $
14 #include "keystructs.h"
17 * getphoto - returns an OpenPGP packet containing a photo id.
18 * @key: The key to return the photo id from.
19 * @index: The index of the photo to return.
21 * This function returns the OpenPGP packet containing a photo id from a
22 * supplied key. index specifies which photo id should be returned. If
23 * there's no such photo id NULL is returned.
25 struct openpgp_packet *getphoto(struct openpgp_publickey *key, int index);
27 #endif /* __PHOTOID_H__ */