diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-02 22:41:00 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-02 22:41:00 -0800 |
commit | 702c7fbe7342403472e887508716add0c58c385c (patch) | |
tree | 639050b522cea25f4475d48da54380d61c7d10f3 /gpxe/src/include/gpxe/sanboot.h | |
parent | 1e96e9cc1c3549c86dbf4e7caf880477e16e93e0 (diff) | |
download | syslinux-702c7fbe7342403472e887508716add0c58c385c.tar.gz |
Update gPXE to version 1.0.0
Diffstat (limited to 'gpxe/src/include/gpxe/sanboot.h')
-rw-r--r-- | gpxe/src/include/gpxe/sanboot.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gpxe/src/include/gpxe/sanboot.h b/gpxe/src/include/gpxe/sanboot.h index ea26a356..fd063164 100644 --- a/gpxe/src/include/gpxe/sanboot.h +++ b/gpxe/src/include/gpxe/sanboot.h @@ -1,6 +1,8 @@ #ifndef _GPXE_SANBOOT_H #define _GPXE_SANBOOT_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/tables.h> struct sanboot_protocol { @@ -8,7 +10,11 @@ struct sanboot_protocol { int ( * boot ) ( const char *root_path ); }; -#define __sanboot_protocol \ - __table ( struct sanboot_protocol, sanboot_protocols, 01 ) +#define SANBOOT_PROTOCOLS \ + __table ( struct sanboot_protocol, "sanboot_protocols" ) + +#define __sanboot_protocol __table_entry ( SANBOOT_PROTOCOLS, 01 ) + +extern int keep_san ( void ); #endif /* _GPXE_SANBOOT_H */ |