1 .TH "AUPARSE_GET_TIMESTAMP" "3" "Sept 2007" "Red Hat" "Linux Audit API"
3 auparse_get_timestamp \- access timestamp of the event
5 .B #include <auparse.h>
7 const au_event_t *auparse_get_timestamp(auparse_state_t *au);
11 auparse_get_timestamp provides an accessor function for the event's timestamp data structure. The data structure is as follows:
16 time_t sec; // Event seconds
17 unsigned int milli; // millisecond of the timestamp
18 unsigned long serial; // Serial number of the event
19 const char *host; // Machine's node name
25 Returns NULL if an error occurs; otherwise, a valid pointer to the data.
29 .BR auparse_get_time (3),
30 .BR auparse_get_milli (3),
31 .BR auparse_get_serial (3),
32 .BR auparse_get_node (3),
33 .BR auparse_timestamp_compare (3).