aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-07-24 12:12:37 +0000
committerWerner Koch <[email protected]>2025-07-24 12:15:08 +0000
commite3cc410003a91e7ab4c267e1285c0c4c57775be9 (patch)
treeb7e3a38721ce846352ce76bf4d277f5972eaa6ac /g10/main.h
parentgpgsm: Fix caching of the trustlist's flags. (diff)
downloadgnupg-e3cc410003a91e7ab4c267e1285c0c4c57775be9.tar.gz
gnupg-e3cc410003a91e7ab4c267e1285c0c4c57775be9.zip
gpgv: New option --print-notation.
* g10/keylist.c (print_matching_notations): New. * g10/mainproc.c (check_sig_and_print): Call this. * g10/options.h (opt): Add field print_notations. * g10/gpgv.c (oPrintNotation): New. (opts): Add "print-notation". (main): Implement. -- I had the code floating around but can't remember what triggered me to write this. But it might eventually be useful, so better apply it.
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 c0a3d5fa2..5d96b5e27 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -488,6 +488,7 @@ 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);
+void print_matching_notations (PKT_signature *sig);
void dump_attribs (const PKT_user_id *uid, PKT_public_key *pk);
void set_attrib_fd(int fd);
void print_key_info (ctrl_t ctrl, estream_t fp, int indent,