![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 211](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653211.webp)
NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
211
See also
vs_register_cb
,
request_get_vs
vs_get_mime_type
The
vs_get_mime_type
function determines the MIME type that would be
returned in the
Content-type:
header for the given URI.
The caller should FREE the returned string when done with it.
Syntax
char* vs_get_mime_type(const VirtualServer* vs, const char* uri);
Returns
A pointer to a string representing the MIME type. It is the caller's responsibility to
FREE this string.
Parameters
const VirtualServer* vs
represents the virtual server of interest.
const char* uri
is the URI whose MIME type is of interest.
vs_lookup_config_var
The
vs_lookup_config_var
function finds the value of a configuration variable
for a given virtual server.
Do not FREE the returned string.
Syntax
const char* vs_lookup_config_var(const VirtualServer* vs, const
char* name);
Returns
A pointer to a string representing the value of variable name on success, or
NULL
if
variable name was not found. Do not FREE this string.
Parameters
const VirtualServer*
vs represents the virtual server of interest.
const char* name
is the name of the configuration variable.
Содержание 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...