Sun Java System Access Manager 7 2005Q4 C API Reference

am_web_http_decode()

URL decodes the given URL encoded string.

Syntax

#include "am_web.h"
AM_WEB_EXPORT char *
am_web_http_decode(const char *string, size_t len);

Parameters

This function takes the following parameters:

string

The URL encoded string.

len

Length of the string.

Returns

This function returns the URL decoded value of the URL encoded string, or NULL if any error occurred.

The returned value should be freed by calling am_web_free().