aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-07-01 14:50:12 +0000
committerWerner Koch <[email protected]>2016-07-01 14:50:12 +0000
commit7bfc86c938d11c14ea78b196c82ceba2a2f5317d (patch)
tree00e1e8b7b2c1bab6c449ffb396742c034162f585 /g10/main.h
parentgpg: New option --import-filter (diff)
downloadgnupg-7bfc86c938d11c14ea78b196c82ceba2a2f5317d.tar.gz
gnupg-7bfc86c938d11c14ea78b196c82ceba2a2f5317d.zip
gpg: New option --export-filter
* g10/gpg.c (oExportFilter): New. (opts): Add --export-filter. (main): Handle option. * g10/export.c: Include recsel.h, init.h, and mbox-util.h. (export_keep_uid): New global var. (cleanup_export_globals): New. (parse_and_set_export_filter): New. (filter_getval): New. (apply_keep_uid_filter): New. (do_export_stream): Apply filter if set. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 58f2a73f8..3ee276202 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -379,6 +379,7 @@ void export_release_stats (export_stats_t stats);
void export_print_stats (export_stats_t stats);
int parse_export_options(char *str,unsigned int *options,int noisy);
+gpg_error_t parse_and_set_export_filter (const char *string);
int export_pubkeys (ctrl_t ctrl, strlist_t users, unsigned int options,
export_stats_t stats);