Protocol_Dump822; Protocol_Set_Finfo - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NSAPI Functions (in Alphabetical Order)

protocol_dump822

The
specific buffer, with a specified size and position. Use this function to serialize the
headers so that they can be sent, for example, in a mail message.
Syntax
char *protocol_dump822(pblock *pb, char *t, int *pos, int tsz);
Returns
A pointer to the buffer, which will be reallocated if necessary.
The function also modifies *
Parameters
pblock *pb
char *t
int *pos
int tsz
See also
protocol_start_response, protocol_status

protocol_set_finfo

The
last-modified
response headers (
protocol_start_response
Syntax
int protocol_set_finfo(Session *sn, Request *rq, struct stat
*finfo);
Returns
The constant
REQ_ABORTED
output to the client
Parameters
Session *sn
Request *rq
166
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
function prints headers from a specified
protocol_dump822
is the
pblock
is the buffer, allocated with
is the position within the buffer at which the headers are to be dumped.
is the size of the buffer.
protocol_set_finfo
date from a specified
rq->srvhdrs
REQ_PROCEED
if the function should treat the request normally, but not send any
is the Session.
is the Request.
to the end of the headers in the buffer.
pos
structure.
,
MALLOC
CALLOC
function retrieves the
structure and adds them to the
stat
). Call
protocol_set_finfo
.
if the request can proceed normally or the constant
pblock
, or
.
STRDUP
and
content-length
before calling
into a

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents