SIP Express Router v0.8.8 - Developer's Guide | ||
---|---|---|
<<< Previous | The Module Interface | Next >>> |
This section describes how to find an exported function.
If you need to find exported function with given name and number of parameters, find_export function is what you need. The function is defined in sr_module.c file. The function accepts two parameters:
name - Name of function to be found.
param_no - Number of parameters of the function.
The function will search throught list of all loaded modules and in each module through array of all exported functions until it finds function with given name and number of parameters. If such exported function was found, find_exported will return pointer to the function, otherwise zero will be returned.
<<< Previous | Home | Next >>> |
Module Configuration | Up | Additional Functions |