]> the.earth.li Git - onak.git/blobdiff - photoid.h
Add ability to drop overly large packets
[onak.git] / photoid.h
index aaafe34aeddd358d3673033abc77d89648ca77e2..31e46767aa906a6ceb68c973415fa7d6af43722a 100644 (file)
--- a/photoid.h
+++ b/photoid.h
@@ -13,8 +13,7 @@
  * more details.
  *
  * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 
 #ifndef __PHOTOID_H__
@@ -34,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__ */