From 717c38381ad276cb453fefe401136b246f16d73a Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 2 Nov 2009 17:47:11 +0000 Subject: agent/ 2009-11-02 Marcus Brinkmann * command.c (reset_notify): Take LINE arg and return error. (register_commands): Use assuan_handler_t type. common/ 2009-11-02 Marcus Brinkmann * get-passphrase.c (default_inq_cb, membuf_data_cb): Change return type to gpg_error_t. g10/ 2009-11-02 Marcus Brinkmann * server.c (reset_notify, input_notify, output_notify): Update to new assuan interface. (register_commands): Use assuan_handler_t. scd/ 2009-11-02 Marcus Brinkmann * command.c (reset_notify): Take LINE arg and return error. (register_commands): Use assuan_handler_t type. sm/ 2009-11-02 Marcus Brinkmann * server.c (reset_notify, input_notify, output_notify): Update to new assuan interface. (register_commands): Use assuan_handler_t. * call-agent.c (membuf_data_cb, default_inq_cb) (inq_ciphertext_cb, scd_serialno_status_cb) (scd_keypairinfo_status_cb, istrusted_status_cb) (learn_status_cb, learn_cb, keyinfo_status_cb): Return gpg_error_t. --- common/ChangeLog | 5 +++++ common/get-passphrase.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/ChangeLog b/common/ChangeLog index 1b09fd916..9468bfe3a 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,3 +1,8 @@ +2009-11-02 Marcus Brinkmann + + * get-passphrase.c (default_inq_cb, membuf_data_cb): Change return + type to gpg_error_t. + 2009-10-28 Werner Koch * status.h (STATUS_MOUNTPOINT): New. diff --git a/common/get-passphrase.c b/common/get-passphrase.c index e1a11482e..090079405 100644 --- a/common/get-passphrase.c +++ b/common/get-passphrase.c @@ -103,7 +103,7 @@ start_agent (void) /* This is the default inquiry callback. It merely handles the Pinentry notification. */ -static int +static gpg_error_t default_inq_cb (void *opaque, const char *line) { (void)opaque; @@ -120,7 +120,7 @@ default_inq_cb (void *opaque, const char *line) } -static int +static gpg_error_t membuf_data_cb (void *opaque, const void *buffer, size_t length) { membuf_t *data = opaque; -- cgit v1.2.3