For internal use only.
This test engine module declares an engine_module containing an engine descriptor.
Definition in file engmodule.c.
#include "engines_int.h"
Include dependency graph for engmodule.c:
Go to the source code of this file.
Defines | |
#define | ENGINE_MODULE |
Functions | |
static ev_err_t | em_init (ev_ctx_t *ctx, ev_engine_t *engine, ev_flags_t *eng_flags) |
Test engine initialization callback. | |
static ev_err_t | em_poll (ev_ctx_t *ctx, ev_engine_t *engine, struct timeval *timeout) |
Test engine poll callback. | |
static ev_err_t | em_sock (ev_ctx_t *ctx, ev_engine_t *engine, ev_sock_t *sock) |
Test socket add/remove engine callback. | |
static ev_err_t | em_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 | em_sig (ev_ctx_t *ctx, ev_engine_t *engine, ev_sig_t *sig) |
Test signal add/remove engine callback. | |
static ev_err_t | em_tim (ev_ctx_t *ctx, ev_engine_t *engine, ev_tim_t *tim) |
Test timer add/remove engine callback. | |
Variables | |
ev_engine_t | engine_module |
Engine module descriptor. |
|
Definition at line 151 of file engmodule.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 engmodule.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 engmodule.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 engmodule.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 engmodule.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 engmodule.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 engmodule.c. |