For internal use only.
This test engine module declares an engine_mod_init() which will handle the call to engine_register().
Definition in file engmodinit.c.
#include "engines_int.h"
Include dependency graph for engmodinit.c:

Go to the source code of this file.
Defines | |
| #define | ENGINE_MODULE |
Functions | |
| static ev_err_t | emi_init (ev_ctx_t *ctx, ev_engine_t *engine, ev_flags_t *eng_flags) |
| Test engine initialization callback. | |
| static ev_err_t | emi_poll (ev_ctx_t *ctx, ev_engine_t *engine, struct timeval *timeout) |
| Test engine poll callback. | |
| static ev_err_t | emi_sock (ev_ctx_t *ctx, ev_engine_t *engine, ev_sock_t *sock) |
| Test socket add/remove engine callback. | |
| static ev_err_t | emi_sockev (ev_ctx_t *ctx, ev_engine_t *engine, ev_sock_t *sock, ev_flags_t evs) |
| Test socket event set engine callback. | |
| static ev_err_t | emi_sig (ev_ctx_t *ctx, ev_engine_t *engine, ev_sig_t *sig) |
| Test signal add/remove engine callback. | |
| static ev_err_t | emi_tim (ev_ctx_t *ctx, ev_engine_t *engine, ev_tim_t *tim) |
| Test timer add/remove engine callback. | |
| ev_engine_t * | engine_mod_init (ev_ctx_t *ctx) |
| Engine module initialization function. | |
Variables | |
| static ev_engine_t | engine |
| Module engine descriptor. | |
|
|
Definition at line 166 of file engmodinit.c. |
|
||||||||||||||||
|
For internal use only. This routine is used to simulate an engine initialization callback. By calling engine_activate() and returning immediately, it convinces the library that it has initialized the components that the library requested.
Definition at line 50 of file engmodinit.c. References engine_activate(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
For internal use only. This dummy routine is needed only to make the engine structure legal. All it does is return 0.
Definition at line 71 of file engmodinit.c. |
|
||||||||||||||||
|
For internal use only. This dummy routine is needed only to make the engine structure legal. All it does is return 0.
Definition at line 127 of file engmodinit.c. |
|
||||||||||||||||
|
For internal use only. This dummy routine is needed only to make the engine structure legal. All it does is return 0.
Definition at line 89 of file engmodinit.c. |
|
||||||||||||||||||||
|
For internal use only. This dummy routine is needed only to make the engine structure legal. All it does is return 0.
Definition at line 109 of file engmodinit.c. |
|
||||||||||||||||
|
For internal use only. This dummy routine is needed only to make the engine structure legal. All it does is return 0.
Definition at line 146 of file engmodinit.c. |
|
|
For internal use only. This is the descriptor of the module's engine, which will be passed by engine_mod_init() to engine_register(). Definition at line 157 of file engmodinit.c. Referenced by main(). |
1.4.4