aboutsummaryrefslogtreecommitdiffstats
path: root/common/audit.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-12-06 15:55:03 +0000
committerWerner Koch <[email protected]>2007-12-06 15:55:03 +0000
commit89671cdd6425e0c2247bd02c7ce6bb2f6339f94d (patch)
treedf62d4ec104e82ffce7f163e357d3e9ab45d81c0 /common/audit.h
parentCreated help files form the current po entries. (diff)
downloadgnupg-89671cdd6425e0c2247bd02c7ce6bb2f6339f94d.tar.gz
gnupg-89671cdd6425e0c2247bd02c7ce6bb2f6339f94d.zip
More code for the audit log.
Diffstat (limited to 'common/audit.h')
-rw-r--r--common/audit.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/common/audit.h b/common/audit.h
index 83baa41c7..514ef120e 100644
--- a/common/audit.h
+++ b/common/audit.h
@@ -49,6 +49,9 @@ typedef enum
now. This indicates that all parameters are okay and we can
start to process the actual data. */
+ AUDIT_GOT_DATA,
+ /* Data to be processed has been seen. */
+
AUDIT_DETACHED_SIGNATURE,
/* The signature is a detached one. */
@@ -91,7 +94,7 @@ typedef enum
/* The name of a signer. This is the name or other identification
data as known from the signature and not the name from the
certificate used for verification. An example for STRING when
- using CMS is:b "#1234/CN=Prostetnic Vogon Jeltz". */
+ using CMS is: "#1234/CN=Prostetnic Vogon Jeltz". */
AUDIT_SIG_STATUS, /* string */
/* The signature status of the current signer. This is the last
@@ -116,6 +119,8 @@ typedef enum
certificate chain. ROOTCERT is used for the trustanchor and
CERT for all other certificates. */
+ AUDIT_CHAIN_STATUS, /* err */
+ /* Tells the final status of the chain validation. */
AUDIT_LAST_EVENT /* Marker for parsing this list. */
@@ -133,7 +138,7 @@ void audit_log_s (audit_ctx_t ctx, audit_event_t event, const char *value);
void audit_log_cert (audit_ctx_t ctx, audit_event_t event,
ksba_cert_t cert, gpg_error_t err);
-void audit_print_result (audit_ctx_t ctx, estream_t stream);
+void audit_print_result (audit_ctx_t ctx, estream_t stream, int use_html);