]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - parsekey.h
cscvs to tla changeset 4
[onak.git] / parsekey.h
index 113f14ae0c55fd5fb778860a62068c34e19889f7..2bfaf728ea131ca7cb8766ada350b2ff0c9043b8 100644 (file)
@@ -68,7 +68,8 @@ int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
  *     This function uses putchar_func to write characters to an OpenPGP
  *     packet stream from a linked list of packets.
  */
  *     This function uses putchar_func to write characters to an OpenPGP
  *     packet stream from a linked list of packets.
  */
-int write_openpgp_stream(int (*putchar_func)(void *ctx, unsigned char c),
+int write_openpgp_stream(int (*putchar_func)(void *ctx, size_t count,
+                                               unsigned char *c),
                                void *ctx,
                                struct openpgp_packet_list *packets);
 
                                void *ctx,
                                struct openpgp_packet_list *packets);