xdas_timestamp_record(3xdas)


xdas_timestamp_record -- timestamp the supplied audit record

Synopsis

cc [flag ...] file ... -Kthread -leels [library] ...
#include <sys/xdas.h>

OM_uint32 das_timestamp_record( OM_uint32 *minor_status, const xdas_audit_ref_t *das_ref, const xdas_audit_desc_t *audit_record_descriptor);

Description

The xdas_timestamp_record(3xdas) function is a member of the XDAS Event Submission API Option Conformance class.

xdas_timestamp_record(3xdas) puts a timestamp on the audit record supplied.

The caller must have the XDAS_AUDIT_SUBMIT authority.

If successful, the function returns XDAS_S_COMPLETE.

Arguments


minor_status
(Output) Provides additional information when the function returns XDAS_S_FAILURE.

das_ref
(Input) The handle to the XDAS server, obtained from a previous call to xdas_initialise_session(3xdas).

audit_record_descriptor
(Input) The handle to the audit record returned from a previous call to xdas_start_record(3xdas).

Return values


XDAS_S_AUTHORISATION_FAILURE
The caller does not possess the required authority.

XDAS_S_COMPLETE
Successful completion.

XDAS_S_FAILURE
An implementation specific error or failure has occurred, such as missing required parameters, or a malloc failure.

XDAS_S_INVALID_DAS_REF
The audit service handle supplied does not represent a valid audit service session.

XDAS_S_INVALID_RECORD_DESCRIPTOR
The specified audit record definition is invalid.

References

xdas_timestamp_record(D3xdas), xdas_initialise_session(3xdas), xdas_start_record(3xdas)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004