X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/394938c479925750ffe56c28d281945ba4003a14..b3fb0618da777d1ce58418ab36bc4321f5cf77ef:/parsekey.h diff --git a/parsekey.h b/parsekey.h index 1778445..8718d1c 100644 --- a/parsekey.h +++ b/parsekey.h @@ -49,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); @@ -64,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);