Realloc - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NSAPI Functions (in Alphabetical Order)
The
protocol_uri2url_dynamic
function but should be used whenever the
available. This ensures that the URL that it constructs refers to the host that the
client specified.
Syntax
char *protocol_uri2url(char *prefix, char *suffix, Session *sn,
Request *rq);
Returns
A new string containing the URL
Parameters
char *prefix
char *suffix
Session *sn
Request *rq
The
Session
SAF.
See also
protocol_start_response, protocol_status, protocol_uri2url
R

REALLOC

The
REALLOC
realloc
created by
unchanged up to the lesser of the old and new sizes. If the new size is larger, the
new space is uninitialized.
Warning
Calling
PERM_STRDUP
Syntax
void *REALLOC(void *ptr, int size);
170
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
is the prefix.
is the suffix.
is the Session.
is the Request.
and
parameters are the same as the ones passed into your
Request
macro is a platform-independent substitute for the C library routine
. It changes the size of a specified memory block that was originally
,
, or
MALLOC
CALLOC
for a block that was allocated with
REALLOC
will not work.
function is similar to the
Session
. The contents of the object remains
STRDUP
PERM_MALLOC
protocol_uri2url
and
structures are
Request
,
PERM_CALLOC
, or

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents