auparse_get_timestamp(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON

AUPARSE_GET_TIMESTAMP(3)     Linux Audit API    AUPARSE_GET_TIMESTAMP(3)

NAME         top

       auparse_get_timestamp - access timestamp of the event

SYNOPSIS         top

       #include <auparse.h>

       const au_event_t *auparse_get_timestamp(const auparse_state_t
       *au);

DESCRIPTION         top

       auparse_get_timestamp provides an accessor function for the
       event's timestamp data structure. The data structure is as
       follows:

       typedef struct
       {
               time_t sec;             // Event seconds
               unsigned int milli;     // millisecond of the timestamp
               unsigned long serial;   // Serial number of the event
               const char *host;       // Machine's node name
       } au_event_t;

RETURN VALUE         top

       Returns NULL if an error occurs; otherwise, a valid pointer to
       the data.

SEE ALSO         top

       auparse_get_time(3), auparse_get_milli(3), auparse_get_serial(3),
       auparse_get_node(3), auparse_timestamp_compare(3).

AUTHOR         top

       Steve Grubb

COLOPHON         top

       This page is part of the audit (Linux Audit) project.
       Information about the project can be found at 
       ⟨http:https://people.redhat.com/sgrubb/audit/⟩.  If you have a bug
       report for this manual page, send it to [email protected].
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/linux-audit/audit-userspace.git⟩ on
       2023-12-22.  (At that time, the date of the most recent commit
       that was found in the repository was 2023-11-30.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to [email protected]

Red Hat                         Sept 2007       AUPARSE_GET_TIMESTAMP(3)

Pages that refer to this page: auparse_get_milli(3)auparse_get_node(3)auparse_get_serial(3)auparse_get_time(3)auparse_node_compare(3)auparse_timestamp_compare(3)