For internal use only.
This file contains the implementation of the _ev_gen_lookup() function, used to look up the ev_gendesc_t describing a given generator.
Definition in file _ev_gen_lookup.c.
#include "event_int.h"
Include dependency graph for _ev_gen_lookup.c:
Go to the source code of this file.
Functions | |
ev_err_t | _ev_gen_lookup (ev_ctx_t *ctx, unsigned int gentype, ev_gendesc_t **gen) |
Look up an ev_gendesc_t for a given generator. |
|
For internal use only.
This function looks up the ev_gendesc_t describing the generator
Definition at line 33 of file _ev_gen_lookup.c. References _ev_ctx_s::ec_gens, _ev_ctx_s::ec_maxgen, ev_init, ev_return, _ev_gens_s::gs_count, _ev_gens_s::gs_first, _ev_gens_s::gs_gens, and _ev_gens_s::gs_next. Referenced by event_gen_alloc(), event_gen_release(), and main(). |