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);
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...