Sun Java System Access Manager 7 2005Q4 C API Reference

am_web_init()

Initializes the Agent Toolkit.

Syntax

#include "am_web.h"
AM_WEB_EXPORT am_status_t
am_web_init(const char *config_file);

Parameters

This function takes the following parameter:

config_file

Path to the agent configuration file, for example, /etc/opt/AMAgent.properties .

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If the call was successful.

AM_*

If any error occurs, the type of error indicated by the status value.