projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change to using void * for character function content parameter
[onak.git]
/
parsekey.c
diff --git
a/parsekey.c
b/parsekey.c
index a0c0311aec1e98fa1fb0294d92562f7055958a62..2d9510697cbe8d893f9ae6c8017f6b419ba8b476 100644
(file)
--- a/
parsekey.c
+++ b/
parsekey.c
@@
-168,7
+168,7
@@
int debug_packet(struct openpgp_packet *packet)
* ready for parsing as a public key or whatever.
*/
int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
* ready for parsing as a public key or whatever.
*/
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)
void *ctx,
struct openpgp_packet_list **packets,
int maxnum)
@@
-322,7
+322,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,
* 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)
{
void *ctx,
struct openpgp_packet_list *packets)
{