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

Flags

This section describes the flags for dr_net_write function.

DR_NONE

Specifies that no cache is used, so the function works as net_write does, DrHdl can be NULL.

DR_FORCE

Forces the cache to refresh, even if it has not expired.

DR_CHECK

Returns DR_EXPIR if the cache has expired. If the calling function has not provided a refresh function and this flag is not used, DR_ERROR is returned.

DR_IGNORE

Ignores cache expiration and sends out the cache entry even if it has expired.

DR_CNTLEN

Supplies the Content-Length header and does a PROTOCOL_START_RESPONSE.

DR_PROTO

Does a PROTOCOL_START_RESPONSE.