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(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://people.redhat.com/sgrubb/audit/⟩.  If you have a bug report
       for this manual page, send it to linux-audit@redhat.com.  This page
       was obtained from the project's upstream Git repository 
       ⟨https://github.com/linux-audit/audit-userspace.git⟩ on 2017-07-05.
       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 man-pages@man7.org
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)