Home
last modified time | relevance | path

Searched refs:ondest (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ntp/libntp/lib/isc/
H A Dondestroy.c36 isc_ondestroy_init(isc_ondestroy_t *ondest) { in isc_ondestroy_init() argument
37 ondest->magic = ONDESTROY_MAGIC; in isc_ondestroy_init()
38 ISC_LIST_INIT(ondest->events); in isc_ondestroy_init()
42 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task, in isc_ondestroy_register() argument
48 REQUIRE(VALID_ONDESTROY(ondest)); in isc_ondestroy_register()
60 ISC_LIST_APPEND(ondest->events, theevent, ev_link); in isc_ondestroy_register()
66 isc_ondestroy_notify(isc_ondestroy_t *ondest, void *sender) { in isc_ondestroy_notify() argument
70 REQUIRE(VALID_ONDESTROY(ondest)); in isc_ondestroy_notify()
72 eventp = ISC_LIST_HEAD(ondest->events); in isc_ondestroy_notify()
74 ISC_LIST_UNLINK(ondest->events, eventp, ev_link); in isc_ondestroy_notify()
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/
H A Dondestroy.h87 isc_ondestroy_init(isc_ondestroy_t *ondest);
94 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task,
104 isc_ondestroy_notify(isc_ondestroy_t *ondest, void *sender);