NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
151
See also
MALLOC, CALLOC, REALLOC, STRDUP, PERM_MALLOC, PERM_FREE,
PERM_REALLOC, PERM_STRDUP
func_exec
The
func_exec
function executes the function named by the
fn
entry in a specified
pblock
. If the function name is not found, it logs the error and returns
REQ_ABORTED
.
You can use this function to execute a built-in server application function (SAF) by
identifying it in the
pblock
.
Syntax
int func_exec(pblock *pb, Session *sn, Request *rq);
Returns
The value returned by the executed function or the constant
REQ_ABORTED
if no
function was executed.
Parameters
pblock pb
is the
pblock
containing the function name (fn) and parameters.
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
log_error
func_find
The
func_find
function returns a pointer to the function specified by
name
. If the
function does not exist, it returns NULL.
Syntax
FuncPtr func_find(char *name);
Returns
A pointer to the chosen function, suitable for dereferencing or NULL if the function
could not be found.
Содержание 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...