Lines Matching refs:ondest
27 isc_ondestroy_init(isc_ondestroy_t *ondest) {
28 ondest->magic = ONDESTROY_MAGIC;
29 ISC_LIST_INIT(ondest->events);
33 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task,
39 REQUIRE(VALID_ONDESTROY(ondest));
51 ISC_LIST_APPEND(ondest->events, theevent, ev_link);
57 isc_ondestroy_notify(isc_ondestroy_t *ondest, void *sender) {
61 REQUIRE(VALID_ONDESTROY(ondest));
63 eventp = ISC_LIST_HEAD(ondest->events);
65 ISC_LIST_UNLINK(ondest->events, eventp, ev_link);
72 eventp = ISC_LIST_HEAD(ondest->events);