aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.h
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-07-05 08:22:13 +0000
committerAndre Heinecke <[email protected]>2018-07-05 09:29:36 +0000
commit629afebe5017db97f2a318f6878fe1f9d3e60189 (patch)
treed54f85263e2e5e476dd8471d086bf1a37a4f68c8 /lang/cpp/src/context.h
parentcore: Add gpg auditlog to get diagnostics (diff)
downloadgpgme-629afebe5017db97f2a318f6878fe1f9d3e60189.tar.gz
gpgme-629afebe5017db97f2a318f6878fe1f9d3e60189.zip
cpp: Add enum mapping for GPGME_AUDIT_LOG_DIAG
* src/context.cpp (to_auditlog_flags): Map DIAG value. * src/context.h (AuditLogFlags): Add it.
Diffstat (limited to 'lang/cpp/src/context.h')
-rw-r--r--lang/cpp/src/context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h
index a14625e0..6e27daa6 100644
--- a/lang/cpp/src/context.h
+++ b/lang/cpp/src/context.h
@@ -401,7 +401,9 @@ public:
//
//
enum AuditLogFlags {
+ DefaultAuditLog = 0,
HtmlAuditLog = 1,
+ DiagnosticAuditLog = 2,
AuditLogWithHelp = 128
};
GpgME::Error startGetAuditLog(Data &output, unsigned int flags = 0);