Add /pks/hashquery
[onak.git] / armor.h
diff --git a/armor.h b/armor.h
index 6b58a34d3e5de416b95dd375e70c69a6108a75c5..8f5dc3522b0a3e20f4886475695cb8c123cacac8 100644 (file)
--- 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,
+                                               void *c),
                                void *ctx,
                                struct openpgp_packet_list *packets);
 
@@ -35,7 +36,7 @@ int armor_openpgp_stream(int (*putchar_func)(void *ctx, unsigned char c),
  *     packets.
  */
 int dearmor_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
-                                       unsigned char *c),
+                                       void *c),
                                void *ctx,
                                struct openpgp_packet_list **packets);