aboutsummaryrefslogtreecommitdiffstats
path: root/src/context.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-05-21 08:22:57 +0000
committerWerner Koch <[email protected]>2016-05-21 08:31:20 +0000
commitdac2c5441d418536632f014c8b0e1359580279d1 (patch)
tree69cc2a97cb78fa8b44df5a79e36b4a6a0c64b9f3 /src/context.h
parentcore: New functions to help parsing of status lines. (diff)
downloadgpgme-dac2c5441d418536632f014c8b0e1359580279d1.tar.gz
gpgme-dac2c5441d418536632f014c8b0e1359580279d1.zip
api: Add new context flag "raw-description".
* src/context.h (struct gpgme_context): Add field raw_description. * src/gpgme.c (gpgme_set_ctx_flag): New flag. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/context.h')
-rw-r--r--src/context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/context.h b/src/context.h
index 078f0cbd..de69a7a6 100644
--- a/src/context.h
+++ b/src/context.h
@@ -105,6 +105,11 @@ struct gpgme_context
* lines. */
unsigned int full_status : 1;
+ /* The Tofu info has a human readable string which is presented to
+ * the user in a directly usable format. By enabling this flag the
+ * unmodified string, as received form gpg, will be returned. */
+ unsigned int raw_description : 1;
+
/* Flags for keylist mode. */
gpgme_keylist_mode_t keylist_mode;