aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgme.c')
-rw-r--r--src/gpgme.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpgme.c b/src/gpgme.c
index 65a2e309..8f4d5f3e 100644
--- a/src/gpgme.c
+++ b/src/gpgme.c
@@ -566,6 +566,10 @@ gpgme_set_ctx_flag (gpgme_ctx_t ctx, const char *name, const char *value)
if (!ctx->trust_model)
err = gpg_error_from_syserror ();
}
+ else if (!strcmp (name, "extended-edit"))
+ {
+ ctx->extended_edit = abool;
+ }
else
err = gpg_error (GPG_ERR_UNKNOWN_NAME);
@@ -623,6 +627,10 @@ gpgme_get_ctx_flag (gpgme_ctx_t ctx, const char *name)
{
return ctx->auto_key_locate? ctx->auto_key_locate : "";
}
+ else if (!strcmp (name, "extended-edit"))
+ {
+ return ctx->extended_edit ? "1":"";
+ }
else
return NULL;
}