![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 152](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653152.webp)
NSAPI Functions (in Alphabetical Order)
152
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
Parameters
char *name
is the name of the function.
Example
/* this block of code does the same thing as func_exec */
char *afunc = pblock_findval("afunction", pb);
FuncPtr afnptr = func_find(afunc);
if (afnptr)
return (afnptr)(pb, sn, rq);
See also
func_exec
L
log_error
The
log_error
function creates an entry in an error log, recording the date, the
severity, and a specified text.
Syntax
int log_error(int degree, char *func, Session *sn, Request *rq,
char *fmt, ...);
Returns
0 if the log entry was created or -1 if the log entry was not created.
Parameters
int degree
specifies the severity of the error. It must be one of the following
constants:
LOG_WARN
—warning
LOG_MISCONFIG
—a syntax error or permission violation
LOG_SECURITY
—an authentication failure or 403 error from a host
LOG_FAILURE
—an internal problem
LOG_CATASTROPHE
—a non-recoverable server error
LOG_INFORM
—an informational message
char *func
is the name of the function where the error has occurred.
Session *sn
is the Session.
Request *rq
is the Request.
Содержание 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...