52 #define UB_EV_TIMEOUT 0x01 54 #define UB_EV_READ 0x02 56 #define UB_EV_WRITE 0x04 58 #define UB_EV_SIGNAL 0x08 60 #define UB_EV_PERSIST 0x10 89 int fd,
short bits,
void (*cb)(
int,
short,
void*),
void* arg);
92 void (*cb)(
int,
short,
void*),
void* arg);
95 void* wsaevent,
void (*cb)(
int,
short,
void*),
void* arg);
111 void (*cb)(
int,
short,
void*),
void* arg,
struct timeval*);
void ub_comm_base_now(struct comm_base *cb)
void ub_event_base_free(struct ub_event_base *)
const char * ub_event_get_version(void)
int ub_timer_add(struct ub_event *, struct ub_event_base *, void(*cb)(int, short, void *), void *arg, struct timeval *)
int ub_timer_del(struct ub_event *)
int ub_event_del(struct ub_event *)
int ub_event_base_dispatch(struct ub_event_base *)
struct ub_event * ub_signal_new(struct ub_event_base *, int fd, void(*cb)(int, short, void *), void *arg)
void ub_event_del_bits(struct ub_event *, short bits)
int ub_event_base_loopexit(struct ub_event_base *)
struct event_base * ub_libevent_get_event_base(struct ub_event_base *)
struct ub_event * ub_winsock_register_wsaevent(struct ub_event_base *, void *wsaevent, void(*cb)(int, short, void *), void *arg)
int ub_event_add(struct ub_event *, struct timeval *)
struct ub_event_base * ub_libevent_event_base(struct event_base *)
struct ub_event_base * ub_default_event_base(int, time_t *, struct timeval *)
void ub_event_set_fd(struct ub_event *, int fd)
void ub_get_event_sys(struct ub_event_base *, const char **n, const char **s, const char **m)
int ub_signal_add(struct ub_event *, struct timeval *)
struct ub_event * ub_event_new(struct ub_event_base *, int fd, short bits, void(*cb)(int, short, void *), void *arg)
void ub_event_free(struct ub_event *)
void ub_winsock_tcp_wouldblock(struct ub_event *, int bits)
void ub_event_add_bits(struct ub_event *, short bits)
void ub_winsock_unregister_wsaevent(struct ub_event *ev)
int ub_signal_del(struct ub_event *)