cscvs to tla changeset 125
[onak.git] / photoid.h
1 /*
2  * photoid.h - Routines for OpenPGP id photos.
3  *
4  * Jonathan McDowell <noodles@earth.li>
5  *
6  * Copyright 2004 Project Purple
7  *
8  * $Id: photoid.h,v 1.1 2004/05/27 01:25:37 noodles Exp $
9  */
10
11 #ifndef __PHOTOID_H__
12 #define __PHOTOID_H__
13
14 #include "keystructs.h"
15
16 /**
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.
20  *
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.
24  */
25 struct openpgp_packet *getphoto(struct openpgp_publickey *key, int index);
26
27 #endif /* __PHOTOID_H__ */