/** Add an IO event (some combination of EV_READ or EV_WRITE) to an event_base'slistofeventsonagivenfiledescriptor,andtellthe underlyingeventopsaboutthefdifitsstatehaschanged.
Requiresthatevisnotalreadyadded.
@parambasetheevent_basetooperateon. @paramfdthefiledescriptorcorrespondingtoev. @paramevtheeventtoadd.
*/ int evmap_io_add_(struct event_base *base, evutil_socket_t fd, struct event *ev); /** Remove an IO event (some combination of EV_READ or EV_WRITE) to an event_base'slistofeventsonagivenfiledescriptor,andtellthe underlyingeventopsaboutthefdifitsstatehaschanged.
@parambasetheevent_basetooperateon. @paramfdthefiledescriptorcorrespondingtoev. @paramevtheeventtoremove.
*/ int evmap_io_del_(struct event_base *base, evutil_socket_t fd, struct event *ev); /** Active the set of events waiting on an event_base for a given fd.
/* These functions behave in the same way as evmap_io_*, except they work on *signalsratherthanfds.signalsusealinearmapeverywhere;fdsuse
* either a linear map or a hashtable. */ int evmap_signal_add_(struct event_base *base, int signum, struct event *ev); int evmap_signal_del_(struct event_base *base, int signum, struct event *ev); void evmap_signal_active_(struct event_base *base, evutil_socket_t signum, int ncalls);
/* Return the fdinfo object associated with a given fd. If the fd has no *eventsassociatedwithit,theresultmaybeNULL.
*/ void *evmap_io_get_fdinfo_(struct event_io_map *ctx, evutil_socket_t fd);
/* Helper for event_reinit(): Tell the backend to re-add every fd and signal *forwhichwehaveapendingevent.
*/ int evmap_reinit_(struct event_base *base);
/* Helper for event_base_free(): Call event_del() on every pending fd and *signalevent.
*/ void evmap_delete_all_(struct event_base *base);
/* Helper for event_base_assert_ok_(): Check referential integrity of the *evmaps.
*/ void evmap_check_integrity_(struct event_base *base);
/* Helper: Call fn on every fd or signal event, passing as its arguments the *providedevent_base,theevent,andarg.Iffnreturns0,processthenext *event.Ifitreturnsanyothervalue,returnthatvalueandprocessno *moreevents.
*/ int evmap_foreach_event_(struct event_base *base,
event_base_foreach_event_cb fn, void *arg);
#endif/* EVMAP_INTERNAL_H_INCLUDED_ */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.