diff options
author | Werner Koch <[email protected]> | 2016-09-05 06:31:25 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-09-05 07:52:04 +0000 |
commit | c8e0d37f4152d1341ef562a190fce93a0386a759 (patch) | |
tree | 479cbce9599381a886ccf2c43aa881fbf75307f2 /g10/main.h | |
parent | scd: Fix an action after card removal. (diff) | |
download | gnupg-c8e0d37f4152d1341ef562a190fce93a0386a759.tar.gz gnupg-c8e0d37f4152d1341ef562a190fce93a0386a759.zip |
gpg: Use a common filter_getval for import and export.
* g10/import.c (filter_getval): Rename to ...
(impex_filter_getval): this. Make global.
(apply_keep_uid_filter, apply_drop_sig_filter): Adjust.
* g10/export.c (filter_getval): Remove.
(apply_drop_sig_filter): Use impex_filter_getval.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index 340f3b353..b1563d26d 100644 --- a/g10/main.h +++ b/g10/main.h @@ -368,6 +368,7 @@ gpg_error_t import_old_secring (ctrl_t ctrl, const char *fname); import_stats_t import_new_stats_handle (void); void import_release_stats_handle (import_stats_t hd); void import_print_stats (import_stats_t hd); +const char *impex_filter_getval (void *cookie, const char *propname); gpg_error_t transfer_secret_keys (ctrl_t ctrl, struct import_stats_s *stats, kbnode_t sec_keyblock, int batch, int force); |