Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual page 330

Nsapi
Table of Contents

Advertisement

PRUint32 hlen
PRUint32 flen
PRIntervalTime timeout
PRUint32 flags
Request *rq
Session *sn
Flags
DR_NONE
DrHdl
DR_FORCE
DR_CHECK
provided a refresh function and this flag is not used,
DR_IGNORE
expired.
DR_CNTLEN
PROTOCOL_START_RESPONSE
DR_PROTO
Example
if(dr_net_write(Dr, szFileName, iLenK, NULL, NULL, 0, 0, 0,
DR_CNTLEN | DR_PROTO, rq, sn) == IO_ERROR)
{
return(REQ_EXIT);
}
fc_net_write
The
fc_net_write
exists somewhere in the system. The
file.
Syntax
PRInt32 fc_net_write(const char *fileName, const char *hdr, const
char *ftr, PRUint32 hlen, PRUint32 flen, PRUint32 flags,
PRIntervalTime timeout, Session *sn, Request *rq);
330
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
is the length of the header data in bytes (which can be
is the length of the footer data in bytes (which can be
is ORed directives for this function (see Flags).
is a pointer to the request.
is a pointer to the session.
specifies that no cache is used, so the function works as
can be NULL.
forces the cache to refresh even if it has not expired.
returns
DR_EXPIR
ignores cache expiration and sends out the cache entry even if it has
supplies the Content-length header and does a
does a
PROTOCOL_START_RESPONSE
function is used to send a header and/or footer and a file that
is the timeout before this function aborts.
if the cache has expired. If the calling function has not
.
.
should be the full path name of a
fileName
).
0
).
0
net_write
is returned.
DR_ERROR
does;

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents