Sun Java System Web Server 7.0 Update 3 NSAPI Developer's Guide

pblock_create() Function

The pblock_create function creates a new pblock. The pblock maintains an internal hash table for fast name-value pair lookups. Because the pblock is allocated from the request's memory pool, it should not be shared between threads.


pblock *pblock_create(int n);

Return Values

A pointer to a newly allocated pblock.


int n is the size of the hash table (the number of name-value pairs) for the pblock.

See Also

pblock_copy() Function, pblock_dup() Function, pblock_find() Function, pblock_findval() Function, pblock_free() Function, pblock_nvinsert() Function, pblock_remove() Function