Sun Java System Web Server 7.0 Update 3 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.


int param_free(pb_param *pp);

Return Values

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


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


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

See Also

param_create() Function, pblock_pinsert() Function, pblock_remove() Function