Lines Matching full:event_base
85 /** Structure to define the backend of a given event_base. */
89 /** Function to set up an event_base to use this backend. It should
92 * stored by event_init into the event_base.evbase field. On failure,
94 void *(*init)(struct event_base *);
103 int (*add)(struct event_base *, evutil_socket_t fd, short old, short events, void *fdinfo);
105 int (*del)(struct event_base *, evutil_socket_t fd, short old, short events, void *fdinfo);
111 int (*dispatch)(struct event_base *, struct timeval *);
112 /** Function to clean up and free our data from the event_base. */
113 void (*dealloc)(struct event_base *);
172 /* The event_base that this timeout list is part of */
173 struct event_base *base;
208 struct event_base {
209 /** Function pointers and other data to describe this event_base's
219 /** Function pointers used to describe the backend that this event_base
229 /** Number of total events added to this event_base */
231 /** Maximum number of total events added to this event_base */
233 /** Number of total events active in this event_base */
235 /** Maximum number of total events active in this event_base */
306 /** A lock to prevent conflicting accesses to this event_base */
340 int (*th_notify_fn)(struct event_base *base);
357 /** Internal structure: describes the configuration we want for an event_base
400 int evsig_set_handler_(struct event_base *base, int evsignal,
402 int evsig_restore_handler_(struct event_base *base, int evsignal);
424 int event_callback_activate_(struct event_base *, struct event_callback *);
425 int event_callback_activate_nolock_(struct event_base *, struct event_callback *);
426 int event_callback_cancel_(struct event_base *base,
429 void event_callback_finalize_nolock_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct event_callback *, void *));
430 void event_callback_finalize_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct event_callback *, void *));
431 int event_callback_finalize_many_(struct event_base *base, int n_cbs, struct event_callback **evcb, void (*cb)(struct event_callback *, void *));
436 int event_callback_activate_later_nolock_(struct event_base *base,
438 int event_callback_cancel_nolock_(struct event_base *base,
440 void event_callback_init_(struct event_base *base,
444 void event_base_add_virtual_(struct event_base *base);
445 void event_base_del_virtual_(struct event_base *base);
453 void event_base_assert_ok_(struct event_base *base);
454 void event_base_assert_ok_nolock_(struct event_base *base);
458 * the event_base 'base'.
465 int event_base_foreach_event_nolock_(struct event_base *base,