#include <libxdas_impl.h>
Data Fields | |
unsigned | signature |
unsigned | record_number |
unsigned | event_number |
unsigned | outcome |
unsigned | time_offset |
char * | int_info [INT_FLD_COUNT] |
char * | tgt_info [TGT_FLD_COUNT] |
char * | src_ref |
char * | evt_info |
unsigned | fmtlen |
char * | fmt |
int | last_status |
int | fmt_cache_dirty |
The record structure gathers all data relevant to a single specific audit event. It also contains cache information that can be used to make the communication between this client library and the local xdasd daemon more bandwidth efficient. If the record can detect that nothing significant has changed since the last communication with the server regarding this event then it can skip the server query, and return the last status code to the caller.
Definition at line 88 of file xdas.c.
unsigned xdas_record_tag::signature |
A signature value used for validation.
Definition at line 91 of file xdas.c.
Referenced by xdas_start_record(), and xdas_validate_record().
unsigned xdas_record_tag::record_number |
A process-unique record number.
Definition at line 92 of file xdas.c.
Referenced by xdas_start_record().
unsigned xdas_record_tag::event_number |
The record event id/category.
Definition at line 93 of file xdas.c.
Referenced by xdas_commit_record(), xdas_format_record(), xdas_put_event_info(), and xdas_start_record().
unsigned xdas_record_tag::outcome |
The event outcome value.
Definition at line 94 of file xdas.c.
Referenced by xdas_commit_record(), xdas_format_record(), xdas_put_event_info(), and xdas_start_record().
unsigned xdas_record_tag::time_offset |
The event time stamp value.
Definition at line 95 of file xdas.c.
Referenced by xdas_commit_record(), xdas_format_record(), and xdas_set_record_timestamp().
char * xdas_record_tag::int_info |
Array of initiator field values.
Definition at line 96 of file xdas.c.
Referenced by xdas_calc_max_record_len(), xdas_commit_record(), xdas_format_record(), xdas_internal_discard_record(), xdas_put_event_info(), and xdas_start_record().
char * xdas_record_tag::tgt_info |
Array of target field values.
Definition at line 97 of file xdas.c.
Referenced by xdas_calc_max_record_len(), xdas_commit_record(), xdas_format_record(), xdas_internal_discard_record(), xdas_put_event_info(), and xdas_start_record().
char * xdas_record_tag::src_ref |
The source reference (imported records only).
Definition at line 98 of file xdas.c.
Referenced by xdas_calc_max_record_len(), xdas_format_record(), and xdas_internal_discard_record().
char * xdas_record_tag::evt_info |
Event-specific name=value pairs.
Definition at line 99 of file xdas.c.
Referenced by xdas_calc_max_record_len(), xdas_commit_record(), xdas_format_record(), xdas_internal_discard_record(), xdas_put_event_info(), and xdas_start_record().
unsigned xdas_record_tag::fmtlen |
length of fmt buffer data.
Definition at line 100 of file xdas.c.
Referenced by xdas_format_record(), and xdas_send_record().
char * xdas_record_tag::fmt |
A cache buffer for the formatted record.
Definition at line 101 of file xdas.c.
Referenced by xdas_format_record(), xdas_internal_discard_record(), and xdas_send_record().
A cached last status code
Definition at line 102 of file xdas.c.
Referenced by xdas_put_event_info(), and xdas_send_record().
Indicates the format cache is dirty.
Definition at line 103 of file xdas.c.
Referenced by xdas_put_event_info(), and xdas_timestamp_record().