![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 177](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653177.webp)
NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
177
Parameters
char *path
is the string containing the name of the path. If the value of
path
is
NULL, the function uses the
path
entry in the
vars
pblock in the Request structure
denoted by
rq
.
Request *rq
is the request identifier for a server application function call.
Example
fi = request_stat_path(path, rq);
See also
request_create, request_free, request_header
request_translate_uri
The
request_translate_uri
function performs virtual to physical mapping on a
specified URI during a specified session. Use this function when you want to
determine which file would be sent back if a given URI is accessed.
Syntax
char *request_translate_uri(char *uri, Session *sn);
Returns
A path string, if it performed the mapping or NULL if it could not perform the
mapping
Parameters
char *uri
is the name of the URI.
Session *sn
is the
Session
parameter that is passed into your SAF.
See also
request_create, request_free, request_header
S
session_dns
The
session_dns
function resolves the IP address of the client associated with a
specified session into its DNS name. It returns a newly allocated string. You can
use
session_dns
to change the numeric IP address into something more readable.
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...