summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/sanboot.h
blob: d27452cb6eded100e998d580ba93a737c884883b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _IPXE_SANBOOT_H
#define _IPXE_SANBOOT_H

FILE_LICENCE ( GPL2_OR_LATER );

#include <ipxe/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 /* _IPXE_SANBOOT_H */