aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-25 08:45:24 +0000
committerAndre Heinecke <[email protected]>2016-08-25 09:41:57 +0000
commitabcd9a283ee8f81870622c8e1dbdc7aad38c0358 (patch)
tree698bd9cf2d19fe996bc8c959eebe71135a2be55f /lang/cpp/src/context.cpp
parentCpp: Add support for spawn engine (diff)
downloadgpgme-abcd9a283ee8f81870622c8e1dbdc7aad38c0358.tar.gz
gpgme-abcd9a283ee8f81870622c8e1dbdc7aad38c0358.zip
Cpp: Add wrapper for gpgme_get_dirinfo
* lang/cpp/src/context.cpp (dirInfo): New. * lang/cpp/src/global.h (dirInfo): New.
Diffstat (limited to 'lang/cpp/src/context.cpp')
-rw-r--r--lang/cpp/src/context.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp
index 26190842..62cad206 100644
--- a/lang/cpp/src/context.cpp
+++ b/lang/cpp/src/context.cpp
@@ -1489,6 +1489,11 @@ GpgME::EngineInfo GpgME::engineInfo(GpgME::Protocol proto)
return EngineInfo();
}
+const char *GpgME::dirInfo(const char *what)
+{
+ return gpgme_get_dirinfo(what);
+}
+
GpgME::Error GpgME::checkEngine(GpgME::Protocol proto)
{
const gpgme_protocol_t p = proto == CMS ? GPGME_PROTOCOL_CMS : GPGME_PROTOCOL_OpenPGP ;