diff options
author | Werner Koch <[email protected]> | 2014-12-08 10:19:16 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-12-08 10:19:16 +0000 |
commit | 05258d427513a933f01d4df13aca834d797f91e7 (patch) | |
tree | cc6375e4e4e24ef0231b7ded13956c99d92e7aee /src/context.h | |
parent | Post release updates (diff) | |
download | gpgme-05258d427513a933f01d4df13aca834d797f91e7.tar.gz gpgme-05258d427513a933f01d4df13aca834d797f91e7.zip |
Return an error for some export key operations.
* src/context.h (OPDATA_EXPORT): New.
* src/export.c (op_data_t): New.
(release_op_data): New.
(parse_error): New.
(export_status_handler): New.
(export_start, export_ext_start): Prepare op_data.
(gpgme_op_export_ext, gpgme_op_export_keys): Return an error from the
status handler.
--
To support an error return also for the async functions we need to
extend the API. Until we have done that this new features helps at
least in some cases; in particular for --send-keys.
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.h b/src/context.h index e9214368..745ffa89 100644 --- a/src/context.h +++ b/src/context.h @@ -38,7 +38,7 @@ typedef enum OPDATA_DECRYPT, OPDATA_SIGN, OPDATA_ENCRYPT, OPDATA_PASSPHRASE, OPDATA_IMPORT, OPDATA_GENKEY, OPDATA_KEYLIST, OPDATA_EDIT, OPDATA_VERIFY, OPDATA_TRUSTLIST, OPDATA_ASSUAN, OPDATA_VFS_MOUNT, - OPDATA_PASSWD + OPDATA_PASSWD, OPDATA_EXPORT } ctx_op_data_id_t; |