mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Add new attribute KEY-ATTR.
This commit is contained in:
parent
a9c317a95c
commit
1eeefbf7f7
4 changed files with 54 additions and 8 deletions
|
@ -2018,6 +2018,18 @@ send_status_info (ctrl_t ctrl, const char *keyword, ...)
|
|||
}
|
||||
|
||||
|
||||
/* Send a ready formatted status line via assuan. */
|
||||
void
|
||||
send_status_direct (ctrl_t ctrl, const char *keyword, const char *args)
|
||||
{
|
||||
assuan_context_t ctx = ctrl->server_local->assuan_ctx;
|
||||
|
||||
if (strchr (args, '\n'))
|
||||
log_error ("error: LF detected in status line - not sending\n");
|
||||
else
|
||||
assuan_write_status (ctx, keyword, args);
|
||||
}
|
||||
|
||||
|
||||
/* Helper to send the clients a status change notification. */
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue