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

Parameters

The following table describes parameters for the dr_net_write function.

Table 11–3 dr_net_write parameters

Parameter  

Description  

DrHdl hdl

Persistent handle created by the dr_cache_init function.

const char *key

Key to cache, search, or refresh. 

PRUint32 klen

Length of the key in bytes. 

const char *hdr

Any header data (which can be NULL). 

const char *ftr

Any footer data (which can be NULL). 

PRUint32 hlen

Length of the header data in bytes (which can be 0).

PRUint32 flen

Length of the footer data in bytes (which can be 0).

PRIntervalTime timeout

Timeout before this function aborts. 

PRUint32 flags

ORed directives for this function (see the Flags table, below). 

Request *rq

Pointer to the request. 

Session *sn

Pointer to the session.