Sun Java System Access Manager 7.1 C API Reference

am_log_record_set_loginfo_props()

Updates the specified log record with additional information.

Details

log_info is expected to have the information formatted as key/value pairs in a properties map. Delete the am_properties_t pointer only when finished with the SDK. See am_properties_t for more information.

Syntax

#include "am_log.h"
AM_EXPORT am_status_t
am_log_record_set_loginfo_props(am_log_record_t record,
                                am_properties_t log_info);

Parameters

This function takes the following parameters:

record

A log record pointer.

log_info

Pointer to the properties that contain the information to be set in the log record.

Returns

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