aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-12-17 14:36:16 +0000
committerWerner Koch <[email protected]>2004-12-17 14:36:16 +0000
commit0ccb120f68954cead774b821b52fbd0d9d5eb65c (patch)
tree5daf50e8571f7052a06849a1e9bf93b0fd19bd9d /sm/gpgsm.h
parent(lookup_status_cb): Send progress messages (diff)
downloadgnupg-0ccb120f68954cead774b821b52fbd0d9d5eb65c.tar.gz
gnupg-0ccb120f68954cead774b821b52fbd0d9d5eb65c.zip
* call-dirmngr.c (isvalid_status_cb, lookup_status_cb)
(run_command_status_cb): Return cancel status if gpgsm_status returned an error. * server.c (gpgsm_status, gpgsm_status2) (gpgsm_status_with_err_code): Return an error code. (gpgsm_status2): Always call va_end().
Diffstat (limited to '')
-rw-r--r--sm/gpgsm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index faa6e8b5c..fe4e93910 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -171,10 +171,10 @@ void gpgsm_init_default_ctrl (struct server_control_s *ctrl);
/*-- server.c --*/
void gpgsm_server (certlist_t default_recplist);
-void gpgsm_status (ctrl_t ctrl, int no, const char *text);
-void gpgsm_status2 (ctrl_t ctrl, int no, ...);
-void gpgsm_status_with_err_code (ctrl_t ctrl, int no, const char *text,
- gpg_err_code_t ec);
+gpg_error_t gpgsm_status (ctrl_t ctrl, int no, const char *text);
+gpg_error_t gpgsm_status2 (ctrl_t ctrl, int no, ...);
+gpg_error_t gpgsm_status_with_err_code (ctrl_t ctrl, int no, const char *text,
+ gpg_err_code_t ec);
/*-- fingerprint --*/
char *gpgsm_get_fingerprint (ksba_cert_t cert, int algo,