aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-02-21 13:05:52 +0000
committerWerner Koch <[email protected]>2004-02-21 13:05:52 +0000
commit0c224cadf3f8b5ae259d8936f7963b56f63a0c26 (patch)
treea72e923d4d3d40e148e843d1be3608ec634a36f3 /sm/gpgsm.h
parent* command.c (cmd_passwd): Take acount of a key description. (diff)
downloadgnupg-0c224cadf3f8b5ae259d8936f7963b56f63a0c26.tar.gz
gnupg-0c224cadf3f8b5ae259d8936f7963b56f63a0c26.zip
* keylist.c (list_internal_keys): Return error codes.
(list_external_keys, gpgsm_list_keys): Ditto. * server.c (do_listkeys): Ditto. * gpgsm.c (main): Display a key description for --passwd. * call-agent.c (gpgsm_agent_passwd): New arg DESC.
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r--sm/gpgsm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index 6cf3ed094..c0434d79c 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -239,7 +239,8 @@ void gpgsm_release_certlist (certlist_t list);
int gpgsm_find_cert (const char *name, ksba_cert_t *r_cert);
/*-- keylist.c --*/
-void gpgsm_list_keys (ctrl_t ctrl, STRLIST names, FILE *fp, unsigned int mode);
+gpg_error_t gpgsm_list_keys (ctrl_t ctrl, STRLIST names,
+ FILE *fp, unsigned int mode);
/*-- import.c --*/
int gpgsm_import (ctrl_t ctrl, int in_fd);
@@ -284,7 +285,7 @@ int gpgsm_agent_istrusted (ksba_cert_t cert);
int gpgsm_agent_havekey (const char *hexkeygrip);
int gpgsm_agent_marktrusted (ksba_cert_t cert);
int gpgsm_agent_learn (void);
-int gpgsm_agent_passwd (const char *hexkeygrip);
+int gpgsm_agent_passwd (const char *hexkeygrip, const char *desc);
/*-- call-dirmngr.c --*/
int gpgsm_dirmngr_isvalid (ksba_cert_t cert, int use_ocsp);