SIP Express Router v0.8.8 - Developer's Guide | ||
---|---|---|
<<< Previous | The Module Interface | Next >>> |
There are several additional functions defined in file sr_module.c. There functions are mostly internal and shouldn't be used directly by user. We will shortly describe them here.
register_builtin_modules - Some modules might be linked statically with main executable, this is handy for debugging. This function will register all such modules upon server startup.
init_child - This function will call child-initialization function of all loaded modules. The function will be called by the server core immediately after the fork.
find_module - The function accepts pointer to an exported function and number of parameters as parameters and returns pointer to corresponding module that exported the function.
destroy_modules - The function will call destroy function of all loaded modules. This function will be called by the server core upon shut down.
init_modules - The function will call initialization function of all loaded modules. The function will be called by the server before the fork.
<<< Previous | Home | Next >>> |
Finding an Exported Function | Up | The Database Interface |