aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.h.in
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-02-12 09:42:54 +0000
committerWerner Koch <[email protected]>2013-02-12 09:42:54 +0000
commit4f381554411ef019d79492f1751543f145604bcf (patch)
tree4642e7c63f4c7b196f426b46a1ac3e7c1abc1450 /src/gpgme.h.in
parentgpgme_tool: Support GPG's new pinentry-mode. (diff)
downloadgpgme-4f381554411ef019d79492f1751543f145604bcf.tar.gz
gpgme-4f381554411ef019d79492f1751543f145604bcf.zip
Add public function gpgme_get_pinentry_mode.
* src/gpgme.c (gpgme_get_pinentry_mode): New.
Diffstat (limited to 'src/gpgme.h.in')
-rw-r--r--src/gpgme.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index 4ec2367b..9d9a5562 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -875,6 +875,9 @@ gpgme_keylist_mode_t gpgme_get_keylist_mode (gpgme_ctx_t ctx);
gpgme_error_t gpgme_set_pinentry_mode (gpgme_ctx_t ctx,
gpgme_pinentry_mode_t mode);
+/* Get the pinentry mode of CTX. */
+gpgme_pinentry_mode_t gpgme_get_pinentry_mode (gpgme_ctx_t ctx);
+
/* Set the passphrase callback function in CTX to CB. HOOK_VALUE is
passed as first argument to the passphrase callback function. */
void gpgme_set_passphrase_cb (gpgme_ctx_t ctx,