xdas_rewind_audit_stream(3xdas)


xdas_rewind_audit_stream -- rewind the audit stream

Synopsis

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

OM_uint32 xdas_rewind_audit_stream( OM_uint32 *minor_status, const xdas_audit_ref_t *das_ref, xdas_audit_stream_t *audit_stream_ref);

Description

The xdas_rewind_audit_stream(3xdas) function is a member of the Basic XDAS Conformance class.

xdas_rewind_audit_stream(3xdas) rewinds the audit stream referred to by xdas_stream_ref so that the cursor associated with the xdas_stream_ref points to the first record in the audit stream.

The caller must possess the XDAS_AUDIT_READ 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_stream_ref
(Input and output) A handle to the audit stream which is to be rewound.

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_AUDIT_STREAM
The specified audit stream is not valid.

XDAS_S_INVALID_DAS_REF
The audit service handle supplied does not point to the audit service.

References

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