Sun Java System Web Server 7.0 NSAPI Developer's Guide

pblock

The parameter block is the hash table that holds pb_entry structures. Its contents are transparent to most code. This data structure is frequently used in NSAPI; it provides the basic mechanism for packaging up parameters and values. There are many functions for creating and managing parameter blocks, and for extracting, adding, and deleting entries. See the functions whose names start with pblock_ in Chapter 5, NSAPI Function and Macro Reference. You do not need to write code that accesses pblock data fields directly.


typedef struct {
    int hsize;
    struct pb_entry **ht;
} pblock;

      

Note –

The pblock NSAPI data structure can not be used concurrently by multiple threads. It is an error to retain any reference to a pblock or its contents after processing of the current request is complete.