Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

param_free

The param_free function frees the pb_param structure specified by pp and its associated structures. Use the param_free function to dispose a pb_param after removing it from a pblock with pblock_remove.

Syntax

int param_free(pb_param *pp);

Returns

1 if the parameter was freed or 0 if the parameter was NULL.

Parameters

pb_param *pp is the name-value pair stored in a pblock.

Example

if (param_free(pblock_remove("content-type", rq-srvhdrs))) return; 
	/* we removed it */

See Also

param_create, pblock_pinsert, pblock_remove