X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=armor.h;h=85ac6a644b1576509b353c22d8e5eab994d12caa;hb=e02c731dfbb288c736f2cd09a9b6df0507c59ddd;hp=6b58a34d3e5de416b95dd375e70c69a6108a75c5;hpb=8e58a1769ce5e492dd68904dfc81b6e077fc2a3a;p=onak.git diff --git a/armor.h b/armor.h index 6b58a34..85ac6a6 100644 --- a/armor.h +++ b/armor.h @@ -20,7 +20,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);