X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=parsekey.h;h=8718d1c910dc9bf9150a8499393d3d3dcc1bcfe9;hb=5d25774c5cd9f80709f852f79bce26d582fad360;hp=7e2e2bdfd3f5f535681747190e22598a73f0dc46;hpb=58d762ea573eb3cfea626bb52ea7a99e24b8a0aa;p=onak.git diff --git a/parsekey.h b/parsekey.h index 7e2e2bd..8718d1c 100644 --- a/parsekey.h +++ b/parsekey.h @@ -4,8 +4,6 @@ * Jonathan McDowell * * Copyright 2002 Project Purple - * - * $Id: parsekey.h,v 1.6 2003/10/04 10:21:40 noodles Exp $ */ #ifndef __PARSEKEY_H__ @@ -51,7 +49,7 @@ int debug_packet(struct openpgp_packet *packet); * none of the other packets of the key will be read. */ int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count, - unsigned char *c), + void *c), void *ctx, struct openpgp_packet_list **packets, int maxnum); @@ -66,7 +64,7 @@ int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count, * packet stream from a linked list of packets. */ int write_openpgp_stream(int (*putchar_func)(void *ctx, size_t count, - unsigned char *c), + void *c), void *ctx, struct openpgp_packet_list *packets);