X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=armor.h;h=7b8cd3421393249f3feda779f1cde181e1fcf1e8;hb=9a96aa6edb1d8033124fe81b945c7e76f37d6087;hp=6b58a34d3e5de416b95dd375e70c69a6108a75c5;hpb=8e58a1769ce5e492dd68904dfc81b6e077fc2a3a;p=onak.git diff --git a/armor.h b/armor.h index 6b58a34..7b8cd34 100644 --- a/armor.h +++ b/armor.h @@ -4,6 +4,8 @@ * Jonathan McDowell * * Copyright 2002 Project Purple + * + * $Id: armor.h,v 1.4 2003/06/04 20:57:07 noodles Exp $ */ #ifndef __ARMOR_H__ @@ -20,7 +22,8 @@ * This function ASCII armors a list of OpenPGP packets and outputs it * using putchar_func. */ -int armor_openpgp_stream(int (*putchar_func)(void *ctx, unsigned char c), +int armor_openpgp_stream(int (*putchar_func)(void *ctx, size_t count, + unsigned char *c), void *ctx, struct openpgp_packet_list *packets);