Diffusion GnuPG e22ebf357050

common: Remove code duplication for service starting.

Authored by werner on Mon, Aug 5, 9:49 AM.

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

Committed
wernerMon, Aug 5, 9:49 AM
Parents
rGd8a84594abe4: common: Change yet unused status_printf function.
Branches
Unknown
Tags
Unknown