Sun Java System Web Server 6.1 SP6 NSAPI Programmer's Guide

pblock_find

The pblock_find function finds a specified name-value pair entry in a pblock, and returns the pb_param structure. If you only want the value associated with the name, use the pblock_findval function.

This function is implemented as a macro.

Syntax

pb_param *pblock_find(char *name, pblock *pb);

Returns

A pointer to the pb_param structure if one was found, or NULL if name was not found.

Parameters

char *name is the name of a name-value pair.

pblock *pb is the pblock to be searched.

See Also

pblock_copy, pblock_dup, pblock_findval, pblock_free, pblock_nvinsert, pblock_remove