X-Git-Url: http://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=photoid.h;h=31e46767aa906a6ceb68c973415fa7d6af43722a;hp=86f050ab662327277e80383c62c49f790036ed71;hb=de18b56efecadc4b5d2473904828db9c08cd2162;hpb=394938c479925750ffe56c28d281945ba4003a14 diff --git a/photoid.h b/photoid.h index 86f050a..31e4676 100644 --- a/photoid.h +++ b/photoid.h @@ -1,9 +1,19 @@ /* * photoid.h - Routines for OpenPGP id photos. * - * Jonathan McDowell + * Copyright 2004 Jonathan McDowell * - * Copyright 2004 Project Purple + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . */ #ifndef __PHOTOID_H__ @@ -23,7 +33,7 @@ * photo id NULL is returned. The returned data pointer refers to the key * data supplied rather than a copy of it. */ -int getphoto(struct openpgp_publickey *key, int index, unsigned char **photo, - size_t *length); +onak_status_t getphoto(struct openpgp_publickey *key, int index, + unsigned char **photo, size_t *length); #endif /* __PHOTOID_H__ */