aboutsummaryrefslogtreecommitdiffstats
path: root/set_ctx_flag.c
diff options
context:
space:
mode:
Diffstat (limited to 'set_ctx_flag.c')
-rw-r--r--set_ctx_flag.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/set_ctx_flag.c b/set_ctx_flag.c
new file mode 100644
index 0000000..4dd79a1
--- /dev/null
+++ b/set_ctx_flag.c
@@ -0,0 +1,12 @@
+/* See LICENSE file for copyright and license details. */
+#include "internal.h"
+
+
+gpgme_error_t
+liberror_gpgme_set_ctx_flag(gpgme_ctx_t ctx, const char *name, const char *value)
+{
+ gpgme_error_t ret = gpgme_set_ctx_flag(ctx, name, value);
+ if (ret)
+ liberror_gpgme_set_error("gpgme_set_ctx_flag", ret);
+ return ret;
+}