Sun Java System Web Server 7.0 NSAPI Developer's Guide

pblock_find

The pblock_find macro 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.


Note –

Parameter names are case-sensitive. By convention, lowercase names are used for parameters that correspond to HTTP header fields.


Syntax

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

Returns

A pointer to the pb_param structure if found, or NULL if name is 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