See also
MALLOC, CALLOC, REALLOC, STRDUP, PERM_MALLOC, PERM_FREE,
PERM_REALLOC, PERM_STRDUP
func_exec
The
function executes the function named by the
func_exec
. If the function name is not found, it logs the error and returns
pblock
.
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
function was executed.
Parameters
is the
pblock pb
pblock
is the Session.
Session *sn
is the Request.
Request *rq
The Session and Request parameters are the same as the ones passed into your
SAF.
See also
log_error
func_find
The
function returns a pointer to the function specified by
func_find
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.
.
containing the function name (fn) and parameters.
NSAPI Functions (in Alphabetical Order)
entry in a specified
fn
REQ_ABORTED
Chapter 5
NSAPI Function Reference
if no
. If the
name
147