sanboot.h
Go to the documentation of this file.00001 #ifndef _GPXE_SANBOOT_H
00002 #define _GPXE_SANBOOT_H
00003
00004 FILE_LICENCE ( GPL2_OR_LATER );
00005
00006 #include <gpxe/tables.h>
00007
00008 struct sanboot_protocol {
00009 const char *prefix;
00010 int ( * boot ) ( const char *root_path );
00011 };
00012
00013 #define SANBOOT_PROTOCOLS \
00014 __table ( struct sanboot_protocol, "sanboot_protocols" )
00015
00016 #define __sanboot_protocol __table_entry ( SANBOOT_PROTOCOLS, 01 )
00017
00018 extern int keep_san ( void );
00019
00020 #endif