Sun Java System Access Manager 7 2005Q4 C API Reference

am_properties_store()

Stores the property information in the specified file.

Syntax

#include "am_properties.h"
AM_EXPORT am_status_t
am_properties_store(am_properties_t properties, const char *file_name);

Parameters

This function takes the following parameters:

properties

Handle to the properties object to be stored.

file_name

Name of the file in which to store the property information.

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If no error is detected.

AM_NSPR_ERROR

If there is a problem writing the properties to the file.

AM_INVALID_ARGUMENT

If properties or file_name is NULL or file_name points to an empty string.