From abcd9a283ee8f81870622c8e1dbdc7aad38c0358 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Thu, 25 Aug 2016 10:45:24 +0200 Subject: Cpp: Add wrapper for gpgme_get_dirinfo * lang/cpp/src/context.cpp (dirInfo): New. * lang/cpp/src/global.h (dirInfo): New. --- 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 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 ; -- cgit v1.2.3