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

am_web_get_cookie_sync_func_t

Synchronizes two cookies.

Details

Currently, this is a dummy function. Do not use.

Syntax

#include "am_web.h"
typedef am_status_t (*am_web_get_cookie_sync_func_t)(
                                const char *cookieName,
                                char **dproCookie,
                                void **args); 

Parameters

This function takes the following parameter:

cookieName

Pointer to the cookie with which the OpenSSO Enterprise cookie will be synchronized.

dproCookie

Pointer to a pointer to the OpenSSO Enterprise cookie.

args

Pointer to a pointer to agent defined 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 data was successfully freed.

Warning

If not successfully freed, the status will be logged as a warning but ignored.