freebsd-nq/usr.bin/doscmd/callback.h

14 lines
353 B
C
Raw Normal View History

/*
** No copyright?!
**
1999-08-28 01:08:13 +00:00
** $FreeBSD$
*/
typedef void (*callback_t)(regcontext_t *);
void register_callback(u_long, callback_t, const char *);
callback_t find_callback(u_long);
u_long insert_generic_trampoline(size_t, u_char *);
u_long insert_softint_trampoline(void);
u_long insert_hardint_trampoline(void);
u_long insert_null_trampoline(void);