Change to using void * for character function content parameter
[onak.git] / parsekey.h
index 17784459c54afa6779c396f063812682b277b924..8718d1c910dc9bf9150a8499393d3d3dcc1bcfe9 100644 (file)
@@ -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);