From 7981ec4147f3058d5b56905903456247993dc6f7 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 24 Apr 2019 12:34:48 +0200 Subject: cpp: Add wrapper for gpgme_set_global_flag * lang/cpp/src/context.cpp (setGlobalFlag): New. * lang/cpp/src/global.h (setGlobalFlag): Export it. -- GnuPG-Bug-Id: T4471 --- lang/cpp/src/context.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lang/cpp/src/context.cpp') diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp index 444809af..c0a1dc21 100644 --- a/lang/cpp/src/context.cpp +++ b/lang/cpp/src/context.cpp @@ -1791,3 +1791,8 @@ bool GpgME::hasFeature(unsigned long features, unsigned long features2) && features2 == (features2 & supported_features2) ; } + +int GpgME::setGlobalFlag(const char *name, const char *value) +{ + return gpgme_set_global_flag(name, value); +} -- cgit v1.2.3