mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
A bunch of minor changes for Windows.
This commit is contained in:
parent
a7fe86bc02
commit
f54b85bc2d
13 changed files with 187 additions and 95 deletions
|
@ -1323,6 +1323,17 @@ cmd_killagent (assuan_context_t ctx, char *line)
|
|||
ctrl->server_local->stopme = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* RELOADAGENT
|
||||
|
||||
As signals are inconvenient under Windows, we provide this command
|
||||
to allow reloading of the configuration. */
|
||||
static int
|
||||
cmd_reloadagent (assuan_context_t ctx, char *line)
|
||||
{
|
||||
agent_sighup_action ();
|
||||
return 0;
|
||||
}
|
||||
#endif /*HAVE_W32_SYSTEM*/
|
||||
|
||||
|
||||
|
@ -1506,6 +1517,7 @@ register_commands (assuan_context_t ctx)
|
|||
{ "UPDATESTARTUPTTY", cmd_updatestartuptty },
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
{ "KILLAGENT", cmd_killagent },
|
||||
{ "RELOADAGENT", cmd_reloadagent },
|
||||
#endif
|
||||
{ "GETINFO", cmd_getinfo },
|
||||
{ NULL }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue