Call [process|thread] [init|finish] functions of modules
The process initialization function was also renamed from init to process_init.
This commit is contained in:
@ -120,13 +120,13 @@ typedef struct mxs_module
|
||||
*
|
||||
* @return 0 on success, non-zero on failure.
|
||||
*/
|
||||
int (*init)();
|
||||
int (*process_init)();
|
||||
|
||||
/**
|
||||
* If non-NULL, this function is called once at process shutdown, provided
|
||||
* the call to @c init succeeded.
|
||||
*/
|
||||
void (*finish)();
|
||||
void (*process_finish)();
|
||||
|
||||
/**
|
||||
* If non-NULL, this function is called once at the startup of every new thread.
|
||||
|
Reference in New Issue
Block a user