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

Passing Parameters to SAF

All server application functions have the following syntax:

int function(pblock *pb, Session *sn, Request *rq);

Where, pb is the parameter block with the parameters given by the site administrator for this function invocation. This parameter should be considered read-only, and any data modification should be performed on copies of the data. Doing otherwise is unsafe in threaded server architectures, and yields unpredictable results in multi-process server architectures.