DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

xdas_timestamp_record(XDAS)


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(XDAS) function is a member of the XDAS Event Submission API Option Conformance class.

xdas_timestamp_record(XDAS) 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(XDAS).

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

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(DXDAS), xdas_initialise_session(XDAS), xdas_start_record(XDAS)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005