summaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2002-07-17 21:48:19 +0200
committerDavid Shaw <dshaw@jabberwocky.com>2002-07-17 21:48:19 +0200
commit75ad30031f6167765973a8fb4dfb49c8b2a55ee7 (patch)
tree7ee3f60cd167c3403df1a09b9b2be62043832272 /g10/main.h
parent* gpgkeys_ldap.c (send_key, get_key, main): Consult the server version (diff)
downloadgnupg2-75ad30031f6167765973a8fb4dfb49c8b2a55ee7.tar.xz
gnupg2-75ad30031f6167765973a8fb4dfb49c8b2a55ee7.zip
* keyedit.c (show_key_with_all_names_colon): The 0x40 class bit in a
designated revoker means "sensitive", not "local". It's exportable under the right circumstances. * main.h, options.h, export.c (do_export_stream), g10.c (main), hkp.c (hkp_export), keyserver.c (keyserver_spawn: Add a flag to skip attribute packets and their signatures while exporting. This is to accomodate keyservers (pksd again) that choke on attributes. Use keyserver-option "include-attributes" to control it. This defaults to ON (i.e. don't skip).
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/main.h b/g10/main.h
index e7153bd55..ec0efd3c8 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -159,8 +159,10 @@ void import_print_stats (void *hd);
int collapse_uids( KBNODE *keyblock );
/*-- export.c --*/
-int export_pubkeys( STRLIST users, int onlyrfc );
-int export_pubkeys_stream( IOBUF out, STRLIST users, int onlyrfc );
+#define EXPORT_FLAG_ONLYRFC 1
+#define EXPORT_FLAG_SKIPATTRIBS 2
+int export_pubkeys( STRLIST users, int flags );
+int export_pubkeys_stream( IOBUF out, STRLIST users, int flags );
int export_seckeys( STRLIST users );
int export_secsubkeys( STRLIST users );