aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.h.in
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-11-15 08:24:17 +0000
committerWerner Koch <[email protected]>2016-11-15 08:24:17 +0000
commit3234b1bf1d6939772677d64f6c1e1820ec98e3cd (patch)
treee3c6a0b6666bed4ef10f78b73a2e5a985de99d65 /src/gpgme.h.in
parentcore: Enable extraction of session keys. (diff)
downloadgpgme-3234b1bf1d6939772677d64f6c1e1820ec98e3cd.tar.gz
gpgme-3234b1bf1d6939772677d64f6c1e1820ec98e3cd.zip
core: Add public function gpgme_get_ctx_flag.
* src/gpgme.h.in (gpgme_get_ctx_flag): New. * src/gpgme.c (gpgme_set_ctx_flag): Move down the file and add a trace statement. (gpgme_get_ctx_flag): New. * src/gpgme.def, src/libgpgme.vers: Add new interface. Signed-off-by: Werner Koch <[email protected]>
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 2a0e16e3..43e07b06 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -999,6 +999,9 @@ void gpgme_release (gpgme_ctx_t ctx);
gpgme_error_t gpgme_set_ctx_flag (gpgme_ctx_t ctx,
const char *name, const char *value);
+/* Get the value of the flag NAME from CTX. */
+const char *gpgme_get_ctx_flag (gpgme_ctx_t ctx, const char *name);
+
/* Set the protocol to be used by CTX to PROTO. */
gpgme_error_t gpgme_set_protocol (gpgme_ctx_t ctx, gpgme_protocol_t proto);