![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 174](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653174.webp)
NSAPI Functions (in Alphabetical Order)
174
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
The
protocol_uri2url_dynamic
function is similar to the
protocol_uri2url
function but should be used whenever the
Session
and
Request
structures are
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
is the prefix.
char *suffix
is the suffix.
Session *sn
is the Session.
Request *rq
is the Request.
The
Session
and
Request
parameters are the same as the ones passed into your
SAF.
See also
protocol_start_response, protocol_status, protocol_uri2url
R
REALLOC
The
REALLOC
macro is a platform-independent substitute for the C library routine
realloc
. It changes the size of a specified memory block that was originally
created by
MALLOC
,
CALLOC
, or
STRDUP
. The contents of the object remains
unchanged up to the lesser of the old and new sizes. If the new size is larger, the
new space is uninitialized.
Warning
Calling
REALLOC
for a block that was allocated with
PERM_MALLOC
,
PERM_CALLOC
, or
PERM_STRDUP
will not work.
Syntax
void *REALLOC(void *ptr, int size);
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...