diff mcabber/mcabber/pgp.h @ 2188:84252c616919

PGP: Encrypt messages with our own PGP key when carbons are enabled
author Mikael Berthe <mikael@lilotux.net>
date Sun, 04 Oct 2015 19:04:43 +0200
parents e3b66c8ead4f
children 8811fe9d6ef0
line wrap: on
line diff
--- a/mcabber/mcabber/pgp.h	Sun Oct 04 19:04:04 2015 +0200
+++ b/mcabber/mcabber/pgp.h	Sun Oct 04 19:04:43 2015 +0200
@@ -12,6 +12,7 @@
 void  gpg_terminate(void);
 void  gpg_set_passphrase(const char *passphrase);
 void  gpg_set_private_key(const char *priv_keyid);
+const char *gpg_get_private_key_id(void);
 char *gpg_verify(const char *gpg_data, const char *text,
                  gpgme_sigsum_t *sigsum);
 char *gpg_sign(const char *gpg_data);