From 629afebe5017db97f2a318f6878fe1f9d3e60189 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Thu, 5 Jul 2018 10:22:13 +0200 Subject: cpp: Add enum mapping for GPGME_AUDIT_LOG_DIAG * src/context.cpp (to_auditlog_flags): Map DIAG value. * src/context.h (AuditLogFlags): Add it. --- lang/cpp/src/context.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/cpp/src/context.cpp') diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp index aab22cdb..1e4e5490 100644 --- a/lang/cpp/src/context.cpp +++ b/lang/cpp/src/context.cpp @@ -1028,6 +1028,9 @@ unsigned int to_auditlog_flags(unsigned int flags) if (flags & Context::AuditLogWithHelp) { result |= GPGME_AUDITLOG_WITH_HELP; } + if (flags & Context::DiagnosticAuditLog) { + result |= GPGME_AUDITLOG_DIAG; + } return result; } -- cgit v1.2.3