summaryrefslogtreecommitdiff
path: root/gpxe/src/include/gpxe/sanboot.h
blob: fd063164ca1e474112ae713ecddc2a873232d246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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 )

extern int keep_san ( void );

#endif /* _GPXE_SANBOOT_H */