Lines Matching refs:ondest
36 isc_ondestroy_init(isc_ondestroy_t *ondest) {
37 ondest->magic = ONDESTROY_MAGIC;
38 ISC_LIST_INIT(ondest->events);
42 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task,
48 REQUIRE(VALID_ONDESTROY(ondest));
60 ISC_LIST_APPEND(ondest->events, theevent, ev_link);
66 isc_ondestroy_notify(isc_ondestroy_t *ondest, void *sender) {
70 REQUIRE(VALID_ONDESTROY(ondest));
72 eventp = ISC_LIST_HEAD(ondest->events);
74 ISC_LIST_UNLINK(ondest->events, eventp, ev_link);
81 eventp = ISC_LIST_HEAD(ondest->events);