Previous section.

Distributed Audit Service (XDAS)
Copyright © 1998 The Open Group


xdas_close_audit_stream - close the specified audit_stream


OM_uint32 xdas_close_audit_stream ( 
    OM_uint32				*minor_status,
    const xdas_audit_ref_t		*das_ref,
    const xdas_audit_stream_t	*audit_stream_ref


xdas_close_audit_stream() is a member of the Basic XDAS Conformance class.

The xdas_close_audit_stream() function closes the audit stream, previously opened for reading, specified by the audit_stream_ref handle.

Once an audit stream is closed, using any copy of the handle that refers to that audit stream, that audit stream is no longer valid for use in any XDAS function call.

An implementation may reclaim any storage associated with an audit stream when that audit stream is closed.

The caller must possess the XDAS_AUDIT_READ authority.

If successful, the function returns [XDAS_S_COMPLETE]

The arguments for xdas_close_audit_stream() are:

minor_status (out)

An implementation specific return status that provides additional information when [XDAS_S_FAILURE] is returned by the function.

das_ref (in)

Handle to the audit service obtained from a previous call to xdas_initialize_session().

audit_stream_ref (in)

Handle to the audit stream reference which is to be closed.


The following XDAS status codes shall be returned:


The caller does not possess the required authority.


Successful completion.


An implementation specific error or failure has occurred.


The specified audit stream is not valid.


The handle to the audit service is not valid.


No other errors are defined.

[??] Some characters or strings that appear in the printed document are not easily representable using HTML.

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index