summaryrefslogtreecommitdiffstats
path: root/debian/grub-extras/disabled/gpxe/src/include/gpxe/sanboot.h
blob: 6ec2ec24b1d576b277604639653853a969ed9bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _GPXE_SANBOOT_H
#define _GPXE_SANBOOT_H

FILE_LICENCE ( GPL2_OR_LATER );

#include <gpxe/tables.h>

struct sanboot_protocol {
	const char *prefix;
	int ( * boot ) ( const char *root_path );
};

#define SANBOOT_PROTOCOLS \
	__table ( struct sanboot_protocol, "sanboot_protocols" )

#define __sanboot_protocol __table_entry ( SANBOOT_PROTOCOLS, 01 )

#endif /* _GPXE_SANBOOT_H */