1 #ifndef BOOT_H_ 2 #define BOOT_H_ 3 4 #include <sys/types.h> 5 6 typedef void (*boot_entry_t)(int, int, int (*)(void *), void *, u_int); 7 8 void main(void); 9 10 #define MAXBOOTPATHLEN 256 11 extern char bootdev[MAXBOOTPATHLEN]; 12 extern bool floppyboot; 13 14 #ifdef HAVE_CHANGEDISK_HOOK 15 struct open_file; 16 17 void changedisk_hook(struct open_file *of); 18 #endif 19 20 void freeall(void); 21 22 #endif /* BOOT_H_ */ 23