mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-09 21:28:51 +01:00
46362cbc0e
* tools/call-dirmngr.c (wkd_get_policy_flags): New. * tools/gpg-wks.h (struct policy_flags_s, policy_flags_t): New. * tools/wks-util.c (wks_parse_policy): New. * tools/gpg-wks-client.c (command_send): Get the policy flags to show a new info line. * tools/gpg-wks-server.c (get_policy_flags): New. (process_new_key): get policy flag and add a stub for "auth-submit". (command_list_domains): Check policy flags. Signed-off-by: Werner Koch <wk@gnupg.org>
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
/* call-dirmngr.h - Interact with the Dirmngr.
|
|
* Copyright (C) 2016 g10 Code GmbH
|
|
*
|
|
* This file is part of GnuPG.
|
|
*
|
|
* GnuPG is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* GnuPG is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef GNUPG_TOOLS_CALL_DIRMNGR_H
|
|
#define GNUPG_TOOLS_CALL_DIRMNGR_H
|
|
|
|
void set_dirmngr_options (int verbose, int debug_ipc, int autostart);
|
|
|
|
gpg_error_t wkd_get_submission_address (const char *addrspec,
|
|
char **r_addrspec);
|
|
gpg_error_t wkd_get_policy_flags (const char *addrspec, estream_t *r_buffer);
|
|
|
|
|
|
#endif /*GNUPG_TOOLS_CALL_DIRMNGR_H*/
|