The following table describes flags for dr_net_write.
Table 11–4 Flags for dr_net_write
Flag |
Description |
---|---|
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. |