projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the bzr version number to non release builds
[onak.git]
/
armor.h
diff --git
a/armor.h
b/armor.h
index 63f919859222c9b9f0bbf5b5849b7553d982bcf9..85ac6a644b1576509b353c22d8e5eab994d12caa 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.
*/
* 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,
+ unsigned char *c),
void *ctx,
struct openpgp_packet_list *packets);
void *ctx,
struct openpgp_packet_list *packets);
@@
-34,7
+35,8
@@
int armor_openpgp_stream(int (*putchar_func)(void *ctx, unsigned char c),
* armored OpenPGP stream and outputs the data as a linked list of
* packets.
*/
* armored OpenPGP stream and outputs the data as a linked list of
* packets.
*/
-int dearmor_openpgp_stream(int (*getchar_func)(void *ctx, unsigned char *c),
+int dearmor_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
+ unsigned char *c),
void *ctx,
struct openpgp_packet_list **packets);
void *ctx,
struct openpgp_packet_list **packets);