mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
dirmngr: Add command "GETINFO stats".
* dirmngr/server.c (cmd_getinfo): New sub-command "stats". (dirmngr_status_helpf): Allow for a CTRL of NULL. * dirmngr/certcache.c (cert_cache_print_stats): Add arg ctrl and use dirmngr_status_helpf. Adjust all callers. * dirmngr/domaininfo.c (domaininfo_print_stats): Ditto. * sm/certchain.c (ask_marktrusted): Flush stdout before printing the fingerprint.
This commit is contained in:
parent
be77a7ab8a
commit
56ca164684
8 changed files with 59 additions and 35 deletions
|
@ -266,7 +266,7 @@ gpg_error_t dirmngr_load_swdb (ctrl_t ctrl, int force);
|
|||
|
||||
|
||||
/*-- domaininfo.c --*/
|
||||
void domaininfo_print_stats (void);
|
||||
void domaininfo_print_stats (ctrl_t ctrl);
|
||||
int domaininfo_is_wkd_not_supported (const char *domain);
|
||||
void domaininfo_set_no_name (const char *domain);
|
||||
void domaininfo_set_wkd_supported (const char *domain);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue