Oracle iPlanet Web Server 7.0.9 NSAPI Developer's Guide

param_free() Function

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);

Return Values

1 if the parameter is freed or 0 if the parameter is 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() Function, pblock_pinsert() Function, pblock_remove() Function