aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-11-04 11:44:09 +0000
committerWerner Koch <[email protected]>2022-11-04 11:44:09 +0000
commit811cfa34cb3e7166f0cf1f94565504dee21cd9f5 (patch)
tree046552dfa32978b95572966d91387f80034ef5c2 /g10/main.h
parenttests: Add tests to check that OCB is only used for capable keys. (diff)
downloadgnupg-811cfa34cb3e7166f0cf1f94565504dee21cd9f5.tar.gz
gnupg-811cfa34cb3e7166f0cf1f94565504dee21cd9f5.zip
gpg: New list-options show-pref and show-pref-verbose.
* g10/options.h (LIST_SHOW_PREF): New. (LIST_SHOW_PREF_VERBOSE): New. * g10/gpg.c (parse_list_options): Add new options. * g10/keyedit.c (show_prefs): Factor code out to ... * g10/keylist.c (show_preferences): new. (list_keyblock_print): Call show_preferences.
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 408b029cb..2f14f374b 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -472,6 +472,7 @@ int cmp_signodes (const void *av, const void *bv);
void print_fingerprint (ctrl_t ctrl, estream_t fp,
PKT_public_key *pk, int mode);
void print_revokers (estream_t fp, PKT_public_key *pk);
+void show_preferences (PKT_user_id *uid, int indent, int mode, int verbose);
void show_policy_url(PKT_signature *sig,int indent,int mode);
void show_keyserver_url(PKT_signature *sig,int indent,int mode);
void show_notation(PKT_signature *sig,int indent,int mode,int which);