DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

xdas_terminate_session(XDAS)


xdas_terminate_session -- terminate a session with the distributed audit service

Synopsis

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

OM_uint32 das_terminate_session( OM_uint32 *minor_status, const xdas_audit_ref_t *das_ref);

Description

The xdas_terminate_session(XDAS) function is a member of the Basic XDAS Conformance class.

xdas_terminate_session(XDAS) closes a session between the caller and the distributed audit service.

The caller must have the XDAS_AUDIT_SERVICE 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).

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.

References

xdas_initialise_session(XDAS), xdas_terminate_session(DXDAS)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005