Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers

am_log_flush_remote_log()

Flushes all the log records in the OpenSSO Enterprise log buffer.

Syntax

#include "am_log.h"
AM_EXPORT am_status_t
am_log_flush_remote_log();

Parameters

This function takes no parameters:

Returns

This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):

AM_SUCCESS

If the flush was successful.

AM_*

The appropriate code based on the error.