Request_Get_Vs; Request_Header - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Returns
A pointer to the new space if the request could be satisfied.
Parameters
is a (void *) pointer to a block of memory. If the pointer is not one
void *ptr
created by
MALLOC, CALLOC,
is the number of bytes to allocate.
int size
Example
char *name;
name = (char *) MALLOC(256);
if (NotBigEnough())
name = (char *) REALLOC(512);
See also
MALLOC, FREE, STRDUP, CALLOC, PERM_MALLOC, PERM_FREE, PERM_REALLOC,
PERM_CALLOC, PERM_STRDUP

request_get_vs

The
request_get_vs
directed.
The returned
VirtualServer*
virtual server ID that is valid across requests, use
Syntax
const VirtualServer* request_get_vs(Request* rq);
Returns
The
VirtualServer*
Parameters
is the request for which the
Request *rq
See also
vs_get_id

request_header

The
request_header
HTTP request headers (
when accessing the client headers since the server may begin
pblock_findval
processing the request before the headers have been completely read.
or
, the behavior is undefined.
STRDUP
function finds the
VirtualServer*
is valid only for the current request. To retrieve a
to which the request is directed.
VirtualServer*
function finds an entry in the
). You must use this function rather than
rq->headers
NSAPI Functions (in Alphabetical Order)
to which a request is
.
vs_get_id
is returned.
containing the client's
pblock
Chapter 5
NSAPI Function Reference
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents