Searched refs:eonce (Results 1 – 1 of 1) sorted by relevance
/external/libevent/ |
D | event.c | 1671 struct event_once *eonce = arg; in event_once_cb() local 1673 (*eonce->cb)(fd, events, eonce->arg); in event_once_cb() 1674 event_debug_unassign(&eonce->ev); in event_once_cb() 1675 mm_free(eonce); in event_once_cb() 1693 struct event_once *eonce; in event_base_once() local 1702 if ((eonce = mm_calloc(1, sizeof(struct event_once))) == NULL) in event_base_once() 1705 eonce->cb = callback; in event_base_once() 1706 eonce->arg = arg; in event_base_once() 1714 evtimer_assign(&eonce->ev, base, event_once_cb, eonce); in event_base_once() 1718 event_assign(&eonce->ev, base, fd, events, event_once_cb, eonce); in event_base_once() [all …]
|