Home GnuPG
Diffusion GnuPG e22ebf357050

common: Remove code duplication for service starting.

Description

common: Remove code duplication for service starting.

* common/homedir.c (gpg_agent_socket_name): New.
* common/asshelp.c (start_new_service): New.  Based on
start_new_gpg_agent.
(start_new_gpg_agent): Divert to start_new_service.
(start_new_dirmngr): Ditto.

This prepares for adding yet another service starting function.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 5 2019, 9:49 AM
Parents
rGd8a84594abe4: common: Change yet unused status_printf function.
Branches
Unknown
Tags
Unknown