1 #ifndef _GPXE_SANBOOT_H 2 #define _GPXE_SANBOOT_H 3 4 FILE_LICENCE ( GPL2_OR_LATER ); 5 6 #include <gpxe/tables.h> 7 8 struct sanboot_protocol { 9 const char *prefix; 10 int ( * boot ) ( const char *root_path ); 11 }; 12 13 #define SANBOOT_PROTOCOLS \ 14 __table ( struct sanboot_protocol, "sanboot_protocols" ) 15 16 #define __sanboot_protocol __table_entry ( SANBOOT_PROTOCOLS, 01 ) 17 18 extern int keep_san ( void ); 19 20 #endif /* _GPXE_SANBOOT_H */ 21