kernel: Use hashdestroy() to free hash tables allocated with hashinit().
[dragonfly.git] / usr.bin / doscmd / callback.h
CommitLineData
984263bc
MD
1/*
2** No copyright?!
3**
4** $FreeBSD: src/usr.bin/doscmd/callback.h,v 1.2.2.1 2002/04/25 11:04:50 tg Exp $
1de703da 5** $DragonFly: src/usr.bin/doscmd/callback.h,v 1.2 2003/06/17 04:29:25 dillon Exp $
984263bc
MD
6*/
7typedef void (*callback_t)(regcontext_t *);
8
9void register_callback(u_long, callback_t, const char *);
10callback_t find_callback(u_long);
11u_long insert_generic_trampoline(size_t, u_char *);
12u_long insert_softint_trampoline(void);
13u_long insert_hardint_trampoline(void);
14u_long insert_null_trampoline(void);